-- Table structure for table `cta_cte_cliente_pivot_receipt`
--

CREATE TABLE `cta_cte_cliente_pivot_receipt` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id` int(10) unsigned NOT NULL,
  `receipt_id` int(11) DEFAULT NULL,
  `importe` decimal(16,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=611 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_cliente_pivot_receipt`
--

INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1,7730,1,1,NULL,'2022-08-28 13:01:48','2022-08-28 13:04:51','2022-08-28 13:04:51'),(2,7730,2,1,NULL,'2022-08-28 13:04:51','2022-08-28 13:05:09','2022-08-28 13:05:09'),(3,7730,3,1,NULL,'2022-08-28 13:05:09','2022-08-28 13:13:02','2022-08-28 13:13:02'),(4,7730,4,1,NULL,'2022-08-28 13:13:02','2022-08-28 18:21:56','2022-08-28 18:21:56'),(5,7730,8,1,NULL,'2022-08-28 18:21:56','2022-08-28 18:21:56',NULL),(6,7730,9,2,NULL,'2022-08-28 20:41:57','2022-08-28 20:41:57',NULL),(7,7730,10,3,NULL,'2022-08-28 23:35:04','2022-09-02 04:23:51','2022-09-02 04:23:51'),(8,7730,13,4,NULL,'2022-08-29 00:23:21','2022-08-29 00:27:06','2022-08-29 00:27:06'),(9,7730,14,4,NULL,'2022-08-29 00:27:06','2022-09-02 04:24:05','2022-09-02 04:24:05'),(10,7730,16,5,NULL,'2022-08-29 00:44:09','2022-08-29 01:44:34','2022-08-29 01:44:34'),(11,7730,17,6,NULL,'2022-08-29 00:44:09','2022-08-29 00:44:09',NULL),(12,7730,18,7,NULL,'2022-08-29 00:44:09','2022-08-29 00:44:09',NULL),(13,7730,19,8,NULL,'2022-08-29 00:44:09','2022-08-29 00:56:54','2022-08-29 00:56:54'),(14,7730,20,9,NULL,'2022-08-29 00:44:09','2022-08-29 01:45:25','2022-08-29 01:45:25'),(15,7730,21,10,NULL,'2022-08-29 00:44:09','2022-08-29 00:53:15','2022-08-29 00:53:15'),(16,7730,22,10,NULL,'2022-08-29 00:53:15','2022-08-29 00:53:15',NULL),(17,7730,23,8,NULL,'2022-08-29 00:56:54','2022-08-29 01:26:01','2022-08-29 01:26:01'),(18,7730,24,11,NULL,'2022-08-29 01:12:29','2022-08-29 01:20:08','2022-08-29 01:20:08'),(19,7730,25,11,NULL,'2022-08-29 01:20:08','2022-08-29 01:20:08',NULL),(20,7730,26,8,NULL,'2022-08-29 01:26:01','2022-08-29 02:09:54','2022-08-29 02:09:54'),(21,7730,27,12,NULL,'2022-08-29 01:31:55','2022-08-29 01:31:55',NULL),(22,7730,28,13,NULL,'2022-08-29 01:37:02','2022-08-29 01:37:02',NULL),(23,7730,29,5,NULL,'2022-08-29 01:44:34','2022-08-29 01:44:34',NULL),(24,7730,30,9,NULL,'2022-08-29 01:45:25','2022-08-29 01:45:25',NULL),(25,7730,34,8,747.66,NULL,'2022-08-29 02:06:13','2022-08-29 02:06:13'),(26,7730,35,11,786.50,NULL,'2022-08-29 02:07:43','2022-08-29 02:07:43'),(27,7730,36,8,NULL,'2022-08-29 02:09:54','2022-08-29 02:09:54',NULL),(28,7730,37,8,747.66,NULL,'2022-09-02 02:02:41','2022-09-02 02:02:41'),(29,7730,38,11,786.50,NULL,'2022-09-02 02:50:52','2022-09-02 02:50:52'),(30,7730,39,12,989.41,NULL,'2022-08-29 02:15:06','2022-08-29 02:15:06'),(31,7730,40,12,989.41,NULL,'2022-09-02 02:54:54','2022-09-02 02:54:54'),(32,7730,41,14,NULL,'2022-09-01 14:28:33','2022-09-01 14:33:01','2022-09-01 14:33:01'),(33,7730,42,15,NULL,'2022-09-01 14:28:33','2022-09-01 14:43:32','2022-09-01 14:43:32'),(34,7730,43,16,NULL,'2022-09-01 14:28:33','2022-09-01 14:33:35','2022-09-01 14:33:35'),(35,7730,44,17,NULL,'2022-09-01 14:28:33','2022-09-01 14:34:12','2022-09-01 14:34:12'),(36,7730,45,18,NULL,'2022-09-01 14:28:34','2022-09-01 14:38:43','2022-09-01 14:38:43'),(37,7730,46,19,NULL,'2022-09-01 14:28:34','2022-09-01 14:40:17','2022-09-01 14:40:17'),(38,7730,47,20,NULL,'2022-09-01 14:28:34','2022-09-01 14:41:46','2022-09-01 14:41:46'),(39,7730,48,21,NULL,'2022-09-01 14:28:34','2022-09-01 14:42:46','2022-09-01 14:42:46'),(40,7730,49,14,NULL,'2022-09-01 14:33:01','2022-09-02 04:28:12','2022-09-02 04:28:12'),(41,7730,50,16,NULL,'2022-09-01 14:33:35','2022-09-01 14:37:19','2022-09-01 14:37:19'),(42,7730,51,17,NULL,'2022-09-01 14:34:12','2022-09-01 14:35:57','2022-09-01 14:35:57'),(43,7730,52,17,NULL,'2022-09-01 14:35:57','2022-09-02 04:29:26','2022-09-02 04:29:26'),(44,7730,53,16,NULL,'2022-09-01 14:37:19','2022-09-02 04:28:43','2022-09-02 04:28:43'),(45,7730,54,18,NULL,'2022-09-01 14:38:43','2022-09-02 04:29:38','2022-09-02 04:29:38'),(46,7730,55,19,NULL,'2022-09-01 14:40:17','2022-09-02 04:30:02','2022-09-02 04:30:02'),(47,7730,56,20,NULL,'2022-09-01 14:41:46','2022-09-02 04:30:20','2022-09-02 04:30:20'),(48,7730,57,21,NULL,'2022-09-01 14:42:46','2022-09-02 04:30:32','2022-09-02 04:30:32'),(49,7730,58,15,NULL,'2022-09-01 14:43:32','2022-09-02 04:28:27','2022-09-02 04:28:27');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (50,7730,60,18,219.00,NULL,'2022-09-01 18:32:07','2022-09-01 18:32:07'),(51,7730,61,14,5295.00,NULL,'2022-09-01 18:51:47','2022-09-01 18:51:47'),(52,7730,62,16,150.00,NULL,'2022-09-01 18:50:39','2022-09-01 18:50:39'),(53,7730,63,14,5295.00,NULL,'2022-09-02 04:26:39','2022-09-02 04:26:39'),(54,7730,64,16,150.00,NULL,'2022-09-01 19:27:11','2022-09-01 19:27:11'),(55,7730,65,18,219.00,NULL,'2022-09-02 04:26:35','2022-09-02 04:26:35'),(56,7730,66,16,150.00,NULL,'2022-09-02 04:26:43','2022-09-02 04:26:43'),(57,7730,67,17,150.00,NULL,'2022-09-01 19:32:44','2022-09-01 19:32:44'),(58,7730,68,17,150.00,NULL,'2022-09-02 04:26:47','2022-09-02 04:26:47'),(59,7730,69,19,219.00,NULL,'2022-09-02 04:26:50','2022-09-02 04:26:50'),(60,7730,70,20,1959.00,NULL,'2022-09-01 19:36:31','2022-09-01 19:36:31'),(61,7730,71,20,1959.00,NULL,'2022-09-02 04:26:54','2022-09-02 04:26:54'),(62,7730,72,15,11754.01,NULL,'2022-09-02 04:26:58','2022-09-02 04:26:58'),(63,7730,73,21,150.00,NULL,'2022-09-02 04:27:02','2022-09-02 04:27:02'),(64,7730,74,22,NULL,'2022-09-02 00:53:11','2022-09-02 00:56:28','2022-09-02 00:56:28'),(65,7730,75,22,NULL,'2022-09-02 00:56:28','2022-09-02 00:57:48','2022-09-02 00:57:48'),(66,7730,76,22,NULL,'2022-09-02 00:57:48','2022-09-02 00:58:14','2022-09-02 00:58:14'),(67,7730,77,22,NULL,'2022-09-02 00:58:14','2022-09-02 00:58:14',NULL),(68,7730,78,8,747.66,NULL,'2022-09-02 02:36:32','2022-09-02 02:36:32'),(69,7730,79,23,NULL,'2022-09-02 03:17:22','2022-09-02 03:17:22',NULL),(70,7730,80,3,NULL,'2022-09-02 04:23:51','2022-09-02 04:23:51',NULL),(71,7730,81,4,NULL,'2022-09-02 04:24:05','2022-09-02 04:24:05',NULL),(72,7730,82,14,NULL,'2022-09-02 04:28:12','2022-09-02 04:28:12',NULL),(73,7730,83,15,NULL,'2022-09-02 04:28:27','2022-09-04 02:29:11','2022-09-04 02:29:11'),(74,7730,84,16,NULL,'2022-09-02 04:28:43','2022-09-02 04:28:43',NULL),(75,7730,85,17,NULL,'2022-09-02 04:29:26','2022-09-02 04:29:26',NULL),(76,7730,86,18,NULL,'2022-09-02 04:29:38','2022-09-02 04:29:38',NULL),(77,7730,87,19,NULL,'2022-09-02 04:30:02','2022-09-02 04:30:02',NULL),(78,7730,88,20,NULL,'2022-09-02 04:30:20','2022-09-02 04:30:20',NULL),(79,7730,89,21,NULL,'2022-09-02 04:30:32','2022-09-04 02:28:54','2022-09-04 02:28:54'),(80,7730,90,24,NULL,'2022-09-02 04:44:36','2022-09-02 04:44:36',NULL),(81,NULL,91,24,5272.00,NULL,NULL,NULL),(82,NULL,92,4,4815.00,NULL,NULL,NULL),(83,7730,93,14,5295.00,NULL,'2022-09-02 05:10:29','2022-09-02 05:10:29'),(84,NULL,94,18,219.00,NULL,NULL,NULL),(85,7730,95,16,150.00,NULL,'2022-09-02 04:53:30','2022-09-02 04:53:30'),(86,NULL,96,16,150.00,NULL,NULL,NULL),(87,NULL,97,17,150.00,NULL,NULL,NULL),(88,NULL,98,19,219.00,NULL,NULL,NULL),(89,NULL,99,20,1959.00,NULL,NULL,NULL),(90,7730,100,15,11754.01,NULL,'2022-09-04 02:28:22','2022-09-04 02:28:22'),(91,7730,101,21,150.00,NULL,'2022-09-04 02:28:10','2022-09-04 02:28:10'),(92,NULL,102,14,5295.00,NULL,NULL,NULL),(93,NULL,103,22,1346.89,NULL,NULL,NULL),(94,7730,104,21,NULL,'2022-09-04 02:28:54','2022-09-04 02:28:54',NULL),(95,7730,105,15,NULL,'2022-09-04 02:29:11','2022-09-04 02:29:11',NULL),(96,NULL,106,15,11754.01,NULL,NULL,NULL),(97,NULL,107,21,150.00,NULL,NULL,NULL),(98,7730,108,25,NULL,'2022-09-04 03:29:55','2022-09-04 03:34:24','2022-09-04 03:34:24'),(99,7730,109,26,NULL,'2022-09-04 03:29:55','2022-09-04 03:37:12','2022-09-04 03:37:12'),(100,7730,110,27,NULL,'2022-09-04 03:29:56','2022-09-04 03:40:13','2022-09-04 03:40:13'),(101,7730,111,28,NULL,'2022-09-04 03:29:56','2022-09-04 03:45:21','2022-09-04 03:45:21'),(102,7730,112,29,NULL,'2022-09-04 03:29:56','2022-09-04 03:49:24','2022-09-04 03:49:24'),(103,7730,113,30,NULL,'2022-09-04 03:29:56','2022-09-04 03:47:43','2022-09-04 03:47:43'),(104,7730,114,31,NULL,'2022-09-04 03:29:56','2022-09-04 03:51:07','2022-09-04 03:51:07'),(105,7730,115,32,NULL,'2022-09-04 03:29:56','2022-09-04 03:53:01','2022-09-04 03:53:01'),(106,7730,116,33,NULL,'2022-09-04 03:29:56','2022-09-04 03:54:26','2022-09-04 03:54:26');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (107,7730,117,34,NULL,'2022-09-04 03:29:56','2022-09-04 03:29:56',NULL),(108,7730,118,35,NULL,'2022-09-04 03:29:56','2022-09-04 03:57:17','2022-09-04 03:57:17'),(109,7730,119,36,NULL,'2022-09-04 03:29:56','2022-09-04 04:18:26','2022-09-04 04:18:26'),(110,7730,120,37,NULL,'2022-09-04 03:29:56','2022-09-04 04:04:23','2022-09-04 04:04:23'),(111,7730,121,38,NULL,'2022-09-04 03:29:56','2022-09-04 04:06:04','2022-09-04 04:06:04'),(112,7730,122,39,NULL,'2022-09-04 03:29:56','2022-09-04 04:07:36','2022-09-04 04:07:36'),(113,7730,123,40,NULL,'2022-09-04 03:29:56','2022-09-04 04:09:11','2022-09-04 04:09:11'),(114,7730,124,41,NULL,'2022-09-04 03:29:56','2022-09-04 04:12:01','2022-09-04 04:12:01'),(115,7730,125,42,NULL,'2022-09-04 03:29:56','2022-09-04 04:13:18','2022-09-04 04:13:18'),(116,7730,126,43,NULL,'2022-09-04 03:29:56','2022-09-04 04:14:25','2022-09-04 04:14:25'),(117,7730,127,44,NULL,'2022-09-04 03:29:56','2022-09-04 04:10:49','2022-09-04 04:10:49'),(118,7730,128,45,NULL,'2022-09-04 03:29:56','2022-09-04 04:19:28','2022-09-04 04:19:28'),(119,7730,129,46,NULL,'2022-09-04 03:29:56','2022-09-04 04:15:43','2022-09-04 04:15:43'),(120,7730,130,47,NULL,'2022-09-04 03:29:56','2022-09-04 04:20:58','2022-09-04 04:20:58'),(121,7730,131,48,NULL,'2022-09-04 03:29:56','2022-09-04 04:22:49','2022-09-04 04:22:49'),(122,7730,132,49,NULL,'2022-09-04 03:29:56','2022-09-04 04:24:10','2022-09-04 04:24:10'),(123,7730,133,50,NULL,'2022-09-04 03:29:57','2022-09-04 04:25:04','2022-09-04 04:25:04'),(124,7730,134,25,NULL,'2022-09-04 03:34:24','2022-09-04 03:35:39','2022-09-04 03:35:39'),(125,7730,135,25,NULL,'2022-09-04 03:35:39','2022-09-04 03:36:17','2022-09-04 03:36:17'),(126,7730,136,25,NULL,'2022-09-04 03:36:17','2022-09-04 03:41:24','2022-09-04 03:41:24'),(127,7730,137,26,NULL,'2022-09-04 03:37:12','2022-09-04 03:42:40','2022-09-04 03:42:40'),(128,7730,138,27,NULL,'2022-09-04 03:40:13','2022-09-04 03:43:54','2022-09-04 03:43:54'),(129,7730,139,25,NULL,'2022-09-04 03:41:24','2022-09-04 03:41:24',NULL),(130,7730,140,26,NULL,'2022-09-04 03:42:40','2022-09-04 03:42:40',NULL),(131,7730,141,27,NULL,'2022-09-04 03:43:54','2022-09-04 03:43:54',NULL),(132,7730,142,28,NULL,'2022-09-04 03:45:21','2022-09-04 03:45:21',NULL),(133,7730,143,30,NULL,'2022-09-04 03:47:43','2022-09-04 03:47:43',NULL),(134,7730,144,29,NULL,'2022-09-04 03:49:24','2022-09-04 03:49:24',NULL),(135,7730,145,31,NULL,'2022-09-04 03:51:07','2022-09-04 03:51:07',NULL),(136,7730,146,32,NULL,'2022-09-04 03:53:01','2022-09-04 03:53:01',NULL),(137,7730,147,33,NULL,'2022-09-04 03:54:26','2022-09-04 03:54:26',NULL),(138,7730,148,35,NULL,'2022-09-04 03:57:17','2022-09-04 03:59:00','2022-09-04 03:59:00'),(139,7730,149,35,NULL,'2022-09-04 03:59:00','2022-09-04 04:02:49','2022-09-04 04:02:49'),(140,7730,150,35,NULL,'2022-09-04 04:02:49','2022-09-04 04:02:49',NULL),(141,7730,151,37,NULL,'2022-09-04 04:04:23','2022-09-04 04:47:07','2022-09-04 04:47:07'),(142,7730,152,38,NULL,'2022-09-04 04:06:04','2022-09-04 04:06:04',NULL),(143,7730,153,39,NULL,'2022-09-04 04:07:36','2022-09-04 04:07:36',NULL),(144,7730,154,40,NULL,'2022-09-04 04:09:11','2022-09-04 04:09:11',NULL),(145,7730,155,44,NULL,'2022-09-04 04:10:49','2022-09-04 04:10:49',NULL),(146,7730,156,41,NULL,'2022-09-04 04:12:01','2022-09-04 04:12:01',NULL),(147,7730,157,42,NULL,'2022-09-04 04:13:18','2022-09-04 04:13:18',NULL),(148,7730,158,43,NULL,'2022-09-04 04:14:25','2022-09-04 04:14:25',NULL),(149,7730,159,46,NULL,'2022-09-04 04:15:43','2022-09-04 04:15:43',NULL),(150,7730,160,36,NULL,'2022-09-04 04:18:26','2022-09-04 04:18:26',NULL),(151,7730,161,45,NULL,'2022-09-04 04:19:28','2022-09-04 04:19:28',NULL),(152,7730,162,47,NULL,'2022-09-04 04:20:58','2022-09-04 04:20:58',NULL),(153,7730,163,48,NULL,'2022-09-04 04:22:49','2022-09-04 04:22:49',NULL),(154,7730,164,49,NULL,'2022-09-04 04:24:10','2022-09-04 04:24:10',NULL),(155,7730,165,50,NULL,'2022-09-04 04:25:04','2022-09-04 04:25:04',NULL),(156,NULL,166,25,7238.99,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (157,NULL,167,26,7238.99,NULL,NULL,NULL),(158,NULL,168,27,7238.99,NULL,NULL,NULL),(159,NULL,169,28,14478.00,NULL,NULL,NULL),(160,NULL,170,30,8685.00,NULL,NULL,NULL),(161,NULL,171,29,7238.99,NULL,NULL,NULL),(162,NULL,172,31,7238.99,NULL,NULL,NULL),(163,NULL,173,32,7238.99,NULL,NULL,NULL),(164,NULL,174,33,7238.99,NULL,NULL,NULL),(165,NULL,175,35,7238.99,NULL,NULL,NULL),(166,7730,176,37,NULL,'2022-09-04 04:47:07','2022-09-04 04:47:07',NULL),(167,NULL,177,37,7238.99,NULL,NULL,NULL),(168,NULL,178,38,7238.99,NULL,NULL,NULL),(169,NULL,179,39,7238.99,NULL,NULL,NULL),(170,NULL,180,40,7238.99,NULL,NULL,NULL),(171,NULL,181,44,8685.00,NULL,NULL,NULL),(172,NULL,182,41,7238.99,NULL,NULL,NULL),(173,NULL,183,42,7238.99,NULL,NULL,NULL),(174,NULL,184,43,7238.99,NULL,NULL,NULL),(175,NULL,185,46,7238.99,NULL,NULL,NULL),(176,NULL,187,36,4955.00,NULL,NULL,NULL),(177,NULL,188,45,3880.00,NULL,NULL,NULL),(178,NULL,189,47,14478.00,NULL,NULL,NULL),(179,NULL,190,48,7238.99,NULL,NULL,NULL),(180,NULL,191,49,7971.00,NULL,NULL,NULL),(181,NULL,192,50,7238.99,NULL,NULL,NULL),(182,7730,193,51,NULL,'2022-09-04 05:07:48','2022-09-04 05:17:23','2022-09-04 05:17:23'),(183,7730,194,52,NULL,'2022-09-04 05:07:48','2022-09-04 05:28:22','2022-09-04 05:28:22'),(184,7730,195,53,NULL,'2022-09-04 05:07:48','2022-09-04 05:13:32','2022-09-04 05:13:32'),(185,7730,196,54,NULL,'2022-09-04 05:07:48','2022-09-04 05:16:20','2022-09-04 05:16:20'),(186,7730,197,55,NULL,'2022-09-04 05:07:49','2022-09-04 05:18:16','2022-09-04 05:18:16'),(187,7730,198,56,NULL,'2022-09-04 05:07:49','2022-09-04 10:51:32','2022-09-04 10:51:32'),(188,7730,199,57,NULL,'2022-09-04 05:07:49','2022-09-04 10:51:55','2022-09-04 10:51:55'),(189,7730,200,58,NULL,'2022-09-04 05:07:49','2022-09-04 10:52:38','2022-09-04 10:52:38'),(190,7730,201,53,NULL,'2022-09-04 05:13:32','2022-09-04 05:13:57','2022-09-04 05:13:57'),(191,7730,202,53,NULL,'2022-09-04 05:13:57','2022-09-04 05:13:57',NULL),(192,7730,203,54,NULL,'2022-09-04 05:16:20','2022-09-04 05:16:20',NULL),(193,7730,204,51,NULL,'2022-09-04 05:17:23','2022-09-04 05:17:23',NULL),(194,7730,205,55,NULL,'2022-09-04 05:18:16','2022-09-04 05:18:16',NULL),(195,NULL,206,53,17067.75,NULL,NULL,NULL),(196,7730,207,52,NULL,'2022-09-04 05:28:22','2022-09-04 05:28:22',NULL),(197,NULL,208,52,20000.00,NULL,NULL,NULL),(198,7730,209,56,NULL,'2022-09-04 10:51:32','2022-09-04 10:51:32',NULL),(199,7730,210,57,NULL,'2022-09-04 10:51:55','2022-09-04 10:51:55',NULL),(200,7730,211,58,NULL,'2022-09-04 10:52:38','2022-09-04 10:52:38',NULL),(201,7730,212,59,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(202,7730,213,60,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(203,7730,214,61,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(204,7730,215,62,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(205,7730,216,63,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(206,7730,217,64,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(207,7730,218,65,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(208,7730,219,66,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(209,7730,220,67,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(210,7730,221,68,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(211,7730,222,69,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(212,7730,223,70,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(213,7730,224,71,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(214,7730,225,72,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(215,7730,226,73,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(216,7730,227,74,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(217,7730,228,75,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(218,7730,229,76,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(219,7730,230,77,NULL,'2023-03-26 23:30:20','2023-03-26 23:30:20',NULL),(220,7730,231,78,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (221,7730,232,79,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(222,7730,233,80,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(223,7730,234,81,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(224,7730,235,82,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(225,7730,236,83,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(226,7730,237,84,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(227,7730,238,85,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(228,7730,239,86,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(229,7730,240,87,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(230,7730,241,88,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(231,7730,242,89,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(232,7730,243,90,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(233,7730,244,91,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(234,7730,245,92,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(235,7730,246,93,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(236,7730,247,94,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(237,7730,248,95,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(238,7730,249,96,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(239,7730,250,97,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(240,7730,251,98,NULL,'2023-03-26 23:30:21','2023-03-26 23:30:21',NULL),(241,7730,252,99,NULL,'2023-03-26 23:31:17','2023-03-26 23:31:17',NULL),(242,7730,253,100,NULL,'2023-03-26 23:31:17','2023-03-26 23:31:17',NULL),(243,7730,254,101,NULL,'2023-03-26 23:31:17','2023-03-26 23:31:17',NULL),(244,7730,255,102,NULL,'2023-03-26 23:31:17','2023-03-26 23:31:17',NULL),(245,7730,256,103,NULL,'2023-03-26 23:31:17','2023-03-26 23:31:17',NULL),(246,7730,257,104,NULL,'2023-03-26 23:43:09','2023-03-27 00:08:06','2023-03-27 00:08:06'),(247,7730,258,105,NULL,'2023-03-26 23:43:09','2023-03-26 23:56:30','2023-03-26 23:56:30'),(248,7730,259,106,NULL,'2023-03-26 23:43:09','2023-03-27 00:07:32','2023-03-27 00:07:32'),(249,7730,260,107,NULL,'2023-03-26 23:43:09','2023-03-27 00:00:20','2023-03-27 00:00:20'),(250,7730,261,108,NULL,'2023-03-26 23:43:09','2023-03-27 00:07:15','2023-03-27 00:07:15'),(251,7730,262,109,NULL,'2023-03-26 23:43:09','2023-03-27 00:07:01','2023-03-27 00:07:01'),(252,7730,263,110,NULL,'2023-03-26 23:43:09','2023-03-27 00:06:45','2023-03-27 00:06:45'),(253,7730,264,111,NULL,'2023-03-26 23:43:09','2023-03-27 00:06:20','2023-03-27 00:06:20'),(254,7730,265,112,NULL,'2023-03-26 23:43:09','2023-03-27 00:05:01','2023-03-27 00:05:01'),(255,7730,266,113,NULL,'2023-03-26 23:43:10','2023-03-27 00:03:07','2023-03-27 00:03:07'),(256,7730,267,105,NULL,'2023-03-26 23:56:30','2023-03-27 00:08:53','2023-03-27 00:08:53'),(257,7730,268,107,NULL,'2023-03-27 00:00:20','2023-03-27 00:09:11','2023-03-27 00:09:11'),(258,7730,269,113,NULL,'2023-03-27 00:03:07','2023-03-27 00:04:10','2023-03-27 00:04:10'),(259,7730,270,113,NULL,'2023-03-27 00:04:10','2023-03-27 00:09:49','2023-03-27 00:09:49'),(260,7730,271,112,NULL,'2023-03-27 00:05:01','2023-03-27 00:09:30','2023-03-27 00:09:30'),(261,7730,272,111,NULL,'2023-03-27 00:06:20','2023-03-27 00:06:20',NULL),(262,7730,273,110,NULL,'2023-03-27 00:06:45','2023-03-27 00:06:45',NULL),(263,7730,274,109,NULL,'2023-03-27 00:07:01','2023-03-27 00:07:01',NULL),(264,7730,275,108,NULL,'2023-03-27 00:07:15','2023-03-27 00:07:15',NULL),(265,7730,276,106,NULL,'2023-03-27 00:07:32','2023-03-27 00:07:32',NULL),(266,7730,277,104,NULL,'2023-03-27 00:08:06','2023-03-27 00:08:38','2023-03-27 00:08:38'),(267,7730,278,104,NULL,'2023-03-27 00:08:38','2023-03-27 00:08:38',NULL),(268,7730,279,105,NULL,'2023-03-27 00:08:53','2023-03-27 00:08:53',NULL),(269,7730,280,107,NULL,'2023-03-27 00:09:11','2023-03-27 00:09:11',NULL),(270,7730,281,112,NULL,'2023-03-27 00:09:30','2023-03-27 00:09:30',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (271,7730,282,113,NULL,'2023-03-27 00:09:49','2023-03-28 12:14:55','2023-03-28 12:14:55'),(272,7730,283,114,NULL,'2023-03-27 14:34:42','2023-03-27 14:34:42',NULL),(273,7730,284,115,NULL,'2023-03-27 14:34:42','2023-03-27 14:42:48','2023-03-27 14:42:48'),(274,7730,285,116,NULL,'2023-03-27 14:34:42','2023-03-27 14:44:21','2023-03-27 14:44:21'),(275,7730,286,117,NULL,'2023-03-27 14:34:42','2023-03-27 14:45:24','2023-03-27 14:45:24'),(276,7730,287,118,NULL,'2023-03-27 14:34:42','2023-03-27 14:47:13','2023-03-27 14:47:13'),(277,7730,288,119,NULL,'2023-03-27 14:34:42','2023-03-27 14:48:01','2023-03-27 14:48:01'),(278,7730,289,120,NULL,'2023-03-27 14:34:42','2023-03-27 14:49:25','2023-03-27 14:49:25'),(279,7730,290,121,NULL,'2023-03-27 14:34:42','2023-03-27 14:50:41','2023-03-27 14:50:41'),(280,7730,291,122,NULL,'2023-03-27 14:34:42','2023-03-27 14:52:37','2023-03-27 14:52:37'),(281,7730,292,123,NULL,'2023-03-27 14:34:43','2023-03-27 14:53:54','2023-03-27 14:53:54'),(282,7730,293,124,NULL,'2023-03-27 14:34:43','2023-03-27 14:55:03','2023-03-27 14:55:03'),(283,7730,294,125,NULL,'2023-03-27 14:34:43','2023-03-27 14:56:02','2023-03-27 14:56:02'),(284,7730,295,126,NULL,'2023-03-27 14:34:43','2023-03-27 14:57:22','2023-03-27 14:57:22'),(285,7730,296,127,NULL,'2023-03-27 14:34:43','2023-03-27 14:58:21','2023-03-27 14:58:21'),(286,7730,297,128,NULL,'2023-03-27 14:34:43','2023-03-27 14:59:37','2023-03-27 14:59:37'),(287,7730,298,129,NULL,'2023-03-27 14:34:43','2023-03-27 15:00:29','2023-03-27 15:00:29'),(288,7730,299,130,NULL,'2023-03-27 14:34:43','2023-03-27 15:06:44','2023-03-27 15:06:44'),(289,7730,300,131,NULL,'2023-03-27 14:34:43','2023-03-27 15:02:54','2023-03-27 15:02:54'),(290,7730,301,132,NULL,'2023-03-27 14:34:43','2023-03-27 15:04:08','2023-03-27 15:04:08'),(291,7730,302,133,NULL,'2023-03-27 14:34:43','2023-03-27 15:04:42','2023-03-27 15:04:42'),(292,7730,303,134,NULL,'2023-03-27 14:34:43','2023-03-27 15:05:54','2023-03-27 15:05:54'),(293,7730,304,135,NULL,'2023-03-27 14:34:43','2023-03-27 15:08:24','2023-03-27 15:08:24'),(294,7730,305,136,NULL,'2023-03-27 14:34:43','2023-03-27 15:11:08','2023-03-27 15:11:08'),(295,7730,306,137,NULL,'2023-03-27 14:34:43','2023-03-27 15:12:51','2023-03-27 15:12:51'),(296,7730,307,138,NULL,'2023-03-27 14:34:43','2023-03-27 15:14:06','2023-03-27 15:14:06'),(297,7730,308,139,NULL,'2023-03-27 14:34:43','2023-03-27 15:14:41','2023-03-27 15:14:41'),(298,7730,309,140,NULL,'2023-03-27 14:34:43','2023-03-27 15:15:48','2023-03-27 15:15:48'),(299,7730,310,141,NULL,'2023-03-27 14:34:43','2023-03-27 15:17:10','2023-03-27 15:17:10'),(300,7730,311,142,NULL,'2023-03-27 14:34:43','2023-03-27 15:18:09','2023-03-27 15:18:09'),(301,7730,312,143,NULL,'2023-03-27 14:34:44','2023-03-27 15:20:22','2023-03-27 15:20:22'),(302,7730,313,144,NULL,'2023-03-27 14:34:44','2023-03-27 15:21:38','2023-03-27 15:21:38'),(303,7730,314,145,NULL,'2023-03-27 14:34:44','2023-03-27 15:22:48','2023-03-27 15:22:48'),(304,7730,315,146,NULL,'2023-03-27 14:34:44','2023-03-27 15:23:55','2023-03-27 15:23:55'),(305,7730,316,147,NULL,'2023-03-27 14:34:44','2023-03-27 15:25:16','2023-03-27 15:25:16'),(306,7730,317,148,NULL,'2023-03-27 14:34:44','2023-03-27 15:26:08','2023-03-27 15:26:08'),(307,7730,318,149,NULL,'2023-03-27 14:34:44','2023-03-27 15:27:27','2023-03-27 15:27:27'),(308,7730,319,150,NULL,'2023-03-27 14:34:44','2023-03-27 15:28:27','2023-03-27 15:28:27'),(309,7730,320,151,NULL,'2023-03-27 14:34:44','2023-03-27 15:29:31','2023-03-27 15:29:31'),(310,7730,321,152,NULL,'2023-03-27 14:34:44','2023-03-27 15:30:29','2023-03-27 15:30:29'),(311,7730,322,153,NULL,'2023-03-27 14:34:44','2023-03-27 15:31:17','2023-03-27 15:31:17'),(312,7730,323,154,NULL,'2023-03-27 14:36:03','2023-03-27 15:32:52','2023-03-27 15:32:52'),(313,7730,324,155,NULL,'2023-03-27 14:36:03','2023-03-27 15:33:40','2023-03-27 15:33:40'),(314,7730,325,156,NULL,'2023-03-27 14:36:03','2023-03-27 14:36:03',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (315,7730,326,157,NULL,'2023-03-27 14:36:03','2023-03-27 14:36:03',NULL),(316,7730,327,158,NULL,'2023-03-27 14:36:03','2023-03-27 15:32:17','2023-03-27 15:32:17'),(317,7730,328,115,NULL,'2023-03-27 14:42:48','2023-03-27 14:42:48',NULL),(318,7730,329,116,NULL,'2023-03-27 14:44:21','2023-03-27 14:44:21',NULL),(319,7730,330,117,NULL,'2023-03-27 14:45:24','2023-03-27 14:45:24',NULL),(320,7730,331,118,NULL,'2023-03-27 14:47:13','2023-03-27 14:47:13',NULL),(321,7730,332,119,NULL,'2023-03-27 14:48:01','2023-03-27 14:48:01',NULL),(322,7730,333,120,NULL,'2023-03-27 14:49:25','2023-03-27 14:49:25',NULL),(323,7730,334,121,NULL,'2023-03-27 14:50:41','2023-03-27 14:50:41',NULL),(324,7730,335,122,NULL,'2023-03-27 14:52:37','2023-03-27 14:52:37',NULL),(325,7730,336,123,NULL,'2023-03-27 14:53:54','2023-03-27 14:53:54',NULL),(326,7730,337,124,NULL,'2023-03-27 14:55:03','2023-03-27 14:55:03',NULL),(327,7730,338,125,NULL,'2023-03-27 14:56:02','2023-03-27 14:56:02',NULL),(328,7730,339,126,NULL,'2023-03-27 14:57:22','2023-03-27 14:57:22',NULL),(329,7730,340,127,NULL,'2023-03-27 14:58:21','2023-03-27 14:58:21',NULL),(330,7730,341,128,NULL,'2023-03-27 14:59:37','2023-03-27 14:59:37',NULL),(331,7730,342,129,NULL,'2023-03-27 15:00:29','2023-03-27 15:00:29',NULL),(332,7730,343,131,NULL,'2023-03-27 15:02:54','2023-03-27 15:02:54',NULL),(333,7730,344,132,NULL,'2023-03-27 15:04:08','2023-03-27 15:04:08',NULL),(334,7730,345,133,NULL,'2023-03-27 15:04:42','2023-03-27 15:04:42',NULL),(335,7730,346,134,NULL,'2023-03-27 15:05:54','2023-03-27 15:05:54',NULL),(336,7730,347,130,NULL,'2023-03-27 15:06:44','2023-03-27 15:06:44',NULL),(337,7730,348,135,NULL,'2023-03-27 15:08:24','2023-03-27 15:08:24',NULL),(338,7730,349,136,NULL,'2023-03-27 15:11:08','2023-03-27 15:11:08',NULL),(339,7730,350,137,NULL,'2023-03-27 15:12:51','2023-03-27 15:12:51',NULL),(340,7730,351,138,NULL,'2023-03-27 15:14:06','2023-03-27 15:14:06',NULL),(341,7730,352,139,NULL,'2023-03-27 15:14:41','2023-03-27 15:14:41',NULL),(342,7730,353,140,NULL,'2023-03-27 15:15:48','2023-03-27 15:15:48',NULL),(343,7730,354,141,NULL,'2023-03-27 15:17:10','2023-03-27 15:17:10',NULL),(344,7730,355,142,NULL,'2023-03-27 15:18:09','2023-03-27 15:18:52','2023-03-27 15:18:52'),(345,7730,356,142,NULL,'2023-03-27 15:18:52','2023-03-27 15:19:25','2023-03-27 15:19:25'),(346,7730,357,142,NULL,'2023-03-27 15:19:25','2023-03-27 15:19:25',NULL),(347,7730,358,143,NULL,'2023-03-27 15:20:22','2023-03-27 15:20:22',NULL),(348,7730,359,144,NULL,'2023-03-27 15:21:38','2023-03-27 15:21:38',NULL),(349,7730,360,145,NULL,'2023-03-27 15:22:48','2023-03-27 15:22:48',NULL),(350,7730,361,146,NULL,'2023-03-27 15:23:55','2023-03-27 15:23:55',NULL),(351,7730,362,147,NULL,'2023-03-27 15:25:16','2023-03-27 15:25:16',NULL),(352,7730,363,148,NULL,'2023-03-27 15:26:08','2023-03-27 15:26:08',NULL),(353,7730,364,149,NULL,'2023-03-27 15:27:27','2023-03-27 15:27:27',NULL),(354,7730,365,150,NULL,'2023-03-27 15:28:27','2023-03-27 15:28:27',NULL),(355,7730,366,151,NULL,'2023-03-27 15:29:31','2023-03-27 15:29:31',NULL),(356,7730,367,152,NULL,'2023-03-27 15:30:29','2023-03-27 15:30:29',NULL),(357,7730,368,153,NULL,'2023-03-27 15:31:17','2023-03-27 15:31:17',NULL),(358,7730,369,158,NULL,'2023-03-27 15:32:17','2023-03-27 15:32:17',NULL),(359,7730,370,154,NULL,'2023-03-27 15:32:52','2023-03-27 15:32:52',NULL),(360,7730,371,155,NULL,'2023-03-27 15:33:40','2023-03-27 15:33:40',NULL),(361,NULL,372,127,150.00,NULL,NULL,NULL),(362,NULL,373,129,799.00,NULL,NULL,NULL),(363,NULL,373,133,150.00,NULL,NULL,NULL),(364,NULL,374,115,6490.00,NULL,NULL,NULL),(365,NULL,374,116,1600.00,NULL,NULL,NULL),(366,NULL,375,117,7590.00,NULL,NULL,NULL),(367,NULL,376,118,7590.00,NULL,NULL,NULL),(368,NULL,376,119,1500.00,NULL,NULL,NULL),(369,NULL,377,120,19470.00,NULL,NULL,NULL),(370,NULL,378,121,150.00,NULL,NULL,NULL),(371,NULL,379,122,7590.00,NULL,NULL,NULL),(372,NULL,380,123,150.00,NULL,NULL,NULL),(373,NULL,381,124,150.00,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (374,NULL,382,125,150.00,NULL,NULL,NULL),(375,NULL,383,126,7590.00,NULL,NULL,NULL),(376,NULL,384,128,150.00,NULL,NULL,NULL),(377,NULL,385,131,150.00,NULL,NULL,NULL),(378,NULL,386,132,150.00,NULL,NULL,NULL),(379,NULL,387,134,150.00,NULL,NULL,NULL),(380,NULL,388,135,1379.00,NULL,NULL,NULL),(381,NULL,389,136,7590.00,NULL,NULL,NULL),(382,NULL,390,137,7819.00,NULL,NULL,NULL),(383,NULL,391,139,6490.00,NULL,NULL,NULL),(384,NULL,392,138,6490.00,NULL,NULL,NULL),(385,NULL,393,140,6490.00,NULL,NULL,NULL),(386,NULL,394,141,8685.00,NULL,NULL,NULL),(387,NULL,395,142,8685.00,NULL,NULL,NULL),(388,NULL,396,143,300.00,NULL,NULL,NULL),(389,NULL,397,144,7590.00,NULL,NULL,NULL),(390,NULL,398,145,6490.00,NULL,NULL,NULL),(391,NULL,399,146,8685.00,NULL,NULL,NULL),(392,NULL,400,147,6490.00,NULL,NULL,NULL),(393,NULL,401,149,6490.00,NULL,NULL,NULL),(394,NULL,402,150,6490.00,NULL,NULL,NULL),(395,NULL,403,151,8685.00,NULL,NULL,NULL),(396,NULL,404,152,7590.00,NULL,NULL,NULL),(397,NULL,405,154,150.00,NULL,NULL,NULL),(398,NULL,406,155,6799.00,NULL,NULL,NULL),(399,NULL,407,156,40794.00,NULL,NULL,NULL),(400,NULL,408,130,150.00,NULL,NULL,NULL),(401,7730,409,5,3953.98,NULL,'2023-03-28 17:17:32','2023-03-28 17:17:32'),(402,7730,409,9,2990.21,NULL,'2023-03-28 17:17:32','2023-03-28 17:17:32'),(403,7730,409,108,12801.20,NULL,'2023-03-28 17:17:32','2023-03-28 17:17:32'),(404,7730,409,106,5719.07,NULL,'2023-03-28 17:17:32','2023-03-28 17:17:32'),(405,7730,409,109,7234.59,NULL,'2023-03-28 17:17:32','2023-03-28 17:17:32'),(406,7730,409,110,4267.07,NULL,'2023-03-28 17:17:32','2023-03-28 17:17:32'),(407,NULL,410,56,84572.83,NULL,NULL,NULL),(408,NULL,410,57,5880.60,NULL,NULL,NULL),(409,NULL,410,58,47044.80,NULL,NULL,NULL),(410,7730,411,113,NULL,'2023-03-28 12:14:55','2023-03-28 12:14:55',NULL),(411,7730,412,107,40365.09,NULL,'2023-03-28 13:21:24','2023-03-28 13:21:24'),(412,7730,413,113,1206.09,NULL,'2023-03-28 12:42:47','2023-03-28 12:42:47'),(413,NULL,414,112,3298.43,NULL,NULL,NULL),(414,NULL,415,104,20000.00,NULL,NULL,NULL),(415,NULL,416,113,1206.09,NULL,NULL,NULL),(416,7730,417,159,NULL,'2023-03-28 13:14:06','2023-03-28 13:16:58','2023-03-28 13:16:58'),(417,7730,418,159,NULL,'2023-03-28 13:16:58','2023-03-28 13:41:33','2023-03-28 13:41:33'),(418,7730,419,160,NULL,'2023-03-28 13:22:49','2023-03-28 13:24:56','2023-03-28 13:24:56'),(419,7730,420,160,NULL,'2023-03-28 13:24:56','2023-03-28 13:24:56',NULL),(420,7730,421,160,40365.09,NULL,'2023-03-28 14:25:03','2023-03-28 14:25:03'),(421,7730,422,159,NULL,'2023-03-28 13:41:33','2023-03-28 13:41:33',NULL),(422,NULL,423,NULL,39160.19,NULL,NULL,NULL),(423,7730,424,161,NULL,'2023-03-28 15:17:33','2023-03-28 15:22:21','2023-03-28 15:22:21'),(424,7730,425,162,NULL,'2023-03-28 15:17:33','2023-03-28 15:23:10','2023-03-28 15:23:10'),(425,7730,426,163,NULL,'2023-03-28 15:17:33','2023-03-28 15:23:57','2023-03-28 15:23:57'),(426,7730,427,164,NULL,'2023-03-28 15:17:33','2023-03-28 15:24:57','2023-03-28 15:24:57'),(427,7730,428,165,NULL,'2023-03-28 15:17:33','2023-03-28 15:25:56','2023-03-28 15:25:56'),(428,7730,429,166,NULL,'2023-03-28 15:17:33','2023-03-28 15:26:38','2023-03-28 15:26:38'),(429,7730,430,167,NULL,'2023-03-28 15:17:34','2023-03-28 15:27:43','2023-03-28 15:27:43'),(430,7730,431,168,NULL,'2023-03-28 15:17:34','2023-03-28 15:28:30','2023-03-28 15:28:30'),(431,7730,432,169,NULL,'2023-03-28 15:17:34','2023-03-28 15:17:34',NULL),(432,7730,433,170,NULL,'2023-03-28 15:17:34','2023-03-28 15:29:20','2023-03-28 15:29:20'),(433,7730,434,171,NULL,'2023-03-28 15:17:34','2023-03-28 15:30:03','2023-03-28 15:30:03'),(434,7730,435,172,NULL,'2023-03-28 15:17:34','2023-03-28 15:30:46','2023-03-28 15:30:46'),(435,7730,436,173,NULL,'2023-03-28 15:17:34','2023-03-28 15:31:38','2023-03-28 15:31:38'),(436,7730,437,174,NULL,'2023-03-28 15:17:34','2023-03-28 15:33:16','2023-03-28 15:33:16'),(437,7730,438,175,NULL,'2023-03-28 15:17:34','2023-03-28 15:34:36','2023-03-28 15:34:36');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (438,7730,439,176,NULL,'2023-03-28 15:17:34','2023-03-28 15:39:33','2023-03-28 15:39:33'),(439,7730,440,177,NULL,'2023-03-28 15:17:34','2023-03-28 15:35:23','2023-03-28 15:35:23'),(440,7730,441,178,NULL,'2023-03-28 15:17:34','2023-03-28 15:36:27','2023-03-28 15:36:27'),(441,7730,442,179,NULL,'2023-03-28 15:17:34','2023-03-28 15:36:53','2023-03-28 15:36:53'),(442,7730,443,180,NULL,'2023-03-28 15:17:34','2023-03-28 15:37:46','2023-03-28 15:37:46'),(443,7730,444,181,NULL,'2023-03-28 15:17:34','2023-03-28 15:38:39','2023-03-28 15:38:39'),(444,7730,445,182,NULL,'2023-03-28 15:21:09','2023-03-28 15:40:44','2023-03-28 15:40:44'),(445,7730,446,161,NULL,'2023-03-28 15:22:21','2023-03-28 15:22:21',NULL),(446,7730,447,162,NULL,'2023-03-28 15:23:10','2023-03-28 15:23:10',NULL),(447,7730,448,163,NULL,'2023-03-28 15:23:57','2023-03-28 15:23:57',NULL),(448,7730,449,164,NULL,'2023-03-28 15:24:57','2023-03-28 15:24:57',NULL),(449,7730,450,165,NULL,'2023-03-28 15:25:56','2023-03-28 15:25:56',NULL),(450,7730,451,166,NULL,'2023-03-28 15:26:38','2023-03-28 15:26:38',NULL),(451,7730,452,167,NULL,'2023-03-28 15:27:43','2023-03-28 15:27:43',NULL),(452,7730,453,168,NULL,'2023-03-28 15:28:30','2023-03-28 15:28:30',NULL),(453,7730,454,170,NULL,'2023-03-28 15:29:20','2023-03-28 15:29:20',NULL),(454,7730,455,171,NULL,'2023-03-28 15:30:03','2023-03-28 15:30:03',NULL),(455,7730,456,172,NULL,'2023-03-28 15:30:46','2023-03-28 15:30:46',NULL),(456,7730,457,173,NULL,'2023-03-28 15:31:38','2023-03-28 15:31:38',NULL),(457,7730,458,174,NULL,'2023-03-28 15:33:16','2023-03-28 15:33:16',NULL),(458,7730,459,175,NULL,'2023-03-28 15:34:36','2023-03-28 15:34:36',NULL),(459,7730,460,177,NULL,'2023-03-28 15:35:23','2023-03-28 15:35:23',NULL),(460,7730,461,178,NULL,'2023-03-28 15:36:27','2023-03-28 15:36:27',NULL),(461,7730,462,179,NULL,'2023-03-28 15:36:53','2023-03-28 15:36:53',NULL),(462,7730,463,180,NULL,'2023-03-28 15:37:46','2023-03-28 15:37:46',NULL),(463,7730,464,181,NULL,'2023-03-28 15:38:39','2023-03-28 15:38:39',NULL),(464,7730,465,176,NULL,'2023-03-28 15:39:33','2023-03-28 15:44:07','2023-03-28 15:44:07'),(465,7730,466,182,NULL,'2023-03-28 15:40:44','2023-03-28 15:40:44',NULL),(466,7730,467,183,NULL,'2023-03-28 15:41:42','2023-03-28 15:43:08','2023-03-28 15:43:08'),(467,7730,468,183,NULL,'2023-03-28 15:43:08','2023-03-28 15:43:08',NULL),(468,7730,469,176,NULL,'2023-03-28 15:44:07','2023-03-28 15:44:07',NULL),(469,NULL,470,161,9990.00,NULL,NULL,NULL),(470,NULL,471,162,7919.00,NULL,NULL,NULL),(471,NULL,472,163,8557.00,NULL,NULL,NULL),(472,NULL,473,164,9990.00,NULL,NULL,NULL),(473,NULL,473,166,2990.00,NULL,NULL,NULL),(474,NULL,474,165,7590.00,NULL,NULL,NULL),(475,NULL,475,167,9990.00,NULL,NULL,NULL),(476,NULL,476,168,9990.00,NULL,NULL,NULL),(477,NULL,477,170,9990.00,NULL,NULL,NULL),(478,NULL,478,171,9990.00,NULL,NULL,NULL),(479,NULL,478,172,17780.00,NULL,NULL,NULL),(480,NULL,479,173,7919.00,NULL,NULL,NULL),(481,NULL,480,175,9990.00,NULL,NULL,NULL),(482,NULL,481,177,3400.00,NULL,NULL,NULL),(483,NULL,482,178,2750.00,NULL,NULL,NULL),(484,NULL,482,179,9990.00,NULL,NULL,NULL),(485,NULL,483,180,9990.00,NULL,NULL,NULL),(486,NULL,484,183,7990.00,NULL,NULL,NULL),(487,NULL,485,181,9490.50,NULL,NULL,NULL),(488,NULL,486,182,17780.00,NULL,NULL,NULL),(489,NULL,487,176,7990.00,NULL,NULL,NULL),(490,7730,488,184,NULL,'2023-03-28 16:08:42','2023-03-29 10:33:33','2023-03-29 10:33:33'),(491,7730,489,185,NULL,'2023-03-28 16:08:42','2023-03-29 10:33:15','2023-03-29 10:33:15'),(492,7730,490,186,NULL,'2023-03-28 16:08:43','2023-03-28 16:10:10','2023-03-28 16:10:10'),(493,7730,491,187,NULL,'2023-03-28 16:08:43','2023-03-28 16:08:43',NULL),(494,7730,492,188,NULL,'2023-03-28 16:08:43','2023-03-29 10:32:55','2023-03-29 10:32:55'),(495,7730,493,189,NULL,'2023-03-28 16:08:43','2023-03-28 16:13:57','2023-03-28 16:13:57'),(496,7730,494,190,NULL,'2023-03-28 16:08:43','2023-03-29 10:32:43','2023-03-29 10:32:43');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (497,7730,495,191,NULL,'2023-03-28 16:08:43','2023-03-29 10:36:56','2023-03-29 10:36:56'),(498,7730,496,192,NULL,'2023-03-28 16:08:43','2023-03-29 10:32:30','2023-03-29 10:32:30'),(499,7730,497,193,NULL,'2023-03-28 16:08:43','2023-03-29 10:32:13','2023-03-29 10:32:13'),(500,7730,498,194,NULL,'2023-03-28 16:08:43','2023-03-29 10:31:59','2023-03-29 10:31:59'),(501,7730,499,195,NULL,'2023-03-28 16:08:43','2023-03-29 10:31:45','2023-03-29 10:31:45'),(502,7730,500,196,NULL,'2023-03-28 16:08:43','2023-03-28 16:16:33','2023-03-28 16:16:33'),(503,7730,501,186,NULL,'2023-03-28 16:10:10','2023-03-28 16:14:44','2023-03-28 16:14:44'),(504,7730,502,189,NULL,'2023-03-28 16:13:57','2023-03-28 16:13:57',NULL),(505,7730,503,186,NULL,'2023-03-28 16:14:44','2023-03-28 16:14:44',NULL),(506,7730,504,196,NULL,'2023-03-28 16:16:33','2023-03-28 16:16:33',NULL),(507,NULL,505,189,42059.18,NULL,NULL,NULL),(508,NULL,506,186,20000.00,NULL,NULL,NULL),(509,7730,507,196,1206.09,NULL,'2023-03-28 16:45:54','2023-03-28 16:45:54'),(510,NULL,508,196,1206.09,NULL,NULL,NULL),(511,NULL,509,NULL,50000.00,NULL,NULL,NULL),(512,NULL,510,NULL,90000.00,NULL,NULL,NULL),(513,7730,511,195,NULL,'2023-03-29 10:31:45','2023-03-29 10:31:45',NULL),(514,7730,512,194,NULL,'2023-03-29 10:31:59','2023-03-29 10:31:59',NULL),(515,7730,513,193,NULL,'2023-03-29 10:32:13','2023-03-29 10:32:13',NULL),(516,7730,514,192,NULL,'2023-03-29 10:32:30','2023-03-29 10:32:30',NULL),(517,7730,515,190,NULL,'2023-03-29 10:32:43','2023-03-29 10:32:43',NULL),(518,7730,516,188,NULL,'2023-03-29 10:32:55','2023-03-29 10:32:55',NULL),(519,7730,517,185,NULL,'2023-03-29 10:33:15','2023-03-29 10:33:15',NULL),(520,7730,518,184,NULL,'2023-03-29 10:33:33','2023-03-29 10:33:33',NULL),(521,7730,519,191,NULL,'2023-03-29 10:36:56','2023-03-29 10:36:56',NULL),(522,7730,520,197,NULL,'2023-03-29 10:40:16','2023-03-29 10:42:31','2023-03-29 10:42:31'),(523,7730,521,198,NULL,'2023-03-29 10:40:16','2023-03-29 10:42:06','2023-03-29 10:42:06'),(524,7730,522,199,NULL,'2023-03-29 10:40:16','2023-03-29 10:43:38','2023-03-29 10:43:38'),(525,7730,523,200,NULL,'2023-03-29 10:40:16','2023-03-29 10:45:21','2023-03-29 10:45:21'),(526,7730,524,201,NULL,'2023-03-29 10:40:16','2023-03-29 10:47:01','2023-03-29 10:47:01'),(527,7730,525,202,NULL,'2023-03-29 10:40:16','2023-03-29 10:47:18','2023-03-29 10:47:18'),(528,7730,526,203,NULL,'2023-03-29 10:40:16','2023-03-29 10:47:55','2023-03-29 10:47:55'),(529,7730,527,198,NULL,'2023-03-29 10:42:06','2023-03-29 10:42:06',NULL),(530,7730,528,197,NULL,'2023-03-29 10:42:31','2023-03-29 10:42:31',NULL),(531,7730,529,199,NULL,'2023-03-29 10:43:38','2023-03-29 11:05:47','2023-03-29 11:05:47'),(532,7730,530,200,NULL,'2023-03-29 10:45:21','2023-03-29 10:45:21',NULL),(533,7730,531,201,NULL,'2023-03-29 10:47:01','2023-03-29 11:22:52','2023-03-29 11:22:52'),(534,7730,532,202,NULL,'2023-03-29 10:47:18','2023-03-29 11:23:17','2023-03-29 11:23:17'),(535,7730,533,203,NULL,'2023-03-29 10:47:55','2023-03-29 11:23:51','2023-03-29 11:23:51'),(536,NULL,534,197,2000.00,NULL,NULL,NULL),(537,NULL,534,198,6800.00,NULL,NULL,NULL),(538,NULL,535,200,7990.00,NULL,NULL,NULL),(539,NULL,536,NULL,2397.00,NULL,NULL,NULL),(540,NULL,536,199,2397.00,NULL,NULL,NULL),(541,7730,537,199,NULL,'2023-03-29 11:05:47','2023-03-29 11:05:47',NULL),(542,NULL,538,NULL,7830.00,NULL,NULL,NULL),(543,NULL,538,201,7830.00,NULL,NULL,NULL),(544,7730,539,201,NULL,'2023-03-29 11:22:52','2023-03-29 11:22:52',NULL),(545,NULL,540,NULL,1500.00,NULL,NULL,NULL),(546,NULL,540,202,1500.00,NULL,NULL,NULL),(547,7730,541,202,NULL,'2023-03-29 11:23:17','2023-03-29 11:23:17',NULL),(548,NULL,542,NULL,7990.00,NULL,NULL,NULL),(549,NULL,542,203,7990.00,NULL,NULL,NULL),(550,7730,543,203,NULL,'2023-03-29 11:23:51','2023-03-29 11:23:51',NULL),(551,7730,544,204,NULL,'2023-03-29 11:27:14','2023-03-29 13:05:26','2023-03-29 13:05:26'),(552,7730,545,205,NULL,'2023-03-29 11:27:14','2023-03-29 11:39:39','2023-03-29 11:39:39');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (553,7730,546,206,NULL,'2023-03-29 11:27:14','2023-03-29 11:30:03','2023-03-29 11:30:03'),(554,7730,547,207,NULL,'2023-03-29 11:27:14','2023-03-29 11:29:51','2023-03-29 11:29:51'),(555,7730,548,208,NULL,'2023-03-29 11:27:14','2023-03-29 11:29:38','2023-03-29 11:29:38'),(556,7730,549,209,NULL,'2023-03-29 11:27:14','2023-03-29 11:29:25','2023-03-29 11:29:25'),(557,7730,550,210,NULL,'2023-03-29 11:27:14','2023-03-29 11:29:14','2023-03-29 11:29:14'),(558,7730,551,211,NULL,'2023-03-29 11:27:14','2023-03-29 11:28:59','2023-03-29 11:28:59'),(559,7730,552,212,NULL,'2023-03-29 11:27:14','2023-03-29 11:28:45','2023-03-29 11:28:45'),(560,7730,553,213,NULL,'2023-03-29 11:27:14','2023-03-29 11:28:34','2023-03-29 11:28:34'),(561,7730,554,214,NULL,'2023-03-29 11:27:14','2023-03-29 11:28:21','2023-03-29 11:28:21'),(562,7730,555,214,NULL,'2023-03-29 11:28:21','2023-03-29 13:07:14','2023-03-29 13:07:14'),(563,7730,556,213,NULL,'2023-03-29 11:28:34','2023-03-29 13:09:37','2023-03-29 13:09:37'),(564,7730,557,212,NULL,'2023-03-29 11:28:45','2023-03-29 11:28:45',NULL),(565,7730,558,211,NULL,'2023-03-29 11:28:59','2023-03-29 11:28:59',NULL),(566,7730,559,210,NULL,'2023-03-29 11:29:14','2023-03-29 13:12:50','2023-03-29 13:12:50'),(567,7730,560,209,NULL,'2023-03-29 11:29:25','2023-03-29 11:29:25',NULL),(568,7730,561,208,NULL,'2023-03-29 11:29:38','2023-03-29 11:29:38',NULL),(569,7730,562,207,NULL,'2023-03-29 11:29:51','2023-03-29 11:29:51',NULL),(570,7730,563,206,NULL,'2023-03-29 11:30:03','2023-03-29 11:30:03',NULL),(571,7730,564,205,NULL,'2023-03-29 11:39:39','2023-03-29 11:41:30','2023-03-29 11:41:30'),(572,7730,565,205,NULL,'2023-03-29 11:41:30','2023-03-29 13:07:55','2023-03-29 13:07:55'),(573,7730,566,204,NULL,'2023-03-29 13:05:26','2023-03-29 13:05:48','2023-03-29 13:05:48'),(574,7730,567,204,NULL,'2023-03-29 13:05:48','2023-03-29 13:14:05','2023-03-29 13:14:05'),(575,NULL,568,NULL,20000.00,NULL,NULL,NULL),(576,NULL,568,214,20000.00,NULL,NULL,NULL),(577,7730,569,214,NULL,'2023-03-29 13:07:14','2023-03-29 13:07:14',NULL),(578,NULL,570,NULL,31867.42,NULL,NULL,NULL),(579,NULL,570,205,31867.42,NULL,NULL,NULL),(580,7730,571,205,NULL,'2023-03-29 13:07:55','2023-03-29 13:07:55',NULL),(581,NULL,572,NULL,11721.00,NULL,NULL,NULL),(582,NULL,572,213,11721.00,NULL,NULL,NULL),(583,7730,573,213,NULL,'2023-03-29 13:09:37','2023-03-29 13:09:37',NULL),(584,7730,574,NULL,67248.27,NULL,'2023-03-29 13:19:28','2023-03-29 13:19:28'),(585,7730,574,210,67248.27,NULL,'2023-03-29 13:19:28','2023-03-29 13:19:28'),(586,7730,575,210,NULL,'2023-03-29 13:12:51','2023-03-29 13:21:22','2023-03-29 13:21:22'),(587,7730,576,NULL,1206.09,NULL,'2023-03-29 14:54:23','2023-03-29 14:54:23'),(588,7730,576,204,1206.09,NULL,'2023-03-29 14:54:23','2023-03-29 14:54:23'),(589,7730,577,204,NULL,'2023-03-29 13:14:05','2023-03-29 14:54:53','2023-03-29 14:54:53'),(590,NULL,578,NULL,67248.27,NULL,NULL,NULL),(591,NULL,578,210,67248.27,NULL,NULL,NULL),(592,7730,579,210,NULL,'2023-03-29 13:21:22','2023-03-29 13:21:22',NULL),(593,7730,580,55,1513750.00,NULL,'2023-03-29 14:02:04','2023-03-29 14:02:04'),(594,7730,581,204,NULL,'2023-03-29 14:54:53','2023-03-29 14:54:53',NULL),(595,NULL,582,204,1206.09,NULL,NULL,NULL),(596,7730,583,215,NULL,'2023-03-29 17:30:47','2023-03-29 17:32:16','2023-03-29 17:32:16'),(597,7730,584,215,NULL,'2023-03-29 17:32:16','2023-03-29 17:32:16',NULL),(598,7730,585,215,1206.09,NULL,'2023-03-29 18:41:50','2023-03-29 18:41:50'),(599,7730,586,216,NULL,'2023-03-29 18:29:35','2023-03-29 18:41:12','2023-03-29 18:41:12'),(600,7730,587,216,NULL,'2023-03-29 18:41:12','2023-03-29 18:41:12',NULL),(601,NULL,588,215,1206.09,NULL,NULL,NULL),(602,7730,589,217,NULL,'2023-03-29 19:28:12','2023-03-29 20:01:23','2023-03-29 20:01:23'),(603,7730,590,217,NULL,'2023-03-29 20:01:23','2023-03-29 20:03:43','2023-03-29 20:03:43'),(604,7730,591,217,NULL,'2023-03-29 20:03:43','2023-03-29 20:03:43',NULL),(605,NULL,592,216,261.88,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (606,7730,593,218,NULL,'2023-03-29 20:18:01','2023-03-29 20:19:14','2023-03-29 20:19:14'),(607,7730,594,218,NULL,'2023-03-29 20:19:14','2023-03-29 20:19:39','2023-03-29 20:19:39'),(608,7730,595,218,NULL,'2023-03-29 20:19:39','2023-03-29 20:19:39',NULL),(609,NULL,596,217,1528.76,NULL,NULL,NULL),(610,NULL,597,218,366.63,NULL,NULL,NULL);

--
-- Table structure for table `cta_cte_tesoreria`
--

CREATE TABLE `cta_cte_tesoreria` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `fecha` date DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(9,2) NOT NULL DEFAULT '1.00',
  `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,
  `ticket_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `cta_cte_tesoreria_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_period_id_foreign` (`period_id`),
  KEY `cta_cte_tesoreria_nf_cta_cte_id_foreign` (`nf_cta_cte_id`),
  KEY `cta_cte_tesoreria_moneda_id_foreign` (`moneda_id`),
  KEY `cta_cte_tesoreria_ticket_id_foreign` (`ticket_id`),
  CONSTRAINT `cta_cte_tesoreria_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_nf_cta_cte_id_foreign` FOREIGN KEY (`nf_cta_cte_id`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `cta_cte_tesoreria_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `cta_cte_tesoreria_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=166 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria`
--

INSERT INTO `cta_cte_tesoreria` VALUES (1,7730,40720,NULL,NULL,359,1520,'2022-09-30',5271.99,1,1.00,'',NULL,'2022-08-28 13:23:52','2022-08-28 15:06:53','2022-08-28 15:06:53',NULL),(2,7730,40720,5,NULL,13,1520,'2020-09-30',5271.99,1,1.00,NULL,NULL,'2022-08-28 15:04:15','2022-08-28 16:39:22','2022-08-28 16:39:22',NULL),(3,7730,40720,6,NULL,13,1520,'2020-09-30',5272.00,1,1.00,NULL,NULL,'2022-08-28 16:43:18','2022-08-28 16:54:30','2022-08-28 16:54:30',NULL),(4,7730,40720,7,NULL,13,1520,'2020-09-30',5271.99,1,1.00,NULL,NULL,'2022-08-28 16:55:29','2022-08-28 23:49:23','2022-08-28 23:49:23',NULL),(5,7730,40720,11,NULL,13,1520,'2020-10-01',5272.00,1,1.00,NULL,NULL,'2022-08-28 23:51:22','2022-08-29 00:15:32','2022-08-29 00:15:32',NULL),(6,7730,40720,12,NULL,13,1520,'2020-09-30',5272.00,1,1.00,NULL,NULL,'2022-08-29 00:16:35','2022-09-02 04:26:26','2022-09-02 04:26:26',NULL),(7,7730,40720,15,NULL,13,1521,'2020-10-15',4815.00,1,1.00,NULL,NULL,'2022-08-29 00:39:42','2022-09-02 04:26:31','2022-09-02 04:26:31',NULL),(8,7730,40720,31,NULL,57,1521,'2020-10-07',14400.00,1,1.00,NULL,NULL,'2022-08-29 01:53:25','2022-09-02 02:50:01','2022-09-02 02:50:01',NULL),(9,7730,40720,32,NULL,57,1521,'2020-10-05',786.50,1,1.00,NULL,NULL,'2022-08-29 01:55:39','2022-08-29 01:56:02','2022-08-29 01:56:02',NULL),(10,7730,40720,33,NULL,57,1521,'2020-10-05',786.50,1,1.00,NULL,NULL,'2022-08-29 01:56:57','2022-08-29 01:59:28','2022-08-29 01:59:28',NULL),(11,7730,40720,34,NULL,57,1521,'2020-10-08',747.66,1,1.00,NULL,NULL,'2022-08-29 01:59:15','2022-08-29 02:06:13','2022-08-29 02:06:13',NULL),(12,7730,40720,35,NULL,57,1521,'2020-10-05',786.50,1,1.00,NULL,NULL,'2022-08-29 02:01:13','2022-08-29 02:07:43','2022-08-29 02:07:43',NULL),(13,7730,40720,37,NULL,57,1521,'2020-10-08',747.66,1,1.00,NULL,NULL,'2022-08-29 02:12:05','2022-09-02 02:02:41','2022-09-02 02:02:41',NULL),(14,7730,40720,38,NULL,57,1521,'2020-10-05',786.50,1,1.00,NULL,NULL,'2022-08-29 02:13:35','2022-09-02 02:50:52','2022-09-02 02:50:52',NULL),(15,7730,40720,39,NULL,57,1521,'2020-10-31',989.41,1,1.00,NULL,NULL,'2022-08-29 02:14:47','2022-08-29 02:15:06','2022-08-29 02:15:06',NULL),(16,7730,40720,40,NULL,57,1521,'2020-10-31',989.41,1,1.00,NULL,NULL,'2022-08-29 02:16:34','2022-09-02 02:54:54','2022-09-02 02:54:54',NULL),(17,7730,40720,59,NULL,13,1522,'2020-11-03',5295.00,1,1.00,NULL,NULL,'2022-09-01 18:27:19','2022-09-01 18:29:15','2022-09-01 18:29:15',NULL),(18,7730,40720,60,NULL,13,1522,'2020-11-20',219.00,1,1.00,NULL,NULL,'2022-09-01 18:29:03','2022-09-01 18:32:07','2022-09-01 18:32:07',NULL),(19,7730,40720,61,NULL,13,1522,'2020-11-03',5295.00,1,1.00,NULL,NULL,'2022-09-01 18:31:32','2022-09-01 18:51:47','2022-09-01 18:51:47',NULL),(20,7730,40720,62,NULL,13,1522,'2020-11-20',150.00,1,1.00,NULL,NULL,'2022-09-01 18:50:21','2022-09-01 18:50:39','2022-09-01 18:50:39',NULL),(21,7730,40720,63,NULL,13,1522,'2020-11-03',5295.00,1,1.00,NULL,NULL,'2022-09-01 18:56:40','2022-09-02 04:26:39','2022-09-02 04:26:39',NULL),(22,7730,40720,64,NULL,13,1522,'2020-11-20',150.00,1,1.00,NULL,NULL,'2022-09-01 19:00:43','2022-09-01 19:27:11','2022-09-01 19:27:11',NULL),(23,7730,40720,65,NULL,13,1522,'2020-11-20',219.00,1,1.00,NULL,NULL,'2022-09-01 19:28:36','2022-09-02 04:26:35','2022-09-02 04:26:35',NULL),(24,7730,40720,66,NULL,13,1522,'2020-11-20',150.00,1,1.00,NULL,NULL,'2022-09-01 19:30:20','2022-09-02 04:26:43','2022-09-02 04:26:43',NULL),(25,7730,40720,67,NULL,13,1522,'2020-11-20',150.00,1,1.00,NULL,NULL,'2022-09-01 19:32:09','2022-09-01 19:32:44','2022-09-01 19:32:44',NULL),(26,7730,40720,68,NULL,13,1522,'2020-11-20',150.00,1,1.00,NULL,NULL,'2022-09-01 19:34:00','2022-09-02 04:26:47','2022-09-02 04:26:47',NULL),(27,7730,40720,69,NULL,13,1522,'2020-11-20',219.00,1,1.00,NULL,NULL,'2022-09-01 19:35:26','2022-09-02 04:26:50','2022-09-02 04:26:50',NULL),(28,7730,40720,70,NULL,13,1522,'2020-11-20',1959.00,1,1.00,NULL,NULL,'2022-09-01 19:36:21','2022-09-01 19:36:31','2022-09-01 19:36:31',NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (29,7730,40720,71,NULL,13,1522,'2020-11-20',1959.00,1,1.00,NULL,NULL,'2022-09-01 19:37:39','2022-09-02 04:26:54','2022-09-02 04:26:54',NULL),(30,7730,40720,72,NULL,13,1522,'2020-11-20',11754.01,1,1.00,NULL,NULL,'2022-09-01 19:38:51','2022-09-02 04:26:58','2022-09-02 04:26:58',NULL),(31,7730,40720,73,NULL,13,1522,'2020-11-30',150.00,1,1.00,NULL,NULL,'2022-09-01 19:39:57','2022-09-02 04:27:02','2022-09-02 04:27:02',NULL),(32,7730,40720,78,NULL,57,1521,'2020-10-08',747.66,1,1.00,NULL,NULL,'2022-09-02 02:26:47','2022-09-02 02:36:33','2022-09-02 02:36:33',NULL),(33,7730,40720,91,NULL,13,1520,'2020-09-30',5272.00,1,1.00,NULL,NULL,'2022-09-02 04:48:48','2022-09-02 04:48:48',NULL,NULL),(34,7730,40720,92,NULL,13,1521,'2020-10-15',4815.00,1,1.00,NULL,NULL,'2022-09-02 04:50:02','2022-09-02 04:50:02',NULL,NULL),(35,7730,40720,93,NULL,13,1521,'2020-11-03',5295.00,1,1.00,NULL,NULL,'2022-09-02 04:51:17','2022-09-02 05:10:29','2022-09-02 05:10:29',NULL),(36,7730,40720,94,NULL,13,1522,'2020-11-20',219.00,1,1.00,NULL,NULL,'2022-09-02 04:52:22','2022-09-02 04:52:22',NULL,NULL),(37,7730,40720,95,NULL,13,1522,'2020-11-20',150.00,1,1.00,NULL,NULL,'2022-09-02 04:53:18','2022-09-02 04:53:30','2022-09-02 04:53:30',NULL),(38,7730,40720,96,NULL,13,1522,'2020-11-20',150.00,1,1.00,NULL,NULL,'2022-09-02 04:54:33','2022-09-02 04:54:33',NULL,NULL),(39,7730,40720,97,NULL,13,1522,'2020-11-20',150.00,1,1.00,NULL,NULL,'2022-09-02 04:55:29','2022-09-02 04:55:29',NULL,NULL),(40,7730,40720,98,NULL,13,1522,'2020-11-20',219.00,1,1.00,NULL,NULL,'2022-09-02 04:56:45','2022-09-02 04:56:45',NULL,NULL),(41,7730,40720,99,NULL,13,1522,'2020-11-20',1959.00,1,1.00,NULL,NULL,'2022-09-02 04:57:54','2022-09-02 04:57:54',NULL,NULL),(42,7730,40720,100,NULL,13,1522,'2020-11-20',11754.01,1,1.00,NULL,NULL,'2022-09-02 04:58:54','2022-09-04 02:28:22','2022-09-04 02:28:22',NULL),(43,7730,40720,101,NULL,13,1522,'2020-11-30',150.00,1,1.00,NULL,NULL,'2022-09-02 04:59:43','2022-09-04 02:28:10','2022-09-04 02:28:10',NULL),(44,7730,40720,102,NULL,13,1522,'2020-11-03',5295.00,1,1.00,NULL,NULL,'2022-09-02 05:11:36','2022-09-02 05:11:36',NULL,NULL),(45,7730,40720,103,NULL,57,1522,'2020-11-12',1346.89,1,1.00,NULL,NULL,'2022-09-03 23:06:29','2022-09-03 23:06:29',NULL,NULL),(46,7730,40720,106,NULL,13,1522,'2020-11-20',11754.01,1,1.00,NULL,NULL,'2022-09-04 02:30:53','2022-09-04 02:30:53',NULL,NULL),(47,7730,40720,107,NULL,13,1522,'2020-11-30',150.00,1,1.00,NULL,NULL,'2022-09-04 02:32:18','2022-09-04 02:32:18',NULL,NULL),(48,7730,40720,166,NULL,13,1523,'2020-12-03',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:29:57','2022-09-04 04:29:57',NULL,NULL),(49,7730,40720,167,NULL,13,1523,'2020-12-03',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:31:28','2022-09-04 04:31:28',NULL,NULL),(50,7730,40720,168,NULL,13,1523,'2020-12-03',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:37:21','2022-09-04 04:37:21',NULL,NULL),(51,7730,40720,169,NULL,13,1523,'2020-12-04',14478.00,1,1.00,NULL,NULL,'2022-09-04 04:38:26','2022-09-04 04:38:26',NULL,NULL),(52,7730,40720,170,NULL,13,1523,'2020-12-07',8685.00,1,1.00,NULL,NULL,'2022-09-04 04:39:39','2022-09-04 04:39:39',NULL,NULL),(53,7730,40720,171,NULL,13,1523,'2020-12-07',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:40:44','2022-09-04 04:40:44',NULL,NULL),(54,7730,40720,172,NULL,13,1523,'2020-12-09',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:42:14','2022-09-04 04:42:14',NULL,NULL),(55,7730,40720,173,NULL,13,1523,'2020-12-09',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:43:40','2022-09-04 04:43:40',NULL,NULL),(56,7730,40720,174,NULL,13,1523,'2020-12-10',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:44:24','2022-09-04 04:44:24',NULL,NULL),(57,7730,40720,175,NULL,13,1523,'2020-12-17',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:45:26','2022-09-04 04:45:26',NULL,NULL),(58,7730,40720,177,NULL,13,1523,'2020-12-17',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:47:59','2022-09-04 04:47:59',NULL,NULL),(59,7730,40720,178,NULL,13,1523,'2020-12-17',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:48:58','2022-09-04 04:48:58',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (60,7730,40720,179,NULL,13,1523,'2020-12-17',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:50:16','2022-09-04 04:50:16',NULL,NULL),(61,7730,40720,180,NULL,13,1523,'2020-12-17',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:51:10','2022-09-04 04:51:10',NULL,NULL),(62,7730,40720,181,NULL,13,1523,'2020-12-17',8685.00,1,1.00,NULL,NULL,'2022-09-04 04:52:07','2022-09-04 04:52:07',NULL,NULL),(63,7730,40720,182,NULL,13,1523,'2020-12-17',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:53:16','2022-09-04 04:53:16',NULL,NULL),(64,7730,40720,183,NULL,13,1523,'2020-12-17',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:54:08','2022-09-04 04:54:08',NULL,NULL),(65,7730,40720,184,NULL,13,1523,'2020-12-17',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:55:06','2022-09-04 04:55:06',NULL,NULL),(66,7730,40720,185,NULL,13,1523,'2020-12-17',7238.99,1,1.00,NULL,NULL,'2022-09-04 04:56:15','2022-09-04 04:56:15',NULL,NULL),(67,7730,40720,186,NULL,13,1523,'2020-12-17',8685.00,1,1.00,NULL,NULL,'2022-09-04 04:57:04','2022-09-04 04:57:04',NULL,NULL),(68,7730,40720,187,NULL,13,1523,'2020-12-17',4955.00,1,1.00,NULL,NULL,'2022-09-04 04:57:56','2022-09-04 04:57:56',NULL,NULL),(69,7730,40720,188,NULL,13,1523,'2020-12-17',3880.00,1,1.00,NULL,NULL,'2022-09-04 04:58:49','2022-09-04 04:58:49',NULL,NULL),(70,7730,40720,189,NULL,13,1523,'2020-12-17',14478.00,1,1.00,NULL,NULL,'2022-09-04 04:59:44','2022-09-04 04:59:44',NULL,NULL),(71,7730,40720,190,NULL,13,1523,'2020-12-18',7238.99,1,1.00,NULL,NULL,'2022-09-04 05:00:55','2022-09-04 05:00:55',NULL,NULL),(72,7730,40720,191,NULL,13,1523,'2020-12-22',7971.00,1,1.00,NULL,NULL,'2022-09-04 05:01:50','2022-09-04 05:01:50',NULL,NULL),(73,7730,40720,192,NULL,13,1523,'2020-12-22',7238.99,1,1.00,NULL,NULL,'2022-09-04 05:02:47','2022-09-04 05:02:47',NULL,NULL),(74,7730,40720,206,NULL,57,1523,'2020-12-09',17067.75,1,1.00,NULL,NULL,'2022-09-04 05:23:20','2022-09-04 05:23:20',NULL,NULL),(75,7730,40720,208,NULL,57,1523,'2020-12-15',20000.00,1,1.00,NULL,NULL,'2022-09-04 05:34:03','2022-09-04 05:34:03',NULL,NULL),(76,7730,40720,372,NULL,13,1525,'2021-01-13',150.00,1,1.00,NULL,NULL,'2023-03-27 15:56:08','2023-03-27 15:56:08',NULL,NULL),(77,7730,40720,373,NULL,13,1525,'2021-01-14',949.00,1,1.00,NULL,NULL,'2023-03-27 15:58:45','2023-03-27 15:58:45',NULL,NULL),(78,7730,40720,374,NULL,13,1525,'2021-01-04',8090.00,1,1.00,NULL,NULL,'2023-03-27 16:00:34','2023-03-27 16:00:34',NULL,NULL),(79,7730,40720,375,NULL,13,1525,'2021-01-06',7590.00,1,1.00,NULL,NULL,'2023-03-27 16:02:07','2023-03-27 16:02:07',NULL,NULL),(80,7730,40720,376,NULL,13,1525,'2021-01-06',9090.00,1,1.00,NULL,NULL,'2023-03-27 16:03:07','2023-03-27 16:03:07',NULL,NULL),(81,7730,40720,377,NULL,13,1525,'2021-01-06',19470.00,1,1.00,NULL,NULL,'2023-03-27 16:03:59','2023-03-27 16:03:59',NULL,NULL),(82,7730,40720,378,NULL,13,1525,'2021-01-07',150.00,1,1.00,NULL,NULL,'2023-03-27 16:05:00','2023-03-27 16:05:00',NULL,NULL),(83,7730,40720,379,NULL,13,1525,'2021-01-07',7590.00,1,1.00,NULL,NULL,'2023-03-27 16:06:03','2023-03-27 16:06:03',NULL,NULL),(84,7730,40720,380,NULL,13,1525,'2021-01-07',150.00,1,1.00,NULL,NULL,'2023-03-27 16:06:54','2023-03-27 16:06:54',NULL,NULL),(85,7730,40720,381,NULL,13,1525,'2021-01-07',150.00,1,1.00,NULL,NULL,'2023-03-27 16:07:35','2023-03-27 16:07:35',NULL,NULL),(86,7730,40720,382,NULL,13,1525,'2021-01-12',150.00,1,1.00,NULL,NULL,'2023-03-27 16:08:33','2023-03-27 16:08:33',NULL,NULL),(87,7730,40720,383,NULL,13,1525,'2021-01-12',7590.00,1,1.00,NULL,NULL,'2023-03-27 16:09:12','2023-03-27 16:09:12',NULL,NULL),(88,7730,40720,384,NULL,13,1525,'2021-01-13',150.00,1,1.00,NULL,NULL,'2023-03-27 16:09:56','2023-03-27 16:09:56',NULL,NULL),(89,7730,40720,385,NULL,13,1525,'2021-01-14',150.00,1,1.00,NULL,NULL,'2023-03-27 16:11:16','2023-03-27 16:11:16',NULL,NULL),(90,7730,40720,386,NULL,13,1525,'2021-01-14',150.00,1,1.00,NULL,NULL,'2023-03-27 16:11:52','2023-03-27 16:11:52',NULL,NULL),(91,7730,40720,387,NULL,13,1525,'2021-01-14',150.00,1,1.00,NULL,NULL,'2023-03-27 16:12:34','2023-03-27 16:12:34',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (92,7730,40720,388,NULL,13,1525,'2021-01-14',1379.00,1,1.00,NULL,NULL,'2023-03-27 16:13:20','2023-03-27 16:13:20',NULL,NULL),(93,7730,40720,389,NULL,13,1525,'2021-01-18',7590.00,1,1.00,NULL,NULL,'2023-03-27 16:14:22','2023-03-27 16:14:22',NULL,NULL),(94,7730,40720,390,NULL,13,1525,'2021-01-18',7819.00,1,1.00,NULL,NULL,'2023-03-27 16:16:08','2023-03-27 16:16:08',NULL,NULL),(95,7730,40720,391,NULL,13,1525,'2021-01-19',6490.00,1,1.00,NULL,NULL,'2023-03-27 16:17:14','2023-03-27 16:17:14',NULL,NULL),(96,7730,40720,392,NULL,13,1525,'2021-01-19',6490.00,1,1.00,NULL,NULL,'2023-03-27 16:18:43','2023-03-27 16:18:43',NULL,NULL),(97,7730,40720,393,NULL,13,1525,'2021-01-20',6490.00,1,1.00,NULL,NULL,'2023-03-27 16:19:37','2023-03-27 16:19:37',NULL,NULL),(98,7730,40720,394,NULL,13,1525,'2021-01-20',8685.00,1,1.00,NULL,NULL,'2023-03-27 16:20:30','2023-03-27 16:20:30',NULL,NULL),(99,7730,40720,395,NULL,13,1525,'2021-01-21',8685.00,1,1.00,NULL,NULL,'2023-03-27 16:21:24','2023-03-27 16:21:24',NULL,NULL),(100,7730,40720,396,NULL,13,1525,'2021-01-22',300.00,1,1.00,NULL,NULL,'2023-03-27 16:30:20','2023-03-27 16:30:20',NULL,NULL),(101,7730,40720,397,NULL,13,1525,'2021-01-25',7590.00,1,1.00,NULL,NULL,'2023-03-27 16:31:13','2023-03-27 16:31:13',NULL,NULL),(102,7730,40720,398,NULL,13,1525,'2021-01-25',6490.00,1,1.00,NULL,NULL,'2023-03-27 16:32:13','2023-03-27 16:32:13',NULL,NULL),(103,7730,40720,399,NULL,13,1525,'2021-01-25',8685.00,1,1.00,NULL,NULL,'2023-03-27 16:33:00','2023-03-27 16:33:00',NULL,NULL),(104,7730,40720,400,NULL,13,1525,'2021-01-26',6490.00,1,1.00,NULL,NULL,'2023-03-27 16:33:48','2023-03-27 16:33:48',NULL,NULL),(105,7730,40720,401,NULL,13,1525,'2021-01-26',6490.00,1,1.00,NULL,NULL,'2023-03-27 16:34:55','2023-03-27 16:34:55',NULL,NULL),(106,7730,40720,402,NULL,13,1525,'2021-01-26',6490.00,1,1.00,NULL,NULL,'2023-03-27 16:38:54','2023-03-27 16:38:54',NULL,NULL),(107,7730,40720,403,NULL,13,1525,'2021-01-26',8685.00,1,1.00,NULL,NULL,'2023-03-27 16:39:47','2023-03-27 16:39:47',NULL,NULL),(108,7730,40720,404,NULL,13,1525,'2021-01-28',7590.00,1,1.00,NULL,NULL,'2023-03-27 16:40:40','2023-03-27 16:40:40',NULL,NULL),(109,7730,40720,405,NULL,13,1525,'2021-01-14',150.00,1,1.00,NULL,NULL,'2023-03-27 16:43:44','2023-03-27 16:43:44',NULL,NULL),(110,7730,40720,406,NULL,13,1525,'2021-01-26',6799.00,1,1.00,NULL,NULL,'2023-03-27 16:45:38','2023-03-27 16:45:38',NULL,NULL),(111,7730,40720,407,NULL,13,1525,'2021-01-27',40794.00,1,1.00,NULL,NULL,'2023-03-27 16:47:49','2023-03-27 16:47:49',NULL,NULL),(112,7730,40720,408,NULL,13,1525,'2021-01-14',150.00,1,1.00,NULL,NULL,'2023-03-27 16:54:51','2023-03-27 16:54:51',NULL,NULL),(113,7730,40720,409,NULL,57,1525,'2021-01-04',36966.12,1,1.00,'Transferencia realizada por 50000.00',NULL,'2023-03-27 18:30:31','2023-03-28 17:17:32','2023-03-28 17:17:32',NULL),(114,7730,40720,410,NULL,57,1525,'2021-01-29',137498.23,1,1.00,NULL,NULL,'2023-03-27 18:58:21','2023-03-27 18:58:21',NULL,NULL),(115,7730,40720,412,NULL,57,1525,'2021-01-31',40365.09,1,1.00,NULL,NULL,'2023-03-28 12:20:13','2023-03-28 13:21:24','2023-03-28 13:21:24',NULL),(116,7730,40720,413,NULL,57,1525,'2021-01-31',1206.09,1,1.00,NULL,NULL,'2023-03-28 12:22:21','2023-03-28 12:42:47','2023-03-28 12:42:47',NULL),(117,7730,40720,414,NULL,57,1525,'2021-01-31',3298.43,1,1.00,NULL,NULL,'2023-03-28 12:24:10','2023-03-28 12:24:10',NULL,NULL),(118,7730,40720,415,NULL,57,1525,'2021-01-22',20000.00,1,1.00,NULL,NULL,'2023-03-28 12:40:44','2023-03-28 12:40:44',NULL,NULL),(119,7730,40720,416,NULL,57,1525,'2021-01-31',1206.09,1,1.00,NULL,NULL,'2023-03-28 12:46:41','2023-03-28 12:46:41',NULL,NULL),(120,7730,40720,421,NULL,57,1525,'2021-01-31',40365.09,1,1.00,NULL,NULL,'2023-03-28 13:26:34','2023-03-28 14:25:03','2023-03-28 14:25:03',NULL),(121,7730,40720,423,NULL,57,1525,'2021-01-31',39160.19,1,1.00,NULL,NULL,'2023-03-28 14:38:52','2023-03-28 14:38:52',NULL,NULL),(122,7730,40720,470,NULL,13,1526,'2021-02-01',9990.00,1,1.00,NULL,NULL,'2023-03-28 15:45:24','2023-03-28 15:45:24',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (123,7730,40720,471,NULL,13,1526,'2021-02-02',7919.00,1,1.00,NULL,NULL,'2023-03-28 15:49:20','2023-03-28 15:49:20',NULL,NULL),(124,7730,40720,472,NULL,13,1526,'2021-02-02',8557.00,1,1.00,NULL,NULL,'2023-03-28 15:50:10','2023-03-28 15:50:10',NULL,NULL),(125,7730,40720,473,NULL,13,1526,'2021-02-02',12980.00,1,1.00,NULL,NULL,'2023-03-28 15:51:22','2023-03-28 15:51:22',NULL,NULL),(126,7730,40720,474,NULL,13,1526,'2021-02-02',7590.00,1,1.00,NULL,NULL,'2023-03-28 15:52:07','2023-03-28 15:52:07',NULL,NULL),(127,7730,40720,475,NULL,13,1526,'2021-02-02',9990.00,1,1.00,NULL,NULL,'2023-03-28 15:52:50','2023-03-28 15:52:50',NULL,NULL),(128,7730,40720,476,NULL,13,1526,'2021-02-09',9990.00,1,1.00,NULL,NULL,'2023-03-28 15:53:55','2023-03-28 15:53:55',NULL,NULL),(129,7730,40720,477,NULL,13,1526,'2021-02-10',9990.00,1,1.00,NULL,NULL,'2023-03-28 15:54:34','2023-03-28 15:54:34',NULL,NULL),(130,7730,40720,478,NULL,13,1526,'2021-02-10',27770.00,1,1.00,NULL,NULL,'2023-03-28 15:55:24','2023-03-28 15:55:24',NULL,NULL),(131,7730,40720,479,NULL,13,1526,'2021-02-10',7919.00,1,1.00,NULL,NULL,'2023-03-28 15:56:05','2023-03-28 15:56:05',NULL,NULL),(132,7730,40720,480,NULL,13,1526,'2021-02-12',9990.00,1,1.00,NULL,NULL,'2023-03-28 15:56:48','2023-03-28 15:56:48',NULL,NULL),(133,7730,40720,481,NULL,13,1526,'2021-02-18',3400.00,1,1.00,NULL,NULL,'2023-03-28 15:57:28','2023-03-28 15:57:28',NULL,NULL),(134,7730,40720,482,NULL,13,1526,'2021-02-18',12740.00,1,1.00,NULL,NULL,'2023-03-28 16:00:04','2023-03-28 16:00:04',NULL,NULL),(135,7730,40720,483,NULL,13,1526,'2021-02-19',9990.00,1,1.00,NULL,NULL,'2023-03-28 16:00:52','2023-03-28 16:00:52',NULL,NULL),(136,7730,40720,484,NULL,13,1526,'2021-02-10',7990.00,1,1.00,NULL,NULL,'2023-03-28 16:01:53','2023-03-28 16:01:53',NULL,NULL),(137,7730,40720,485,NULL,13,1526,'2021-02-22',9490.50,1,1.00,NULL,NULL,'2023-03-28 16:02:38','2023-03-28 16:02:38',NULL,NULL),(138,7730,40720,486,NULL,13,1526,'2021-02-10',17780.00,1,1.00,NULL,NULL,'2023-03-28 16:03:43','2023-03-28 16:03:43',NULL,NULL),(139,7730,40720,487,NULL,13,1526,'2021-02-18',7990.00,1,1.00,NULL,NULL,'2023-03-28 16:04:41','2023-03-28 16:04:41',NULL,NULL),(140,7730,40720,505,NULL,57,1526,'2021-02-28',42059.18,1,1.00,NULL,NULL,'2023-03-28 16:17:50','2023-03-28 16:17:50',NULL,NULL),(141,7730,40720,NULL,NULL,760,1557,'2023-03-28',0.00,1,1.00,'Saldo Inicial',NULL,'2023-03-28 16:19:07','2023-03-28 16:19:07',NULL,NULL),(142,7730,40720,506,NULL,57,1526,'2021-02-28',20000.00,1,1.00,NULL,NULL,'2023-03-28 16:20:44','2023-03-28 16:20:44',NULL,NULL),(143,7730,40720,507,NULL,13,1526,'2021-02-28',1206.09,1,1.00,NULL,NULL,'2023-03-28 16:21:40','2023-03-28 16:45:54','2023-03-28 16:45:54',NULL),(144,7730,40720,508,NULL,57,1526,'2021-02-28',1206.09,1,1.00,NULL,NULL,'2023-03-28 16:46:32','2023-03-28 16:46:32',NULL,NULL),(145,7730,40720,509,NULL,57,1525,'2021-01-04',50000.00,1,1.00,NULL,NULL,'2023-03-28 17:19:46','2023-03-28 17:19:46',NULL,NULL),(146,7730,40720,510,NULL,57,1526,'2021-02-17',90000.00,1,1.00,NULL,NULL,'2023-03-28 17:23:20','2023-03-28 17:23:20',NULL,NULL),(147,7730,40720,534,NULL,13,1527,'2021-03-01',8800.00,1,1.00,NULL,NULL,'2023-03-29 10:50:15','2023-03-29 10:50:15',NULL,NULL),(148,7730,40720,535,NULL,13,1527,'2021-03-02',7990.00,1,1.00,NULL,NULL,'2023-03-29 10:53:20','2023-03-29 10:53:20',NULL,NULL),(149,7730,40720,536,NULL,13,1527,'2021-03-02',2397.00,1,1.00,NULL,NULL,'2023-03-29 11:05:46','2023-03-29 11:05:46',NULL,NULL),(150,7730,40720,538,NULL,13,1527,'2021-03-05',7830.00,1,1.00,NULL,NULL,'2023-03-29 11:22:52','2023-03-29 11:22:52',NULL,NULL),(151,7730,40720,540,NULL,13,1527,'2021-03-05',1500.00,1,1.00,NULL,NULL,'2023-03-29 11:23:16','2023-03-29 11:23:16',NULL,NULL),(152,7730,40720,542,NULL,13,1527,'2021-03-05',7990.00,1,1.00,NULL,NULL,'2023-03-29 11:23:50','2023-03-29 11:23:50',NULL,NULL),(153,7730,40720,568,NULL,57,1527,'2021-03-02',20000.00,1,1.00,NULL,NULL,'2023-03-29 13:07:13','2023-03-29 13:07:13',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (154,7730,40720,570,NULL,57,1527,'2021-03-29',31867.42,1,1.00,NULL,NULL,'2023-03-29 13:07:54','2023-03-29 13:07:54',NULL,NULL),(155,7730,40720,572,NULL,57,1527,'2021-03-03',11721.00,1,1.00,NULL,NULL,'2023-03-29 13:09:36','2023-03-29 13:09:36',NULL,NULL),(156,7730,40720,574,NULL,57,1527,'2021-03-05',67248.27,1,1.00,NULL,NULL,'2023-03-29 13:12:50','2023-03-29 13:19:28','2023-03-29 13:19:28',NULL),(157,7730,40720,576,NULL,57,1527,'2021-03-31',1206.09,1,1.00,NULL,NULL,'2023-03-29 13:14:05','2023-03-29 14:54:23','2023-03-29 14:54:23',NULL),(158,7730,40720,578,NULL,57,1527,'2021-03-05',67248.27,1,1.00,NULL,NULL,'2023-03-29 13:21:21','2023-03-29 13:21:21',NULL,NULL),(159,7730,40720,580,NULL,57,1525,'2021-01-10',1513750.00,1,1.00,NULL,NULL,'2023-03-29 13:30:40','2023-03-29 14:02:04','2023-03-29 14:02:04',NULL),(160,7730,40720,582,NULL,57,1527,'2021-03-31',1206.09,1,1.00,NULL,NULL,'2023-03-29 14:56:01','2023-03-29 14:56:01',NULL,NULL),(161,7730,40720,585,NULL,57,1528,'2021-05-10',1206.09,1,1.00,NULL,NULL,'2023-03-29 17:36:56','2023-03-29 18:41:50','2023-03-29 18:41:50',NULL),(162,7730,40720,588,NULL,57,1529,'2021-05-31',1206.09,1,1.00,NULL,NULL,'2023-03-29 18:42:54','2023-03-29 18:42:54',NULL,NULL),(163,7730,40720,592,NULL,57,1530,'2021-06-10',261.88,1,1.00,NULL,NULL,'2023-03-29 20:05:20','2023-03-29 20:05:20',NULL,NULL),(164,7730,40720,596,NULL,57,1531,'2021-07-10',1528.76,1,1.00,NULL,NULL,'2023-03-29 20:20:24','2023-03-29 20:20:24',NULL,NULL),(165,7730,40720,597,NULL,57,1532,'2021-08-10',366.63,1,1.00,NULL,NULL,'2023-03-29 20:37:23','2023-03-29 20:37:23',NULL,NULL);

--
-- Table structure for table `cta_cte_tesoreria_banco_cheq`
--

CREATE TABLE `cta_cte_tesoreria_banco_cheq` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_banco_id` int(10) unsigned NOT NULL,
  `chequera_tipo_id` int(10) unsigned NOT NULL,
  `serie` text COLLATE utf8mb4_unicode_ci,
  `numero_cheque` int(11) 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 `cta_cte_tesoreria_banco_cheq_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_banco_id_foreign` (`cta_cte_tesoreria_banco_id`),
  KEY `cta_cte_tesoreria_banco_cheq_chequera_tipo_id_foreign` (`chequera_tipo_id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_chequera_tipo_id_foreign` FOREIGN KEY (`chequera_tipo_id`) REFERENCES `chequeras_tipos` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_banco_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_banco_id`) REFERENCES `cta_cte_tesoreria_bancos` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_banco_cheq`
--

INSERT INTO `cta_cte_tesoreria_banco_cheq` VALUES (1,NULL,40720,758,1,1,'T',1541545,1,'2023-03-27 00:07:49','2023-03-27 00:07:49',NULL);

--
-- Table structure for table `cta_cte_tesoreria_banco_claves`
--

CREATE TABLE `cta_cte_tesoreria_banco_claves` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_banco_id` int(10) unsigned NOT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_banco_claves_person_id_foreign` (`person_id`),
  KEY `ct_cuenta_id` (`cta_cte_tesoreria_cuenta_id`),
  KEY `ct_banco_id` (`cta_cte_tesoreria_banco_id`),
  CONSTRAINT `ct_banco_id` FOREIGN KEY (`cta_cte_tesoreria_banco_id`) REFERENCES `cta_cte_tesoreria_bancos` (`id`),
  CONSTRAINT `ct_cuenta_id` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_claves_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_banco_claves`
--


--
-- Table structure for table `cta_cte_tesoreria_bancos`
--

CREATE TABLE `cta_cte_tesoreria_bancos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `ctacte_banco_id` int(10) unsigned NOT NULL,
  `persona_empresa` int(11) NOT NULL DEFAULT '1',
  `zone_id` int(10) unsigned NOT NULL,
  `cuenta_contable_id` int(10) unsigned NOT NULL,
  `cuenta_contable_id_diferido` int(10) unsigned DEFAULT NULL,
  `cuenta_contable_id_pend_acred` int(10) unsigned DEFAULT NULL,
  `numero_cuenta` text COLLATE utf8mb4_unicode_ci,
  `cbu` text COLLATE utf8mb4_unicode_ci,
  `alias` text COLLATE utf8mb4_unicode_ci,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_bancos_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_bancos_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_bancos_ctacte_banco_id_foreign` (`ctacte_banco_id`),
  KEY `cta_cte_tesoreria_bancos_zone_id_foreign` (`zone_id`),
  KEY `cta_cte_tesoreria_bancos_cuenta_contable_id_foreign` (`cuenta_contable_id`),
  KEY `cta_cte_tesoreria_bancos_cuenta_contable_id_diferido_foreign` (`cuenta_contable_id_diferido`),
  KEY `cta_cte_tesoreria_bancos_cuenta_contable_id_pend_acred_foreign` (`cuenta_contable_id_pend_acred`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_ctacte_banco_id_foreign` FOREIGN KEY (`ctacte_banco_id`) REFERENCES `ctacte_bancos` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cuenta_contable_id_diferido_foreign` FOREIGN KEY (`cuenta_contable_id_diferido`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cuenta_contable_id_foreign` FOREIGN KEY (`cuenta_contable_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cuenta_contable_id_pend_acred_foreign` FOREIGN KEY (`cuenta_contable_id_pend_acred`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_bancos`
--

INSERT INTO `cta_cte_tesoreria_bancos` VALUES (1,NULL,40720,758,1,1,22,497,497,497,'015-Ejemplo','1234567890123456789012',NULL,1,'2023-03-27 00:07:49','2023-03-27 00:07:49',NULL);

--
-- Table structure for table `cta_cte_tesoreria_cuenta_tipos`
--

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

--
-- Dumping data for table `cta_cte_tesoreria_cuenta_tipos`
--

INSERT INTO `cta_cte_tesoreria_cuenta_tipos` VALUES (1,NULL,'CAJA',1,NULL,NULL,NULL),(2,NULL,'BANCOS',1,NULL,NULL,NULL),(3,NULL,'CHEQUES',1,NULL,NULL,NULL),(4,NULL,'RETENCIONES',1,NULL,NULL,NULL),(5,NULL,'PERCEPCIONES',1,NULL,NULL,NULL),(6,NULL,'RESULTADO NEGATIVO',1,NULL,NULL,NULL),(7,NULL,'RESULTADO POSITIVO',1,NULL,NULL,NULL),(8,NULL,'MOVIMIENTO',1,NULL,NULL,NULL);

--
-- Table structure for table `cta_cte_tesoreria_cuentas`
--

CREATE TABLE `cta_cte_tesoreria_cuentas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `plan_cuenta_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_tipo_id` int(10) unsigned NOT NULL DEFAULT '8',
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cuit` text COLLATE utf8mb4_unicode_ci,
  `cheque3ros` tinyint(1) NOT NULL DEFAULT '0',
  `cheque_emitidos` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cta_cte` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cuenta_origen` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cuenta_destino` tinyint(1) NOT NULL DEFAULT '0',
  `conta_asientos` tinyint(1) NOT NULL DEFAULT '0',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_cuentas_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_cuentas_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  KEY `cta_tes_tipo_id_foreign` (`cta_cte_tesoreria_cuenta_tipo_id`),
  KEY `cta_cte_tesoreria_cuentas_moneda_id_foreign` (`moneda_id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_tes_tipo_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_tipo_id`) REFERENCES `cta_cte_tesoreria_cuenta_tipos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=761 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_cuentas`
--

INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (13,NULL,1,13,NULL,8,'Clientes - Deudores',NULL,0,0,0,0,0,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(20,NULL,1,20,NULL,8,'Anticipos Impuesto a las Ganancias',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(23,NULL,1,23,NULL,4,'Retenciones Impuesto a las Ganancias',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(25,NULL,1,25,NULL,4,'Retenciones de IVA',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(57,NULL,1,57,NULL,8,'Proveedores en Cta. Cte. locales',NULL,0,0,0,0,0,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(60,NULL,1,60,NULL,3,'Cheques emitidos ',NULL,0,1,1,1,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(62,NULL,1,62,NULL,8,'Sueldos y Jornales a pagar',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(140,NULL,1,140,NULL,6,'Intereses y Gastos bancarios',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(162,NULL,1,162,NULL,4,'Retenciones SUSS',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(176,NULL,1,176,NULL,3,'Cheques en Cartera',NULL,1,0,1,1,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(201,NULL,1,201,NULL,6,'Monotributo',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(203,NULL,1,203,NULL,6,'Autonomos',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(219,NULL,1,219,NULL,8,'Pagos AFIP',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(251,NULL,1,251,NULL,4,'Retenciones de IIBB Buenos Aires',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(252,NULL,1,252,NULL,4,'Retenciones de IIBB Capital Federal',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(253,NULL,1,253,NULL,4,'Retenciones de IIBB Catamarca',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(254,NULL,1,254,NULL,4,'Retenciones de IIBB Chaco',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(255,NULL,1,255,NULL,4,'Retenciones de IIBB Chubut',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(256,NULL,1,256,NULL,4,'Retenciones de IIBB Córdoba',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(257,NULL,1,257,NULL,4,'Retenciones de IIBB Corrientes',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(258,NULL,1,258,NULL,4,'Retenciones de IIBB Entre Ríos',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(259,NULL,1,259,NULL,4,'Retenciones de IIBB Formosa',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(260,NULL,1,260,NULL,4,'Retenciones de IIBB Jujuy',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(261,NULL,1,261,NULL,4,'Retenciones de IIBB La Pampa',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(262,NULL,1,262,NULL,4,'Retenciones de IIBB La Rioja',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(263,NULL,1,263,NULL,4,'Retenciones de IIBB Mendoza',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(264,NULL,1,264,NULL,4,'Retenciones de IIBB Misiones',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(265,NULL,1,265,NULL,4,'Retenciones de IIBB Neuquén',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(266,NULL,1,266,NULL,4,'Retenciones de IIBB Pascua Lama',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(267,NULL,1,267,NULL,4,'Retenciones de IIBB Río Negro',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(268,NULL,1,268,NULL,4,'Retenciones de IIBB Salta',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(269,NULL,1,269,NULL,4,'Retenciones de IIBB San Juan',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(270,NULL,1,270,NULL,4,'Retenciones de IIBB San Luis',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (271,NULL,1,271,NULL,4,'Retenciones de IIBB Santa Cruz',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(272,NULL,1,272,NULL,4,'Retenciones de IIBB Santa Fe',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(273,NULL,1,273,NULL,4,'Retenciones de IIBB Santiago del Estero',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(274,NULL,1,274,NULL,4,'Retenciones de IIBB Tierra del Fuego',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(275,NULL,1,275,NULL,4,'Retenciones de IIBB Tucuman',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(351,NULL,1,351,NULL,8,'BANCO SIRCREB',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(359,NULL,1,359,NULL,8,'Caja en Pesos',NULL,0,0,1,1,1,0,1,'2019-10-19 02:10:24','2023-03-20 23:14:12','2023-03-20 23:14:12'),(360,NULL,1,360,NULL,8,'Retenciones Bancarias de Ganancias a Favor',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(364,NULL,1,364,NULL,8,'Anticipo de Clientes',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(384,NULL,1,384,NULL,8,'Caja en Dolares',NULL,0,0,1,1,1,0,1,'2019-10-19 02:10:24','2023-03-20 23:14:12','2023-03-20 23:14:12'),(409,NULL,1,409,NULL,6,'IVA Crédito Fiscal No computable',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(418,NULL,1,418,NULL,8,'Deudas Bancarias',NULL,0,0,0,1,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(433,NULL,1,433,NULL,8,'Préstamo',NULL,0,0,0,1,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(441,NULL,1,441,NULL,8,'Leasing',NULL,0,0,0,1,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(448,NULL,1,448,NULL,8,'Planes de Pagos AFIP',NULL,0,0,0,1,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(450,NULL,1,450,NULL,3,'Cheques Rechazados',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(467,NULL,1,467,NULL,6,'Interés',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:07:48',NULL),(468,NULL,1,14,NULL,8,'Deudores por ventas comunes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(469,NULL,1,15,NULL,8,'Deudores por ventas morosos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(470,NULL,1,16,NULL,8,'Deudores en gestión judicial',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(471,NULL,1,17,NULL,8,'Previsión deudores incobrables',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(472,NULL,1,22,NULL,8,'Anticipo Impto.Ganancia Mínima Presunta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(473,NULL,1,24,NULL,4,'Impuesto a las Ganancias (Saldo a favor)',NULL,0,0,0,0,0,1,0,'2020-02-06 17:23:07','2023-06-02 07:54:48',NULL),(474,NULL,1,27,NULL,8,'Anticipos de proveedores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(475,NULL,1,28,NULL,8,'Depósito en garantía alquileres',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(476,NULL,1,29,NULL,8,'Derechos adquiridos a devengar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(477,NULL,1,30,NULL,8,'Intereses a devengar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(478,NULL,1,31,NULL,8,'Cuentas a rendir - Directores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(479,NULL,1,32,NULL,8,'Alquileres no devengados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(480,NULL,1,38,NULL,8,'Equipos de computación valores históricos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(481,NULL,1,39,NULL,8,'Equipos de computación ajuste',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(482,NULL,1,40,NULL,8,'Amortización Acumulada Equipos de comput.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (483,NULL,1,42,NULL,8,'Instalaciones valores históricos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(484,NULL,1,43,NULL,8,'Instalaciones ajuste',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(485,NULL,1,44,NULL,8,'Amortización Acumulada Instalaciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(486,NULL,1,46,NULL,8,'Muebles y utiles valores históricos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(487,NULL,1,47,NULL,8,'Muebles y utiles ajuste',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(488,NULL,1,48,NULL,8,'Amortización Acumulada Muebles y Útiles',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(489,NULL,1,50,NULL,8,'Gastos de organización valores historicos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(490,NULL,1,51,NULL,8,'Gastos de organización ajuste',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(491,NULL,1,52,NULL,8,'Amortización acumulada gs. de organización',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(492,NULL,1,58,NULL,8,'Proveedores en cta. cte. exterior',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(493,NULL,1,59,NULL,8,'Derechos de exhibición a devengar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(494,NULL,1,63,NULL,8,'Cargas sociales a pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(495,NULL,1,64,NULL,8,'Sindicatos a Pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(496,NULL,1,67,NULL,8,'IVA Debito Fiscal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(497,NULL,1,68,NULL,8,'IVA Credito Fiscal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(498,NULL,1,69,NULL,8,'Impuestos Internos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(499,NULL,1,70,NULL,8,'Impuestos al Combustible',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(500,NULL,1,71,NULL,8,'IVA Retenciones de terceros',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(501,NULL,1,72,NULL,5,'IVA Percepciones realiz.por terceros',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(502,NULL,1,73,NULL,8,'IVA Saldo a favor',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(503,NULL,1,74,NULL,8,'IVA a pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(504,NULL,1,75,NULL,5,'Percepciones Ingresos Brutos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(505,NULL,1,76,NULL,8,'Otros Pagos AFIP',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(506,NULL,1,78,NULL,8,'Impuesto a los Ingresos Brutos Pasivo',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(507,NULL,1,79,NULL,8,'Impuesto a las Ganancias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(508,NULL,1,80,NULL,8,'Impuesto a la Ganancia Mínima Presunta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(509,NULL,1,81,NULL,8,'AFIP - Retenciones Impuesto a las Ganancias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(510,NULL,1,82,NULL,8,'AFIP - Plan de Facilidades Decreto 338/02',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(511,NULL,1,87,NULL,8,'Acciones en circulación',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(512,NULL,1,88,NULL,8,'Ajuste del Capital',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(513,NULL,1,89,NULL,8,'Aportes Irrevocables Futuras Suscripciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(514,NULL,1,91,NULL,8,'Resultado del ejercicio',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (515,NULL,1,92,NULL,8,'Resultado ejercicios anteriores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(516,NULL,1,93,NULL,8,'A.R.E.A.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(517,NULL,1,96,NULL,7,'VENTAS',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(518,NULL,1,97,NULL,7,'Honorarios',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(519,NULL,1,99,NULL,7,'Descuentos obtenidos',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(520,NULL,1,100,NULL,7,'Reintegros por exportaciones',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(521,NULL,1,102,NULL,7,'Intereses Cobrados',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(522,NULL,1,103,NULL,7,'Diferencias de cambio',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(523,NULL,1,104,NULL,7,'Descuentos obtenidos',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(524,NULL,1,110,NULL,6,'Sueldos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(525,NULL,1,111,NULL,6,'Contribuciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(526,NULL,1,112,NULL,6,'Sindicato',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(527,NULL,1,114,NULL,8,'ACA',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(528,NULL,1,115,NULL,6,'Aereos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(529,NULL,1,116,NULL,6,'Alquiler',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(530,NULL,1,117,NULL,8,'AGUA AYSA',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(531,NULL,1,118,NULL,8,'TV Cablevision',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(532,NULL,1,119,NULL,1,'Caja Jubilacion Consejo',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(533,NULL,1,120,NULL,6,'Celulares',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(534,NULL,1,121,NULL,3,'Cheques',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(535,NULL,1,123,NULL,8,'Comida',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(536,NULL,1,126,NULL,6,'Fletes y acarreos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(537,NULL,1,127,NULL,8,'Luz Edesur',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(538,NULL,1,128,NULL,6,'Movilidad y Viáticos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(539,NULL,1,129,NULL,8,'Mantenimiento',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(540,NULL,1,130,NULL,8,'IVA No Computable',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(541,NULL,1,131,NULL,8,'Entretenimiento',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(542,NULL,1,132,NULL,6,'Amortización Bienes de Uso',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(543,NULL,1,135,NULL,6,'Gastos varios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(544,NULL,1,136,NULL,6,'Ajuste por redondeo',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(545,NULL,1,137,NULL,6,'Deudores Incobrables',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(546,NULL,1,141,NULL,6,'Intereses Proveedores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(547,NULL,1,143,NULL,6,'Diferencias de cambio',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(548,NULL,1,144,NULL,8,'Diferencia de Cambio Bces. en M.Extranjera',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(549,NULL,1,145,NULL,6,'Diferencia tipo cambio Vendedor/Comprador',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (550,NULL,1,146,NULL,8,'Diferencia por conversion en Bce. en Mon. Extranj.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(551,NULL,1,147,NULL,8,'Diferencia de cambio CMV',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(552,NULL,1,148,NULL,8,'Diferencia de cambio PT',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(553,NULL,1,149,NULL,8,'Resultado por Exposición a la Inflación',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(554,NULL,1,150,NULL,8,'Diferencia de cambio PE',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(555,NULL,1,151,NULL,8,'Diferencia de cambio Ds.Vtas.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(556,NULL,1,152,NULL,6,'Diferencia de cambio ME',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(557,NULL,1,153,NULL,6,'Descuentos otorgados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(558,NULL,1,155,NULL,6,'Impuesto a las Ganancias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(559,NULL,1,156,NULL,6,'Impuesto a los Ingresos Brutos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(560,NULL,1,157,NULL,6,'Impuesto al Debito y Credito Bancario',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(561,NULL,1,159,NULL,6,'Pérdida por venta bienes de uso',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(562,NULL,1,160,NULL,6,'Inversiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(563,NULL,1,161,NULL,6,'Amortizaciones extraordinarias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(564,NULL,1,178,NULL,8,'Google',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(565,NULL,1,188,NULL,6,'Publicidad',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(566,NULL,1,191,NULL,6,'Cargas Sociales',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(567,NULL,1,192,NULL,6,'Honorarios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(568,NULL,1,193,NULL,6,'Telefono Fijo',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(569,NULL,1,198,NULL,6,'Seguros',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(570,NULL,1,199,NULL,6,'Internet',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(571,NULL,1,204,NULL,6,'Multas Impositivas',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(572,NULL,1,208,NULL,6,'Impuesto a los Ingresos Brutos - BS AS',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(573,NULL,1,209,NULL,6,'SIRCREB',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(574,NULL,1,212,NULL,6,'Tarjeta Visa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(575,NULL,1,213,NULL,6,'Tarjeta American Express',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(576,NULL,1,214,NULL,6,'Tarjeta Mastercard',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(577,NULL,1,215,NULL,8,'Tarjeta Shopping',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(578,NULL,1,216,NULL,6,'Tarjeta Cencosud',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(579,NULL,1,217,NULL,6,'Compras',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(580,NULL,1,218,NULL,7,'Ventas No Gravadas',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(581,NULL,1,220,NULL,5,'Perc IVA -RG3337',NULL,0,0,0,0,0,1,0,'2020-02-06 17:23:07','2023-06-02 07:54:48',NULL),(582,NULL,1,221,NULL,6,'Imps. Internos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(583,NULL,1,222,NULL,6,'Imp. Gasoil',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (584,NULL,1,223,NULL,6,'Imp. Hídricos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(585,NULL,1,224,NULL,6,'ITC',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(586,NULL,1,225,NULL,5,'Perc IIBB  Buenos Aires',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(587,NULL,1,226,NULL,5,'Perc IIBB  Capital Federal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(588,NULL,1,227,NULL,5,'Perc IIBB  Catamarca',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(589,NULL,1,228,NULL,5,'Perc IIBB  Chaco',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(590,NULL,1,229,NULL,5,'Perc IIBB  Chubut',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(591,NULL,1,230,NULL,5,'Perc IIBB  Córdoba',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(592,NULL,1,231,NULL,5,'Perc IIBB  Corrientes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(593,NULL,1,232,NULL,5,'Perc IIBB  Entre Ríos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(594,NULL,1,233,NULL,5,'Perc IIBB  Formosa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(595,NULL,1,234,NULL,5,'Perc IIBB  Jujuy',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(596,NULL,1,235,NULL,5,'Perc IIBB  La Pampa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(597,NULL,1,236,NULL,5,'Perc IIBB  La Rioja',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(598,NULL,1,237,NULL,5,'Perc IIBB  Mendoza',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(599,NULL,1,238,NULL,5,'Perc IIBB  Misiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(600,NULL,1,239,NULL,5,'Perc IIBB  Neuquén',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(601,NULL,1,240,NULL,5,'Perc IIBB  Pascua Lama',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(602,NULL,1,241,NULL,5,'Perc IIBB  Río Negro',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(603,NULL,1,242,NULL,5,'Perc IIBB  Salta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(604,NULL,1,243,NULL,5,'Perc IIBB  San Juan',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(605,NULL,1,244,NULL,5,'Perc IIBB  San Luis',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(606,NULL,1,245,NULL,5,'Perc IIBB  Santa Cruz',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(607,NULL,1,246,NULL,5,'Perc IIBB  Santa Fe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(608,NULL,1,247,NULL,5,'Perc IIBB  Santiago del Estero',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(609,NULL,1,248,NULL,5,'Perc IIBB  Tierra del Fuego',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(610,NULL,1,249,NULL,5,'Perc IIBB  Tucuman',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(611,NULL,1,250,NULL,6,'Compras No Gravadas',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(612,NULL,1,276,NULL,6,'SIRCREB Buenos Aires',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(613,NULL,1,277,NULL,6,'SIRCREB Capital Federal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(614,NULL,1,278,NULL,6,'SIRCREB Catamarca',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(615,NULL,1,279,NULL,6,'SIRCREB Chaco',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(616,NULL,1,280,NULL,6,'SIRCREB Chubut',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(617,NULL,1,281,NULL,6,'SIRCREB Córdoba',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(618,NULL,1,282,NULL,6,'SIRCREB Corrientes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (619,NULL,1,283,NULL,6,'SIRCREB Entre Ríos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(620,NULL,1,284,NULL,6,'SIRCREB Formosa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(621,NULL,1,285,NULL,6,'SIRCREB Jujuy',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(622,NULL,1,286,NULL,6,'SIRCREB La Pampa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(623,NULL,1,287,NULL,6,'SIRCREB La Rioja',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(624,NULL,1,288,NULL,6,'SIRCREB Mendoza',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(625,NULL,1,289,NULL,6,'SIRCREB Misiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(626,NULL,1,290,NULL,6,'SIRCREB Neuquén',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(627,NULL,1,291,NULL,6,'SIRCREB Pascua Lama',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(628,NULL,1,292,NULL,6,'SIRCREB Río Negro',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(629,NULL,1,293,NULL,6,'SIRCREB Salta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(630,NULL,1,294,NULL,6,'SIRCREB San Juan',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(631,NULL,1,295,NULL,6,'SIRCREB San Luis',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(632,NULL,1,296,NULL,6,'SIRCREB Santa Cruz',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(633,NULL,1,297,NULL,6,'SIRCREB Santa Fe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(634,NULL,1,298,NULL,6,'SIRCREB Santiago del Estero',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(635,NULL,1,299,NULL,6,'SIRCREB Tierra del Fuego',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(636,NULL,1,300,NULL,6,'SIRCREB Tucuman',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(637,NULL,1,301,NULL,8,'IIBB a Favor Buenos Aires',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(638,NULL,1,302,NULL,8,'IIBB a Favor Capital Federal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(639,NULL,1,303,NULL,8,'IIBB a Favor Catamarca',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(640,NULL,1,304,NULL,8,'IIBB a Favor Chaco',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(641,NULL,1,305,NULL,8,'IIBB a Favor Chubut',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(642,NULL,1,306,NULL,8,'IIBB a Favor Córdoba',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(643,NULL,1,307,NULL,8,'IIBB a Favor Corrientes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(644,NULL,1,308,NULL,8,'IIBB a Favor Entre Ríos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(645,NULL,1,309,NULL,8,'IIBB a Favor Formosa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(646,NULL,1,310,NULL,8,'IIBB a Favor Jujuy',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(647,NULL,1,311,NULL,8,'IIBB a Favor La Pampa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(648,NULL,1,312,NULL,8,'IIBB a Favor La Rioja',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(649,NULL,1,313,NULL,8,'IIBB a Favor Mendoza',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:07:48',NULL),(650,NULL,1,314,NULL,8,'IIBB a Favor Misiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:48',NULL),(651,NULL,1,315,NULL,8,'IIBB a Favor Neuquén',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:48',NULL),(652,NULL,1,316,NULL,8,'IIBB a Favor Pascua Lama',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:48',NULL),(653,NULL,1,317,NULL,8,'IIBB a Favor Río Negro',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:48',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (654,NULL,1,318,NULL,8,'IIBB a Favor Salta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:48',NULL),(655,NULL,1,319,NULL,8,'IIBB a Favor San Juan',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:48',NULL),(656,NULL,1,320,NULL,8,'IIBB a Favor San Luis',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(657,NULL,1,321,NULL,8,'IIBB a Favor Santa Cruz',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(658,NULL,1,322,NULL,8,'IIBB a Favor Santa Fe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(659,NULL,1,323,NULL,8,'IIBB a Favor Santiago del Estero',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(660,NULL,1,324,NULL,8,'IIBB a Favor Tierra del Fuego',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(661,NULL,1,325,NULL,8,'IIBB a Favor Tucuman',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(662,NULL,1,326,NULL,8,'IIBB a Pagar Buenos Aires',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(663,NULL,1,327,NULL,8,'IIBB a Pagar Capital Federal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(664,NULL,1,328,NULL,8,'IIBB a Pagar Catamarca',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(665,NULL,1,329,NULL,8,'IIBB a Pagar Chaco',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(666,NULL,1,330,NULL,8,'IIBB a Pagar Chubut',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(667,NULL,1,331,NULL,8,'IIBB a Pagar Córdoba',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(668,NULL,1,332,NULL,8,'IIBB a Pagar Corrientes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(669,NULL,1,333,NULL,8,'IIBB a Pagar Entre Ríos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(670,NULL,1,334,NULL,8,'IIBB a Pagar Formosa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(671,NULL,1,335,NULL,8,'IIBB a Pagar Jujuy',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(672,NULL,1,336,NULL,8,'IIBB a Pagar La Pampa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(673,NULL,1,337,NULL,8,'IIBB a Pagar La Rioja',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(674,NULL,1,338,NULL,8,'IIBB a Pagar Mendoza',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(675,NULL,1,339,NULL,8,'IIBB a Pagar Misiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(676,NULL,1,340,NULL,8,'IIBB a Pagar Neuquén',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(677,NULL,1,341,NULL,8,'IIBB a Pagar Pascua Lama',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(678,NULL,1,342,NULL,8,'IIBB a Pagar Río Negro',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(679,NULL,1,343,NULL,8,'IIBB a Pagar Salta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(680,NULL,1,344,NULL,8,'IIBB a Pagar San Juan',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(681,NULL,1,345,NULL,8,'IIBB a Pagar San Luis',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(682,NULL,1,346,NULL,8,'IIBB a Pagar Santa Cruz',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(683,NULL,1,347,NULL,8,'IIBB a Pagar Santa Fe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(684,NULL,1,348,NULL,8,'IIBB a Pagar Santiago del Estero',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(685,NULL,1,349,NULL,8,'IIBB a Pagar Tierra del Fuego',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(686,NULL,1,350,NULL,8,'IIBB a Pagar Tucuman',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(687,NULL,1,352,NULL,8,'Compensacion',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (688,NULL,1,353,NULL,8,'IVA Saldo Tecnico',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(689,NULL,1,354,NULL,8,'IVA Saldo Libre Disponibilidad',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(690,NULL,1,361,NULL,8,'Equipos de Computación',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(691,NULL,1,362,NULL,8,'Computadoras',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(692,NULL,1,363,NULL,8,'Muebles y Utiles',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(693,NULL,1,365,NULL,8,'Provision Honorarios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(694,NULL,1,366,NULL,8,'Cta. Cte Directores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(695,NULL,1,367,NULL,8,'Provisión Honorarios Directores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(696,NULL,1,368,NULL,8,'Cuenta Particular Socio 1',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(697,NULL,1,369,NULL,8,'Capital',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(698,NULL,1,380,NULL,8,'Instalaciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(699,NULL,1,381,NULL,8,'Reserva Legal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(700,NULL,1,382,NULL,8,'Reserva Legal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(701,NULL,1,383,NULL,8,'Resultado no asignado',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(702,NULL,1,386,NULL,8,'PLAZO FIJO',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(703,NULL,1,388,NULL,8,'ACCIONES',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(704,NULL,1,389,NULL,8,'Inmuebles',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(705,NULL,1,390,NULL,8,'Vehiculos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(706,NULL,1,391,NULL,8,'Maquinarias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(707,NULL,1,392,NULL,8,'MERCADERIAS',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(708,NULL,1,393,NULL,8,'OTROS',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(709,NULL,1,395,NULL,8,'Cuenta Particular Socio 2',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(710,NULL,1,396,NULL,6,'Comisiones Y gastos Bancarios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(711,NULL,1,411,NULL,8,'Provisión Impuesto a las Ganancias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(712,NULL,1,412,NULL,6,'Amortización Muebles y Útiles',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(713,NULL,1,413,NULL,6,'Amortización Equipos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(714,NULL,1,414,NULL,8,'Amortizacion Acumulada Equipos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(715,NULL,1,415,NULL,8,'Amortización Acumulada Maquinarias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(716,NULL,1,416,NULL,8,'Materias Primas',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(717,NULL,1,419,NULL,8,'Rodados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(718,NULL,1,420,NULL,8,'Amortización Acumulada Rodados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(719,NULL,1,421,NULL,8,'Amortización Rodados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(720,NULL,1,422,NULL,8,'Amortización Maquinarias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(721,NULL,1,423,NULL,8,'Accesorios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(722,NULL,1,424,NULL,8,'Amortización Acumulada Accesorios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (723,NULL,1,426,NULL,8,'Reserva Facultativa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(724,NULL,1,427,NULL,8,'Créditos por Impuestos Diferidos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(725,NULL,1,428,NULL,8,'Fondo de Comercio',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(726,NULL,1,429,NULL,8,'Amortizacion Acumulada Fondo de Comercio',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(727,NULL,1,430,NULL,8,'Intereses a devengar AGIP',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(728,NULL,1,431,NULL,8,'PFP IIBB',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(729,NULL,1,434,NULL,8,'Productos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(730,NULL,1,435,NULL,8,'Intereses a devengar PFP',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(731,NULL,1,437,NULL,8,'Imp. Ley 25413 Cred 0.6%',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(732,NULL,1,438,NULL,8,'Honorarios Directorio a Pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(733,NULL,1,439,NULL,8,'Reserva para Futuras Inversiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(734,NULL,1,440,NULL,8,'TEAC - Trabajos Ejecutados a Certificar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(735,NULL,1,444,NULL,8,'Banco Santander Rio Cta Cte',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(736,NULL,1,449,NULL,8,'Leasing',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(737,NULL,1,453,NULL,8,'Inversión Central Caribe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(738,NULL,1,454,NULL,8,'Otras Inversiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(739,NULL,1,455,NULL,8,'Otros Créditos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(740,NULL,1,456,NULL,8,'Provisión Honorarios Socio Gerente',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(741,NULL,1,459,NULL,8,'Moratoria SUSS a pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(742,NULL,1,460,NULL,8,'Impuestos Municipales a Pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(743,NULL,1,461,NULL,6,'Amortización Instalaciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(744,NULL,1,462,NULL,8,'Amortización Equipos de comput.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(745,NULL,1,463,NULL,8,'Cuenta Particular Socio 3',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(746,NULL,1,464,NULL,8,'Cuenta Particular Socio 4',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(747,NULL,1,465,NULL,8,'Otras Reservas',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(748,NULL,1,466,NULL,8,'IGMP (Saldo a Favor)',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(749,NULL,1,468,NULL,8,'Productos en Proceso',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(750,NULL,1,469,NULL,8,'Depósitos en Garantía Socio Gerente',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(751,NULL,1,470,NULL,8,'Fondos Embargados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(752,NULL,1,471,NULL,8,'Cuota Solid.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(753,NULL,1,472,NULL,8,'Anticipo Honorarios Directores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(754,NULL,1,473,NULL,8,'SICORE a Pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(755,NULL,1,476,NULL,6,'RECPAM',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL),(756,NULL,1,478,NULL,6,'CO2 - Imp. Al Carbono',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:07:49',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (757,NULL,1,484,40720,8,'Mercado Pago',NULL,0,0,1,1,1,0,1,'2022-08-28 15:00:01','2023-03-27 00:07:49',NULL),(758,NULL,1,497,40720,2,'Banco Santander Rio Cta. Cte.',NULL,0,0,1,1,1,0,1,'2022-09-04 05:32:40','2023-03-27 00:07:49',NULL),(759,7730,1,484,40720,1,'Mercado Pago',NULL,0,0,1,1,1,0,1,'2023-03-27 14:24:34','2023-03-27 14:24:34',NULL),(760,7730,1,359,40720,1,'Caja',NULL,0,0,1,1,1,0,1,'2023-03-28 16:19:07','2023-03-28 16:19:07',NULL);

--
-- Table structure for table `cta_cte_tesoreria_detail`
--

CREATE TABLE `cta_cte_tesoreria_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `monto` decimal(16,2) NOT NULL,
  `is_conciliado` tinyint(1) NOT NULL DEFAULT '0',
  `fecha` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_detail_cta_cte_tesoreria_id_foreign` (`cta_cte_tesoreria_id`),
  KEY `cta_cte_tesoreria_detail_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_detail_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_detail_period_id_foreign` (`period_id`),
  KEY `cta_cte_tesoreria_detail_saldo_id_foreign` (`saldo_id`),
  CONSTRAINT `cta_cte_tesoreria_detail_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_cta_cte_tesoreria_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_id`) REFERENCES `cta_cte_tesoreria` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=330 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_detail`
--

INSERT INTO `cta_cte_tesoreria_detail` VALUES (65,7730,33,13,40720,1520,2,5272.00,0,'2020-09-30','2022-09-02 04:48:48','2022-09-02 04:48:48',NULL),(66,7730,33,757,40720,1520,1,5272.00,0,'2020-09-30','2022-09-02 04:48:48','2022-09-02 04:48:48',NULL),(67,7730,34,13,40720,1521,2,4815.00,0,'2020-10-15','2022-09-02 04:50:02','2022-09-02 04:50:02',NULL),(68,7730,34,757,40720,1521,1,4815.00,0,'2020-10-15','2022-09-02 04:50:02','2022-09-02 04:50:02',NULL),(71,7730,36,13,40720,1522,2,219.00,0,'2020-11-20','2022-09-02 04:52:22','2022-09-02 04:52:22',NULL),(72,7730,36,757,40720,1522,1,219.00,0,'2020-11-20','2022-09-02 04:52:22','2022-09-02 04:52:22',NULL),(75,7730,38,13,40720,1522,2,150.00,0,'2020-11-20','2022-09-02 04:54:33','2022-09-02 04:54:33',NULL),(76,7730,38,757,40720,1522,1,150.00,0,'2020-11-20','2022-09-02 04:54:33','2022-09-02 04:54:33',NULL),(77,7730,39,13,40720,1522,2,150.00,0,'2020-11-20','2022-09-02 04:55:29','2022-09-02 04:55:29',NULL),(78,7730,39,757,40720,1522,1,150.00,0,'2020-11-20','2022-09-02 04:55:29','2022-09-02 04:55:29',NULL),(79,7730,40,13,40720,1522,2,219.00,0,'2020-11-20','2022-09-02 04:56:45','2022-09-02 04:56:45',NULL),(80,7730,40,757,40720,1522,1,219.00,0,'2020-11-20','2022-09-02 04:56:45','2022-09-02 04:56:45',NULL),(81,7730,41,13,40720,1522,2,1959.00,0,'2020-11-20','2022-09-02 04:57:54','2022-09-02 04:57:54',NULL),(82,7730,41,757,40720,1522,1,1959.00,0,'2020-11-20','2022-09-02 04:57:54','2022-09-02 04:57:54',NULL),(87,7730,44,13,40720,1522,2,5295.00,0,'2020-11-03','2022-09-02 05:11:36','2022-09-02 05:11:36',NULL),(88,7730,44,757,40720,1522,1,5295.00,0,'2020-11-03','2022-09-02 05:11:36','2022-09-02 05:11:36',NULL),(89,7730,45,57,40720,1522,1,1346.89,0,'2020-11-12','2022-09-03 23:06:29','2022-09-03 23:06:29',NULL),(90,7730,45,757,40720,1522,2,1346.89,0,'2020-11-12','2022-09-03 23:06:29','2022-09-03 23:06:29',NULL),(91,7730,46,13,40720,1522,2,11754.01,0,'2020-11-20','2022-09-04 02:30:53','2022-09-04 02:30:53',NULL),(92,7730,46,757,40720,1522,1,11754.01,0,'2020-11-20','2022-09-04 02:30:53','2022-09-04 02:30:53',NULL),(93,7730,47,13,40720,1522,2,150.00,0,'2020-11-30','2022-09-04 02:32:18','2022-09-04 02:32:18',NULL),(94,7730,47,757,40720,1522,1,150.00,0,'2020-11-30','2022-09-04 02:32:18','2022-09-04 02:32:18',NULL),(95,7730,48,13,40720,1523,2,7238.99,0,'2020-12-03','2022-09-04 04:29:57','2022-09-04 04:29:57',NULL),(96,7730,48,757,40720,1523,1,7238.99,0,'2020-12-03','2022-09-04 04:29:57','2022-09-04 04:29:57',NULL),(97,7730,49,13,40720,1523,2,7238.99,0,'2020-12-03','2022-09-04 04:31:28','2022-09-04 04:31:28',NULL),(98,7730,49,757,40720,1523,1,7238.99,0,'2020-12-03','2022-09-04 04:31:28','2022-09-04 04:31:28',NULL),(99,7730,50,13,40720,1523,2,7238.99,0,'2020-12-03','2022-09-04 04:37:21','2022-09-04 04:37:21',NULL),(100,7730,50,757,40720,1523,1,7238.99,0,'2020-12-03','2022-09-04 04:37:21','2022-09-04 04:37:21',NULL),(101,7730,51,13,40720,1523,2,14478.00,0,'2020-12-04','2022-09-04 04:38:26','2022-09-04 04:38:26',NULL),(102,7730,51,757,40720,1523,1,14478.00,0,'2020-12-04','2022-09-04 04:38:26','2022-09-04 04:38:26',NULL),(103,7730,52,13,40720,1523,2,8685.00,0,'2020-12-07','2022-09-04 04:39:39','2022-09-04 04:39:39',NULL),(104,7730,52,757,40720,1523,1,8685.00,0,'2020-12-07','2022-09-04 04:39:39','2022-09-04 04:39:39',NULL),(105,7730,53,13,40720,1523,2,7238.99,0,'2020-12-07','2022-09-04 04:40:44','2022-09-04 04:40:44',NULL),(106,7730,53,757,40720,1523,1,7238.99,0,'2020-12-07','2022-09-04 04:40:44','2022-09-04 04:40:44',NULL),(107,7730,54,13,40720,1523,2,7238.99,0,'2020-12-09','2022-09-04 04:42:14','2022-09-04 04:42:14',NULL),(108,7730,54,757,40720,1523,1,7238.99,0,'2020-12-09','2022-09-04 04:42:14','2022-09-04 04:42:14',NULL),(109,7730,55,13,40720,1523,2,7238.99,0,'2020-12-09','2022-09-04 04:43:40','2022-09-04 04:43:40',NULL),(110,7730,55,757,40720,1523,1,7238.99,0,'2020-12-09','2022-09-04 04:43:40','2022-09-04 04:43:40',NULL),(111,7730,56,13,40720,1523,2,7238.99,0,'2020-12-10','2022-09-04 04:44:24','2022-09-04 04:44:24',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (112,7730,56,757,40720,1523,1,7238.99,0,'2020-12-10','2022-09-04 04:44:24','2022-09-04 04:44:24',NULL),(113,7730,57,13,40720,1523,2,7238.99,0,'2020-12-17','2022-09-04 04:45:26','2022-09-04 04:45:26',NULL),(114,7730,57,757,40720,1523,1,7238.99,0,'2020-12-17','2022-09-04 04:45:26','2022-09-04 04:45:26',NULL),(115,7730,58,13,40720,1523,2,7238.99,0,'2020-12-17','2022-09-04 04:47:59','2022-09-04 04:47:59',NULL),(116,7730,58,757,40720,1523,1,7238.99,0,'2020-12-17','2022-09-04 04:47:59','2022-09-04 04:47:59',NULL),(117,7730,59,13,40720,1523,2,7238.99,0,'2020-12-17','2022-09-04 04:48:58','2022-09-04 04:48:58',NULL),(118,7730,59,757,40720,1523,1,7238.99,0,'2020-12-17','2022-09-04 04:48:58','2022-09-04 04:48:58',NULL),(119,7730,60,13,40720,1523,2,7238.99,0,'2020-12-17','2022-09-04 04:50:16','2022-09-04 04:50:16',NULL),(120,7730,60,757,40720,1523,1,7238.99,0,'2020-12-17','2022-09-04 04:50:16','2022-09-04 04:50:16',NULL),(121,7730,61,13,40720,1523,2,7238.99,0,'2020-12-17','2022-09-04 04:51:10','2022-09-04 04:51:10',NULL),(122,7730,61,757,40720,1523,1,7238.99,0,'2020-12-17','2022-09-04 04:51:10','2022-09-04 04:51:10',NULL),(123,7730,62,13,40720,1523,2,8685.00,0,'2020-12-17','2022-09-04 04:52:07','2022-09-04 04:52:07',NULL),(124,7730,62,757,40720,1523,1,8685.00,0,'2020-12-17','2022-09-04 04:52:07','2022-09-04 04:52:07',NULL),(125,7730,63,13,40720,1523,2,7238.99,0,'2020-12-17','2022-09-04 04:53:16','2022-09-04 04:53:16',NULL),(126,7730,63,757,40720,1523,1,7238.99,0,'2020-12-17','2022-09-04 04:53:16','2022-09-04 04:53:16',NULL),(127,7730,64,13,40720,1523,2,7238.99,0,'2020-12-17','2022-09-04 04:54:08','2022-09-04 04:54:08',NULL),(128,7730,64,757,40720,1523,1,7238.99,0,'2020-12-17','2022-09-04 04:54:08','2022-09-04 04:54:08',NULL),(129,7730,65,13,40720,1523,2,7238.99,0,'2020-12-17','2022-09-04 04:55:06','2022-09-04 04:55:06',NULL),(130,7730,65,757,40720,1523,1,7238.99,0,'2020-12-17','2022-09-04 04:55:06','2022-09-04 04:55:06',NULL),(131,7730,66,13,40720,1523,2,7238.99,0,'2020-12-17','2022-09-04 04:56:15','2022-09-04 04:56:15',NULL),(132,7730,66,757,40720,1523,1,7238.99,0,'2020-12-17','2022-09-04 04:56:15','2022-09-04 04:56:15',NULL),(133,7730,67,13,40720,1523,2,8685.00,0,'2020-12-17','2022-09-04 04:57:04','2022-09-04 04:57:04',NULL),(134,7730,67,757,40720,1523,1,8685.00,0,'2020-12-17','2022-09-04 04:57:04','2022-09-04 04:57:04',NULL),(135,7730,68,13,40720,1523,2,4955.00,0,'2020-12-17','2022-09-04 04:57:56','2022-09-04 04:57:56',NULL),(136,7730,68,757,40720,1523,1,4955.00,0,'2020-12-17','2022-09-04 04:57:56','2022-09-04 04:57:56',NULL),(137,7730,69,13,40720,1523,2,3880.00,0,'2020-12-17','2022-09-04 04:58:49','2022-09-04 04:58:49',NULL),(138,7730,69,757,40720,1523,1,3880.00,0,'2020-12-17','2022-09-04 04:58:49','2022-09-04 04:58:49',NULL),(139,7730,70,13,40720,1523,2,14478.00,0,'2020-12-17','2022-09-04 04:59:44','2022-09-04 04:59:44',NULL),(140,7730,70,757,40720,1523,1,14478.00,0,'2020-12-17','2022-09-04 04:59:44','2022-09-04 04:59:44',NULL),(141,7730,71,13,40720,1523,2,7238.99,0,'2020-12-18','2022-09-04 05:00:55','2022-09-04 05:00:55',NULL),(142,7730,71,757,40720,1523,1,7238.99,0,'2020-12-18','2022-09-04 05:00:55','2022-09-04 05:00:55',NULL),(143,7730,72,13,40720,1523,2,7971.00,0,'2020-12-22','2022-09-04 05:01:50','2022-09-04 05:01:50',NULL),(144,7730,72,757,40720,1523,1,7971.00,0,'2020-12-22','2022-09-04 05:01:50','2022-09-04 05:01:50',NULL),(145,7730,73,13,40720,1523,2,7238.99,0,'2020-12-22','2022-09-04 05:02:47','2022-09-04 05:02:47',NULL),(146,7730,73,757,40720,1523,1,7238.99,0,'2020-12-22','2022-09-04 05:02:47','2022-09-04 05:02:47',NULL),(147,7730,74,57,40720,1523,1,17067.75,0,'2020-12-09','2022-09-04 05:23:20','2022-09-04 05:23:20',NULL),(148,7730,74,757,40720,1523,2,17067.75,0,'2020-12-09','2022-09-04 05:23:20','2022-09-04 05:23:20',NULL),(149,7730,75,57,40720,1523,1,20000.00,0,'2020-12-15','2022-09-04 05:34:03','2022-09-04 05:34:03',NULL),(150,7730,75,758,40720,1523,2,20000.00,0,'2020-12-15','2022-09-04 05:34:03','2022-09-04 05:34:03',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (151,7730,76,13,40720,1525,2,150.00,0,'2021-01-13','2023-03-27 15:56:08','2023-03-27 15:56:08',NULL),(152,7730,76,759,40720,1525,1,150.00,0,'2021-01-13','2023-03-27 15:56:08','2023-03-27 15:56:08',NULL),(153,7730,77,13,40720,1525,2,949.00,0,'2021-01-14','2023-03-27 15:58:45','2023-03-27 15:58:45',NULL),(154,7730,77,759,40720,1525,1,949.00,0,'2021-01-14','2023-03-27 15:58:45','2023-03-27 15:58:45',NULL),(155,7730,78,13,40720,1525,2,8090.00,0,'2021-01-04','2023-03-27 16:00:34','2023-03-27 16:00:34',NULL),(156,7730,78,759,40720,1525,1,8090.00,0,'2021-01-04','2023-03-27 16:00:34','2023-03-27 16:00:34',NULL),(157,7730,79,13,40720,1525,2,7590.00,0,'2021-01-06','2023-03-27 16:02:07','2023-03-27 16:02:07',NULL),(158,7730,79,759,40720,1525,1,7590.00,0,'2021-01-06','2023-03-27 16:02:07','2023-03-27 16:02:07',NULL),(159,7730,80,13,40720,1525,2,9090.00,0,'2021-01-06','2023-03-27 16:03:07','2023-03-27 16:03:07',NULL),(160,7730,80,759,40720,1525,1,9090.00,0,'2021-01-06','2023-03-27 16:03:07','2023-03-27 16:03:07',NULL),(161,7730,81,13,40720,1525,2,19470.00,0,'2021-01-06','2023-03-27 16:03:59','2023-03-27 16:03:59',NULL),(162,7730,81,759,40720,1525,1,19470.00,0,'2021-01-06','2023-03-27 16:03:59','2023-03-27 16:03:59',NULL),(163,7730,82,13,40720,1525,2,150.00,0,'2021-01-07','2023-03-27 16:05:00','2023-03-27 16:05:00',NULL),(164,7730,82,759,40720,1525,1,150.00,0,'2021-01-07','2023-03-27 16:05:00','2023-03-27 16:05:00',NULL),(165,7730,83,13,40720,1525,2,7590.00,0,'2021-01-07','2023-03-27 16:06:03','2023-03-27 16:06:03',NULL),(166,7730,83,759,40720,1525,1,7590.00,0,'2021-01-07','2023-03-27 16:06:03','2023-03-27 16:06:03',NULL),(167,7730,84,13,40720,1525,2,150.00,0,'2021-01-07','2023-03-27 16:06:54','2023-03-27 16:06:54',NULL),(168,7730,84,759,40720,1525,1,150.00,0,'2021-01-07','2023-03-27 16:06:54','2023-03-27 16:06:54',NULL),(169,7730,85,13,40720,1525,2,150.00,0,'2021-01-07','2023-03-27 16:07:35','2023-03-27 16:07:35',NULL),(170,7730,85,759,40720,1525,1,150.00,0,'2021-01-07','2023-03-27 16:07:35','2023-03-27 16:07:35',NULL),(171,7730,86,13,40720,1525,2,150.00,0,'2021-01-12','2023-03-27 16:08:33','2023-03-27 16:08:33',NULL),(172,7730,86,759,40720,1525,1,150.00,0,'2021-01-12','2023-03-27 16:08:33','2023-03-27 16:08:33',NULL),(173,7730,87,13,40720,1525,2,7590.00,0,'2021-01-12','2023-03-27 16:09:12','2023-03-27 16:09:12',NULL),(174,7730,87,759,40720,1525,1,7590.00,0,'2021-01-12','2023-03-27 16:09:12','2023-03-27 16:09:12',NULL),(175,7730,88,13,40720,1525,2,150.00,0,'2021-01-13','2023-03-27 16:09:56','2023-03-27 16:09:56',NULL),(176,7730,88,759,40720,1525,1,150.00,0,'2021-01-13','2023-03-27 16:09:56','2023-03-27 16:09:56',NULL),(177,7730,89,13,40720,1525,2,150.00,0,'2021-01-14','2023-03-27 16:11:16','2023-03-27 16:11:16',NULL),(178,7730,89,759,40720,1525,1,150.00,0,'2021-01-14','2023-03-27 16:11:16','2023-03-27 16:11:16',NULL),(179,7730,90,13,40720,1525,2,150.00,0,'2021-01-14','2023-03-27 16:11:52','2023-03-27 16:11:52',NULL),(180,7730,90,759,40720,1525,1,150.00,0,'2021-01-14','2023-03-27 16:11:52','2023-03-27 16:11:52',NULL),(181,7730,91,13,40720,1525,2,150.00,0,'2021-01-14','2023-03-27 16:12:34','2023-03-27 16:12:34',NULL),(182,7730,91,759,40720,1525,1,150.00,0,'2021-01-14','2023-03-27 16:12:34','2023-03-27 16:12:34',NULL),(183,7730,92,13,40720,1525,2,1379.00,0,'2021-01-14','2023-03-27 16:13:20','2023-03-27 16:13:20',NULL),(184,7730,92,759,40720,1525,1,1379.00,0,'2021-01-14','2023-03-27 16:13:20','2023-03-27 16:13:20',NULL),(185,7730,93,13,40720,1525,2,7590.00,0,'2021-01-18','2023-03-27 16:14:22','2023-03-27 16:14:22',NULL),(186,7730,93,759,40720,1525,1,7590.00,0,'2021-01-18','2023-03-27 16:14:22','2023-03-27 16:14:22',NULL),(187,7730,94,13,40720,1525,2,7819.00,0,'2021-01-18','2023-03-27 16:16:08','2023-03-27 16:16:08',NULL),(188,7730,94,759,40720,1525,1,7819.00,0,'2021-01-18','2023-03-27 16:16:08','2023-03-27 16:16:08',NULL),(189,7730,95,13,40720,1525,2,6490.00,0,'2021-01-19','2023-03-27 16:17:14','2023-03-27 16:17:14',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (190,7730,95,759,40720,1525,1,6490.00,0,'2021-01-19','2023-03-27 16:17:14','2023-03-27 16:17:14',NULL),(191,7730,96,13,40720,1525,2,6490.00,0,'2021-01-19','2023-03-27 16:18:43','2023-03-27 16:18:43',NULL),(192,7730,96,759,40720,1525,1,6490.00,0,'2021-01-19','2023-03-27 16:18:43','2023-03-27 16:18:43',NULL),(193,7730,97,13,40720,1525,2,6490.00,0,'2021-01-20','2023-03-27 16:19:37','2023-03-27 16:19:37',NULL),(194,7730,97,759,40720,1525,1,6490.00,0,'2021-01-20','2023-03-27 16:19:37','2023-03-27 16:19:37',NULL),(195,7730,98,13,40720,1525,2,8685.00,0,'2021-01-20','2023-03-27 16:20:30','2023-03-27 16:20:30',NULL),(196,7730,98,759,40720,1525,1,8685.00,0,'2021-01-20','2023-03-27 16:20:30','2023-03-27 16:20:30',NULL),(197,7730,99,13,40720,1525,2,8685.00,0,'2021-01-21','2023-03-27 16:21:24','2023-03-27 16:21:24',NULL),(198,7730,99,759,40720,1525,1,8685.00,0,'2021-01-21','2023-03-27 16:21:24','2023-03-27 16:21:24',NULL),(199,7730,100,13,40720,1525,2,300.00,0,'2021-01-22','2023-03-27 16:30:20','2023-03-27 16:30:20',NULL),(200,7730,100,759,40720,1525,1,300.00,0,'2021-01-22','2023-03-27 16:30:20','2023-03-27 16:30:20',NULL),(201,7730,101,13,40720,1525,2,7590.00,0,'2021-01-25','2023-03-27 16:31:13','2023-03-27 16:31:13',NULL),(202,7730,101,759,40720,1525,1,7590.00,0,'2021-01-25','2023-03-27 16:31:13','2023-03-27 16:31:13',NULL),(203,7730,102,13,40720,1525,2,6490.00,0,'2021-01-25','2023-03-27 16:32:13','2023-03-27 16:32:13',NULL),(204,7730,102,759,40720,1525,1,6490.00,0,'2021-01-25','2023-03-27 16:32:13','2023-03-27 16:32:13',NULL),(205,7730,103,13,40720,1525,2,8685.00,0,'2021-01-25','2023-03-27 16:33:00','2023-03-27 16:33:00',NULL),(206,7730,103,759,40720,1525,1,8685.00,0,'2021-01-25','2023-03-27 16:33:00','2023-03-27 16:33:00',NULL),(207,7730,104,13,40720,1525,2,6490.00,0,'2021-01-26','2023-03-27 16:33:48','2023-03-27 16:33:48',NULL),(208,7730,104,759,40720,1525,1,6490.00,0,'2021-01-26','2023-03-27 16:33:48','2023-03-27 16:33:48',NULL),(209,7730,105,13,40720,1525,2,6490.00,0,'2021-01-26','2023-03-27 16:34:55','2023-03-27 16:34:55',NULL),(210,7730,105,759,40720,1525,1,6490.00,0,'2021-01-26','2023-03-27 16:34:55','2023-03-27 16:34:55',NULL),(211,7730,106,13,40720,1525,2,6490.00,0,'2021-01-26','2023-03-27 16:38:54','2023-03-27 16:38:54',NULL),(212,7730,106,759,40720,1525,1,6490.00,0,'2021-01-26','2023-03-27 16:38:54','2023-03-27 16:38:54',NULL),(213,7730,107,13,40720,1525,2,8685.00,0,'2021-01-26','2023-03-27 16:39:47','2023-03-27 16:39:47',NULL),(214,7730,107,759,40720,1525,1,8685.00,0,'2021-01-26','2023-03-27 16:39:47','2023-03-27 16:39:47',NULL),(215,7730,108,13,40720,1525,2,7590.00,0,'2021-01-28','2023-03-27 16:40:40','2023-03-27 16:40:40',NULL),(216,7730,108,759,40720,1525,1,7590.00,0,'2021-01-28','2023-03-27 16:40:40','2023-03-27 16:40:40',NULL),(217,7730,109,13,40720,1525,2,150.00,0,'2021-01-14','2023-03-27 16:43:44','2023-03-27 16:43:44',NULL),(218,7730,109,759,40720,1525,1,150.00,0,'2021-01-14','2023-03-27 16:43:44','2023-03-27 16:43:44',NULL),(219,7730,110,13,40720,1525,2,6799.00,0,'2021-01-26','2023-03-27 16:45:38','2023-03-27 16:45:38',NULL),(220,7730,110,759,40720,1525,1,6799.00,0,'2021-01-26','2023-03-27 16:45:38','2023-03-27 16:45:38',NULL),(221,7730,111,13,40720,1525,2,40794.00,0,'2021-01-27','2023-03-27 16:47:49','2023-03-27 16:47:49',NULL),(222,7730,111,758,40720,1525,1,40794.00,0,'2021-01-27','2023-03-27 16:47:49','2023-03-27 16:47:49',NULL),(223,7730,112,13,40720,1525,2,150.00,0,'2021-01-14','2023-03-27 16:54:51','2023-03-27 16:54:51',NULL),(224,7730,112,759,40720,1525,1,150.00,0,'2021-01-14','2023-03-27 16:54:51','2023-03-27 16:54:51',NULL),(225,7730,113,57,40720,1525,1,36966.12,0,'2021-01-04','2023-03-27 18:30:31','2023-03-28 17:17:32','2023-03-28 17:17:32'),(226,7730,113,758,40720,1525,2,36966.12,0,'2021-01-04','2023-03-27 18:30:31','2023-03-28 17:17:32','2023-03-28 17:17:32'),(227,7730,114,57,40720,1525,1,137498.23,0,'2021-01-29','2023-03-27 18:58:21','2023-03-27 18:58:21',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (228,7730,114,758,40720,1525,2,137498.23,0,'2021-01-29','2023-03-27 18:58:21','2023-03-27 18:58:21',NULL),(229,7730,115,57,40720,1525,1,40365.09,0,'2021-01-31','2023-03-28 12:20:13','2023-03-28 13:21:24','2023-03-28 13:21:24'),(230,7730,115,759,40720,1525,2,40365.09,0,'2021-01-31','2023-03-28 12:20:13','2023-03-28 13:21:24','2023-03-28 13:21:24'),(231,7730,116,57,40720,1525,1,1206.09,0,'2021-01-31','2023-03-28 12:22:21','2023-03-28 12:42:47','2023-03-28 12:42:47'),(232,7730,116,759,40720,1525,2,1206.09,0,'2021-01-31','2023-03-28 12:22:21','2023-03-28 12:42:47','2023-03-28 12:42:47'),(233,7730,117,57,40720,1525,1,3298.43,0,'2021-01-31','2023-03-28 12:24:10','2023-03-28 12:24:10',NULL),(234,7730,117,759,40720,1525,2,3298.43,0,'2021-01-31','2023-03-28 12:24:10','2023-03-28 12:24:10',NULL),(235,7730,118,57,40720,1525,1,20000.00,0,'2021-01-22','2023-03-28 12:40:44','2023-03-28 12:40:44',NULL),(236,7730,118,758,40720,1525,2,20000.00,0,'2021-01-22','2023-03-28 12:40:44','2023-03-28 12:40:44',NULL),(237,7730,119,57,40720,1525,1,1206.09,0,'2021-01-31','2023-03-28 12:46:41','2023-03-28 12:46:41',NULL),(238,7730,119,759,40720,1525,2,1206.09,0,'2021-01-31','2023-03-28 12:46:41','2023-03-28 12:46:41',NULL),(239,7730,120,57,40720,1525,1,40365.09,0,'2021-01-31','2023-03-28 13:26:34','2023-03-28 14:25:03','2023-03-28 14:25:03'),(240,7730,120,759,40720,1525,2,40365.09,0,'2021-01-31','2023-03-28 13:26:34','2023-03-28 14:25:03','2023-03-28 14:25:03'),(241,7730,121,57,40720,1525,1,39160.19,0,'2021-01-31','2023-03-28 14:38:52','2023-03-28 14:38:52',NULL),(242,7730,121,759,40720,1525,2,39160.19,0,'2021-01-31','2023-03-28 14:38:52','2023-03-28 14:38:52',NULL),(243,7730,122,13,40720,1526,2,9990.00,0,'2021-02-01','2023-03-28 15:45:24','2023-03-28 15:45:24',NULL),(244,7730,122,759,40720,1526,1,9990.00,0,'2021-02-01','2023-03-28 15:45:24','2023-03-28 15:45:24',NULL),(245,7730,123,13,40720,1526,2,7919.00,0,'2021-02-02','2023-03-28 15:49:20','2023-03-28 15:49:20',NULL),(246,7730,123,759,40720,1526,1,7919.00,0,'2021-02-02','2023-03-28 15:49:20','2023-03-28 15:49:20',NULL),(247,7730,124,13,40720,1526,2,8557.00,0,'2021-02-02','2023-03-28 15:50:10','2023-03-28 15:50:10',NULL),(248,7730,124,759,40720,1526,1,8557.00,0,'2021-02-02','2023-03-28 15:50:10','2023-03-28 15:50:10',NULL),(249,7730,125,13,40720,1526,2,12980.00,0,'2021-02-02','2023-03-28 15:51:22','2023-03-28 15:51:22',NULL),(250,7730,125,759,40720,1526,1,12980.00,0,'2021-02-02','2023-03-28 15:51:22','2023-03-28 15:51:22',NULL),(251,7730,126,13,40720,1526,2,7590.00,0,'2021-02-02','2023-03-28 15:52:07','2023-03-28 15:52:07',NULL),(252,7730,126,759,40720,1526,1,7590.00,0,'2021-02-02','2023-03-28 15:52:07','2023-03-28 15:52:07',NULL),(253,7730,127,13,40720,1526,2,9990.00,0,'2021-02-02','2023-03-28 15:52:50','2023-03-28 15:52:50',NULL),(254,7730,127,759,40720,1526,1,9990.00,0,'2021-02-02','2023-03-28 15:52:50','2023-03-28 15:52:50',NULL),(255,7730,128,13,40720,1526,2,9990.00,0,'2021-02-09','2023-03-28 15:53:55','2023-03-28 15:53:55',NULL),(256,7730,128,759,40720,1526,1,9990.00,0,'2021-02-09','2023-03-28 15:53:55','2023-03-28 15:53:55',NULL),(257,7730,129,13,40720,1526,2,9990.00,0,'2021-02-10','2023-03-28 15:54:34','2023-03-28 15:54:34',NULL),(258,7730,129,759,40720,1526,1,9990.00,0,'2021-02-10','2023-03-28 15:54:34','2023-03-28 15:54:34',NULL),(259,7730,130,13,40720,1526,2,27770.00,0,'2021-02-10','2023-03-28 15:55:24','2023-03-28 15:55:24',NULL),(260,7730,130,759,40720,1526,1,27770.00,0,'2021-02-10','2023-03-28 15:55:24','2023-03-28 15:55:24',NULL),(261,7730,131,13,40720,1526,2,7919.00,0,'2021-02-10','2023-03-28 15:56:05','2023-03-28 15:56:05',NULL),(262,7730,131,759,40720,1526,1,7919.00,0,'2021-02-10','2023-03-28 15:56:05','2023-03-28 15:56:05',NULL),(263,7730,132,13,40720,1526,2,9990.00,0,'2021-02-12','2023-03-28 15:56:48','2023-03-28 15:56:48',NULL),(264,7730,132,759,40720,1526,1,9990.00,0,'2021-02-12','2023-03-28 15:56:48','2023-03-28 15:56:48',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (265,7730,133,13,40720,1526,2,3400.00,0,'2021-02-18','2023-03-28 15:57:28','2023-03-28 15:57:28',NULL),(266,7730,133,759,40720,1526,1,3400.00,0,'2021-02-18','2023-03-28 15:57:28','2023-03-28 15:57:28',NULL),(267,7730,134,13,40720,1526,2,12740.00,0,'2021-02-18','2023-03-28 16:00:04','2023-03-28 16:00:04',NULL),(268,7730,134,759,40720,1526,1,12740.00,0,'2021-02-18','2023-03-28 16:00:04','2023-03-28 16:00:04',NULL),(269,7730,135,13,40720,1526,2,9990.00,0,'2021-02-19','2023-03-28 16:00:52','2023-03-28 16:00:52',NULL),(270,7730,135,759,40720,1526,1,9990.00,0,'2021-02-19','2023-03-28 16:00:52','2023-03-28 16:00:52',NULL),(271,7730,136,13,40720,1526,2,7990.00,0,'2021-02-10','2023-03-28 16:01:53','2023-03-28 16:01:53',NULL),(272,7730,136,759,40720,1526,1,7990.00,0,'2021-02-10','2023-03-28 16:01:53','2023-03-28 16:01:53',NULL),(273,7730,137,13,40720,1526,2,9490.50,0,'2021-02-22','2023-03-28 16:02:38','2023-03-28 16:02:38',NULL),(274,7730,137,759,40720,1526,1,9490.50,0,'2021-02-22','2023-03-28 16:02:38','2023-03-28 16:02:38',NULL),(275,7730,138,13,40720,1526,2,17780.00,0,'2021-02-10','2023-03-28 16:03:43','2023-03-28 16:03:43',NULL),(276,7730,138,759,40720,1526,1,17780.00,0,'2021-02-10','2023-03-28 16:03:43','2023-03-28 16:03:43',NULL),(277,7730,139,13,40720,1526,2,7990.00,0,'2021-02-18','2023-03-28 16:04:41','2023-03-28 16:04:41',NULL),(278,7730,139,759,40720,1526,1,7990.00,0,'2021-02-18','2023-03-28 16:04:41','2023-03-28 16:04:41',NULL),(279,7730,140,57,40720,1526,1,42059.18,0,'2021-02-28','2023-03-28 16:17:50','2023-03-28 16:17:50',NULL),(280,7730,140,759,40720,1526,2,42059.18,0,'2021-02-28','2023-03-28 16:17:50','2023-03-28 16:17:50',NULL),(281,7730,141,760,40720,1557,1,0.00,0,'2023-03-28','2023-03-28 16:19:07','2023-03-28 16:19:07',NULL),(282,7730,142,57,40720,1526,1,20000.00,0,'2021-02-28','2023-03-28 16:20:44','2023-03-28 16:20:44',NULL),(283,7730,142,760,40720,1526,2,20000.00,0,'2021-02-28','2023-03-28 16:20:44','2023-03-28 16:20:44',NULL),(284,7730,143,13,40720,1526,2,1206.09,0,'2021-02-28','2023-03-28 16:21:40','2023-03-28 16:45:54','2023-03-28 16:45:54'),(285,7730,143,759,40720,1526,1,1206.09,0,'2021-02-28','2023-03-28 16:21:40','2023-03-28 16:45:54','2023-03-28 16:45:54'),(286,7730,144,57,40720,1526,1,1206.09,0,'2021-02-28','2023-03-28 16:46:32','2023-03-28 16:46:32',NULL),(287,7730,144,759,40720,1526,2,1206.09,0,'2021-02-28','2023-03-28 16:46:32','2023-03-28 16:46:32',NULL),(288,7730,145,57,40720,1525,1,50000.00,0,'2021-01-04','2023-03-28 17:19:46','2023-03-28 17:19:46',NULL),(289,7730,145,758,40720,1525,2,50000.00,0,'2021-01-04','2023-03-28 17:19:46','2023-03-28 17:19:46',NULL),(290,7730,146,57,40720,1526,1,90000.00,0,'2021-02-17','2023-03-28 17:23:20','2023-03-28 17:23:20',NULL),(291,7730,146,758,40720,1526,2,90000.00,0,'2021-02-17','2023-03-28 17:23:20','2023-03-28 17:23:20',NULL),(292,7730,147,13,40720,1527,2,8800.00,0,'2021-03-01','2023-03-29 10:50:15','2023-03-29 10:50:15',NULL),(293,7730,147,759,40720,1527,1,8800.00,0,'2021-03-01','2023-03-29 10:50:15','2023-03-29 10:50:15',NULL),(294,7730,148,13,40720,1527,2,7990.00,0,'2021-03-02','2023-03-29 10:53:20','2023-03-29 10:53:20',NULL),(295,7730,148,759,40720,1527,1,7990.00,0,'2021-03-02','2023-03-29 10:53:20','2023-03-29 10:53:20',NULL),(296,7730,149,13,40720,1527,2,2397.00,0,'2021-03-02','2023-03-29 11:05:46','2023-03-29 11:05:46',NULL),(297,7730,149,759,40720,1527,1,2397.00,0,'2021-03-02','2023-03-29 11:05:46','2023-03-29 11:05:46',NULL),(298,7730,150,13,40720,1527,2,7830.00,0,'2021-03-05','2023-03-29 11:22:52','2023-03-29 11:22:52',NULL),(299,7730,150,759,40720,1527,1,7830.00,0,'2021-03-05','2023-03-29 11:22:52','2023-03-29 11:22:52',NULL),(300,7730,151,13,40720,1527,2,1500.00,0,'2021-03-05','2023-03-29 11:23:16','2023-03-29 11:23:16',NULL),(301,7730,151,759,40720,1527,1,1500.00,0,'2021-03-05','2023-03-29 11:23:16','2023-03-29 11:23:16',NULL),(302,7730,152,13,40720,1527,2,7990.00,0,'2021-03-05','2023-03-29 11:23:50','2023-03-29 11:23:50',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (303,7730,152,759,40720,1527,1,7990.00,0,'2021-03-05','2023-03-29 11:23:50','2023-03-29 11:23:50',NULL),(304,7730,153,57,40720,1527,1,20000.00,0,'2021-03-02','2023-03-29 13:07:13','2023-03-29 13:07:13',NULL),(305,7730,153,760,40720,1527,2,20000.00,0,'2021-03-02','2023-03-29 13:07:13','2023-03-29 13:07:13',NULL),(306,7730,154,57,40720,1527,1,31867.42,0,'2021-03-29','2023-03-29 13:07:54','2023-03-29 13:07:54',NULL),(307,7730,154,759,40720,1527,2,31867.42,0,'2021-03-29','2023-03-29 13:07:54','2023-03-29 13:07:54',NULL),(308,7730,155,57,40720,1527,1,11721.00,0,'2021-03-03','2023-03-29 13:09:36','2023-03-29 13:09:36',NULL),(309,7730,155,759,40720,1527,2,11721.00,0,'2021-03-03','2023-03-29 13:09:36','2023-03-29 13:09:36',NULL),(310,7730,156,57,40720,1527,1,67248.27,0,'2021-03-05','2023-03-29 13:12:50','2023-03-29 13:19:28','2023-03-29 13:19:28'),(311,7730,156,759,40720,1527,2,67248.27,0,'2021-03-05','2023-03-29 13:12:50','2023-03-29 13:19:28','2023-03-29 13:19:28'),(312,7730,157,57,40720,1527,1,1206.09,0,'2021-03-31','2023-03-29 13:14:05','2023-03-29 14:54:23','2023-03-29 14:54:23'),(313,7730,157,759,40720,1527,2,1206.09,0,'2021-03-31','2023-03-29 13:14:05','2023-03-29 14:54:23','2023-03-29 14:54:23'),(314,7730,158,57,40720,1527,1,67248.27,0,'2021-03-05','2023-03-29 13:21:21','2023-03-29 13:21:21',NULL),(315,7730,158,760,40720,1527,2,67248.27,0,'2021-03-05','2023-03-29 13:21:21','2023-03-29 13:21:21',NULL),(316,7730,159,57,40720,1525,1,1513750.00,0,'2021-01-10','2023-03-29 13:30:40','2023-03-29 14:02:04','2023-03-29 14:02:04'),(317,7730,159,760,40720,1525,2,1513750.00,0,'2021-01-10','2023-03-29 13:30:40','2023-03-29 14:02:04','2023-03-29 14:02:04'),(318,7730,160,57,40720,1527,1,1206.09,0,'2021-03-31','2023-03-29 14:56:01','2023-03-29 14:56:01',NULL),(319,7730,160,759,40720,1527,2,1206.09,0,'2021-03-31','2023-03-29 14:56:01','2023-03-29 14:56:01',NULL),(320,7730,161,57,40720,1528,1,1206.09,0,'2021-05-10','2023-03-29 17:36:56','2023-03-29 18:41:50','2023-03-29 18:41:50'),(321,7730,161,759,40720,1528,2,1206.09,0,'2021-05-10','2023-03-29 17:36:56','2023-03-29 18:41:50','2023-03-29 18:41:50'),(322,7730,162,57,40720,1529,1,1206.09,0,'2021-05-31','2023-03-29 18:42:54','2023-03-29 18:42:54',NULL),(323,7730,162,759,40720,1529,2,1206.09,0,'2021-05-31','2023-03-29 18:42:54','2023-03-29 18:42:54',NULL),(324,7730,163,57,40720,1530,1,261.88,0,'2021-06-10','2023-03-29 20:05:20','2023-03-29 20:05:20',NULL),(325,7730,163,759,40720,1530,2,261.88,0,'2021-06-10','2023-03-29 20:05:20','2023-03-29 20:05:20',NULL),(326,7730,164,57,40720,1531,1,1528.76,0,'2021-07-10','2023-03-29 20:20:24','2023-03-29 20:20:24',NULL),(327,7730,164,759,40720,1531,2,1528.76,0,'2021-07-10','2023-03-29 20:20:24','2023-03-29 20:20:24',NULL),(328,7730,165,57,40720,1532,1,366.63,0,'2021-08-10','2023-03-29 20:37:23','2023-03-29 20:37:23',NULL),(329,7730,165,759,40720,1532,2,366.63,0,'2021-08-10','2023-03-29 20:37:23','2023-03-29 20:37:23',NULL);

--
-- Table structure for table `ctacte_bancos`
--

CREATE TABLE `ctacte_bancos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `codigoBCRA` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctacte_bancos`
--

INSERT INTO `ctacte_bancos` VALUES (1,NULL,'BANCO DE GALICIA Y BUENOS AIRES S.A.',7,NULL,NULL,NULL),(2,NULL,'BANCO DE LA NACION ARGENTINA',11,NULL,NULL,NULL),(3,NULL,'BANCO DE LA PROVINCIA DE BUENOS AIRES',14,NULL,NULL,NULL),(4,NULL,'INDUSTRIAL AND COMMERCIAL BANK OF CHINA',15,NULL,NULL,NULL),(5,NULL,'CITIBANK N.A.',16,NULL,NULL,NULL),(6,NULL,'BBVA BANCO FRANCES S.A.',17,NULL,NULL,NULL),(7,NULL,'THE BANK OF TOKYO-MITSUBISHI UFJ, LTD.',18,NULL,NULL,NULL),(8,NULL,'BANCO DE LA PROVINCIA DE CORDOBA S.A.',20,NULL,NULL,NULL),(9,NULL,'BANCO SUPERVIELLE S.A.',27,NULL,NULL,NULL),(10,NULL,'BANCO DE LA CIUDAD DE BUENOS AIRES',29,NULL,NULL,NULL),(11,NULL,'BANCO PATAGONIA S.A.',34,NULL,NULL,NULL),(12,NULL,'BANCO HIPOTECARIO S.A.',44,NULL,NULL,NULL),(13,NULL,'BANCO DE SAN JUAN S.A.',45,NULL,NULL,NULL),(14,NULL,'BANCO DEL TUCUMAN S.A.',60,NULL,NULL,NULL),(15,NULL,'BANCO MUNICIPAL DE ROSARIO',65,NULL,NULL,NULL),(16,NULL,'BANCO SANTANDER RIO S.A.',72,NULL,NULL,NULL),(17,NULL,'BANCO DEL CHUBUT S.A.',83,NULL,NULL,NULL),(18,NULL,'BANCO DE SANTA CRUZ S.A.',86,NULL,NULL,NULL),(19,NULL,'BANCO DE LA PAMPA SOCIEDAD DE ECONOMÍA M',93,NULL,NULL,NULL),(20,NULL,'BANCO DE CORRIENTES S.A.',94,NULL,NULL,NULL),(21,NULL,'BANCO PROVINCIA DEL NEUQUÉN SOCIEDAD ANÓ',97,NULL,NULL,NULL),(22,NULL,'BANCO INTERFINANZAS S.A.',147,NULL,NULL,NULL),(23,NULL,'HSBC BANK ARGENTINA S.A.',150,NULL,NULL,NULL),(24,NULL,'JPMORGAN CHASE BANK, NATIONAL ASSOCIATIO',165,NULL,NULL,NULL),(25,NULL,'BANCO CREDICOOP COOPERATIVO LIMITADO',191,NULL,NULL,NULL),(26,NULL,'BANCO DE VALORES S.A.',198,NULL,NULL,NULL),(27,NULL,'BANCO ROELA S.A.',247,NULL,NULL,NULL),(28,NULL,'BANCO MARIVA S.A.',254,NULL,NULL,NULL),(29,NULL,'BANCO ITAU ARGENTINA S.A.',259,NULL,NULL,NULL),(30,NULL,'BANK OF AMERICA, NATIONAL ASSOCIATION',262,NULL,NULL,NULL),(31,NULL,'BNP PARIBAS',266,NULL,NULL,NULL),(32,NULL,'BANCO PROVINCIA DE TIERRA DEL FUEGO',268,NULL,NULL,NULL),(33,NULL,'BANCO DE LA REPUBLICA ORIENTAL DEL URUGU',269,NULL,NULL,NULL),(34,NULL,'BANCO SAENZ S.A.',277,NULL,NULL,NULL),(35,NULL,'BANCO MERIDIAN S.A.',281,NULL,NULL,NULL),(36,NULL,'BANCO MACRO S.A.',285,NULL,NULL,NULL),(37,NULL,'BANCO COMAFI SOCIEDAD ANONIMA',299,NULL,NULL,NULL),(38,NULL,'BANCO DE INVERSION Y COMERCIO EXTERIOR S',300,NULL,NULL,NULL),(39,NULL,'BANCO PIANO S.A.',301,NULL,NULL,NULL),(40,NULL,'BANCO JULIO SOCIEDAD ANONIMA',305,NULL,NULL,NULL),(41,NULL,'BANCO RIOJA SOCIEDAD ANONIMA UNIPERSONAL',309,NULL,NULL,NULL),(42,NULL,'BANCO DEL SOL S.A.',310,NULL,NULL,NULL),(43,NULL,'NUEVO BANCO DEL CHACO S. A.',311,NULL,NULL,NULL),(44,NULL,'BANCO VOII S.A.',312,NULL,NULL,NULL),(45,NULL,'BANCO DE FORMOSA S.A.',315,NULL,NULL,NULL),(46,NULL,'BANCO CMF S.A.',319,NULL,NULL,NULL),(47,NULL,'BANCO DE SANTIAGO DEL ESTERO S.A.',321,NULL,NULL,NULL),(48,NULL,'BANCO INDUSTRIAL S.A.',322,NULL,NULL,NULL),(49,NULL,'NUEVO BANCO DE SANTA FE SOCIEDAD ANONIMA',330,NULL,NULL,NULL),(50,NULL,'BANCO CETELEM ARGENTINA S.A.',331,NULL,NULL,NULL),(51,NULL,'BANCO DE SERVICIOS FINANCIEROS S.A.',332,NULL,NULL,NULL),(52,NULL,'BANCO BRADESCO ARGENTINA S.A.U.',336,NULL,NULL,NULL),(53,NULL,'BANCO DE SERVICIOS Y TRANSACCIONES S.A.',338,NULL,NULL,NULL),(54,NULL,'RCI BANQUE S.A.',339,NULL,NULL,NULL),(55,NULL,'BACS BANCO DE CREDITO Y SECURITIZACION S',340,NULL,NULL,NULL),(56,NULL,'BANCO MASVENTAS S.A.',341,NULL,NULL,NULL),(57,NULL,'BANCO WANAP S.A.',384,NULL,NULL,NULL),(58,NULL,'NUEVO BANCO DE ENTRE RÍOS S.A.',386,NULL,NULL,NULL),(59,NULL,'BANCO COLUMBIA S.A.',389,NULL,NULL,NULL),(60,NULL,'BANCO BICA S.A.',426,NULL,NULL,NULL),(61,NULL,'BANCO COINAG S.A.',431,NULL,NULL,NULL),(62,NULL,'BANCO DE COMERCIO S.A.',432,NULL,NULL,NULL),(63,NULL,'FORD CREDIT COMPAÑIA FINANCIERA S.A.',44059,NULL,NULL,NULL),(64,NULL,'COMPAÑIA FINANCIERA ARGENTINA S.A.',44077,NULL,NULL,NULL),(65,NULL,'VOLKWAGEN FINANCIAL SERVICES CIA.FIN.S.A',44088,NULL,NULL,NULL),(66,NULL,'CORDIAL COMPAÑÍA FINANCIERA S.A.',44090,NULL,NULL,NULL),(67,NULL,'FCA COMPAÑIA FINANCIERA S.A.',44092,NULL,NULL,NULL);
INSERT INTO `ctacte_bancos` VALUES (68,NULL,'GPAT COMPAÑIA FINANCIERA S.A.',44093,NULL,NULL,NULL),(69,NULL,'MERCEDES-BENZ COMPAÑÍA FINANCIERA ARGENT',44094,NULL,NULL,NULL),(70,NULL,'ROMBO COMPAÑÍA FINANCIERA S.A.',44095,NULL,NULL,NULL),(71,NULL,'JOHN DEERE CREDIT COMPAÑÍA FINANCIERA S.',44096,NULL,NULL,NULL),(72,NULL,'PSA FINANCE ARGENTINA COMPAÑÍA FINANCIER',44098,NULL,NULL,NULL),(73,NULL,'TOYOTA COMPAÑÍA FINANCIERA DE ARGENTINA',44099,NULL,NULL,NULL),(74,NULL,'FINANDINO COMPAÑIA FINANCIERA S.A.',44100,NULL,NULL,NULL),(75,NULL,'MONTEMAR COMPAÑIA FINANCIERA S.A.',45056,NULL,NULL,NULL),(76,NULL,'MULTIFINANZAS COMPAÑIA FINANCIERA S.A.',45072,NULL,NULL,NULL),(77,NULL,'CAJA DE CREDITO \"CUENCA\" COOPERATIVA LIM',65203,NULL,NULL,NULL),(78,NULL,'MERCADO PAGO',NULL,NULL,NULL,NULL),(79,NULL,'UALA',NULL,NULL,NULL,NULL);

--
-- Table structure for table `ctacte_bancos_datos`
--

CREATE TABLE `ctacte_bancos_datos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cuenta_conta_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cuit` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `titular` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cuenta` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `num_cuenta` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cbu` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `alias` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ctacte_bancos_datos_cuenta_conta_id_foreign` (`cuenta_conta_id`),
  CONSTRAINT `ctacte_bancos_datos_cuenta_conta_id_foreign` FOREIGN KEY (`cuenta_conta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctacte_bancos_datos`
--


--
-- Table structure for table `ctacte_cheques`
--

CREATE TABLE `ctacte_cheques` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `asiento_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cuenta_conta_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id2` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id2` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id` int(10) unsigned DEFAULT NULL,
  `monto` decimal(16,2) DEFAULT NULL,
  `cheque3ros` tinyint(1) NOT NULL DEFAULT '0',
  `cheque_emitidos` tinyint(1) NOT NULL DEFAULT '0',
  `fecha` date DEFAULT NULL,
  `fecha_cobro` date DEFAULT NULL,
  `banco_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `cuit` text COLLATE utf8mb4_unicode_ci,
  `titular` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `abierto_cruzado` int(11) NOT NULL DEFAULT '1',
  `is_no_a_la_orden` tinyint(1) NOT NULL DEFAULT '0',
  `numero` int(10) unsigned DEFAULT NULL,
  `foto` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) 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 `ctacte_cheques_asiento_id_foreign` (`asiento_id`),
  KEY `ctacte_cheques_cuenta_conta_id_foreign` (`cuenta_conta_id`),
  KEY `ctacte_cheques_banco_id_foreign` (`banco_id`),
  KEY `ctacte_cheques_person_id_foreign` (`person_id`),
  KEY `ctacte_cheques_cta_cte_cliente_id2_foreign` (`cta_cte_cliente_id2`),
  KEY `ctacte_cheques_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `cta_cte_tesorer_id` (`cta_cte_tesoreria_id`),
  KEY `ctacte_cheques_nf_cta_cte_id_foreign` (`nf_cta_cte_id`),
  KEY `ctacte_cheques_nf_cta_cte_id2_foreign` (`nf_cta_cte_id2`),
  KEY `ctacte_cheques_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `cta_cte_tesorer_id` FOREIGN KEY (`cta_cte_tesoreria_id`) REFERENCES `cta_cte_tesoreria` (`id`),
  CONSTRAINT `ctacte_cheques_banco_id_foreign` FOREIGN KEY (`banco_id`) REFERENCES `ctacte_bancos` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_cliente_id2_foreign` FOREIGN KEY (`cta_cte_cliente_id2`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctacte_cheques_cuenta_conta_id_foreign` FOREIGN KEY (`cuenta_conta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `ctacte_cheques_nf_cta_cte_id2_foreign` FOREIGN KEY (`nf_cta_cte_id2`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `ctacte_cheques_nf_cta_cte_id_foreign` FOREIGN KEY (`nf_cta_cte_id`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `ctacte_cheques_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctacte_cheques`
--


--
-- Table structure for table `ctactegastos_centrocosto`
--

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

--
-- Dumping data for table `ctactegastos_centrocosto`
--

INSERT INTO `ctactegastos_centrocosto` VALUES (1,NULL,'OFICINA',NULL,NULL,NULL),(2,NULL,'FIJO',NULL,NULL,NULL),(3,NULL,'VARIABLE',NULL,NULL,NULL),(4,NULL,'GISELA',NULL,NULL,NULL),(5,NULL,'LIA',NULL,NULL,NULL),(6,NULL,'PADRES',NULL,NULL,NULL),(7,NULL,'CASA',NULL,NULL,NULL),(8,NULL,'VANESA',NULL,NULL,NULL);

--
-- Table structure for table `ctactegastos_cuenta_tipo`
--

CREATE TABLE `ctactegastos_cuenta_tipo` (
  `idCuentaTipo` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `idTipo` 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 (`idCuentaTipo`),
  KEY `ctactegastos_cuenta_tipo_idtipo_foreign` (`idTipo`),
  KEY `ctactegastos_cuenta_tipo_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `ctactegastos_cuenta_tipo_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_cuenta_tipo_idtipo_foreign` FOREIGN KEY (`idTipo`) REFERENCES `ctactegastos_tiposdegastos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctactegastos_cuenta_tipo`
--

INSERT INTO `ctactegastos_cuenta_tipo` VALUES (1,NULL,NULL,3,NULL,NULL,NULL),(2,NULL,NULL,6,NULL,NULL,NULL),(3,NULL,NULL,3,NULL,NULL,NULL),(4,NULL,NULL,4,NULL,NULL,NULL),(5,NULL,NULL,5,NULL,NULL,NULL),(6,NULL,NULL,3,NULL,NULL,NULL),(7,NULL,NULL,4,NULL,NULL,NULL),(8,NULL,NULL,3,NULL,NULL,NULL),(9,NULL,NULL,4,NULL,NULL,NULL),(10,NULL,NULL,7,NULL,NULL,NULL),(11,NULL,NULL,8,NULL,NULL,NULL),(12,NULL,NULL,3,NULL,NULL,NULL),(13,NULL,NULL,3,NULL,NULL,NULL),(14,NULL,NULL,4,NULL,NULL,NULL),(15,NULL,NULL,1,NULL,NULL,NULL),(16,NULL,NULL,2,NULL,NULL,NULL),(17,NULL,NULL,5,NULL,NULL,NULL);

--
-- Table structure for table `ctactegastos_mensuales`
--

CREATE TABLE `ctactegastos_mensuales` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `CuentaTipo_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL DEFAULT '13',
  `TipoDeGasto_id` int(10) unsigned NOT NULL,
  `CentroCosto_id` int(10) unsigned NOT NULL,
  `gasto_cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL DEFAULT '13',
  `monto` decimal(16,2) DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) 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 `ctactegastos_mensuales_cuentatipo_id_foreign` (`CuentaTipo_id`),
  KEY `ctactegastos_mensuales_tipodegasto_id_foreign` (`TipoDeGasto_id`),
  KEY `ctactegastos_mensuales_centrocosto_id_foreign` (`CentroCosto_id`),
  KEY `ctactegastos_mensuales_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `ctactegastos_mensuales_gasto_cta_cte_tesoreria_cuenta_id_foreign` (`gasto_cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `ctactegastos_mensuales_centrocosto_id_foreign` FOREIGN KEY (`CentroCosto_id`) REFERENCES `ctactegastos_centrocosto` (`id`),
  CONSTRAINT `ctactegastos_mensuales_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_mensuales_cuentatipo_id_foreign` FOREIGN KEY (`CuentaTipo_id`) REFERENCES `ctactegastos_cuenta_tipo` (`idCuentaTipo`),
  CONSTRAINT `ctactegastos_mensuales_gasto_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`gasto_cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_mensuales_tipodegasto_id_foreign` FOREIGN KEY (`TipoDeGasto_id`) REFERENCES `ctactegastos_tiposdegastos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctactegastos_mensuales`
--


--
-- Table structure for table `ctactegastos_tiposdegastos`
--

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

--
-- Dumping data for table `ctactegastos_tiposdegastos`
--

INSERT INTO `ctactegastos_tiposdegastos` VALUES (1,NULL,'Oficina',NULL,NULL,NULL),(2,NULL,'Personales',NULL,NULL,NULL),(3,NULL,'Tarjeta VISA',NULL,NULL,NULL),(4,NULL,'Tarjeta Mastercard',NULL,NULL,NULL),(5,NULL,'Debito Automatico',NULL,NULL,NULL),(6,NULL,'American Express',NULL,NULL,NULL),(7,NULL,'Tarjeta Shopping',NULL,NULL,NULL),(8,NULL,'Tarjeta Cencosud',NULL,NULL,NULL),(9,NULL,'Tarjeta Coto',NULL,NULL,NULL),(10,NULL,'Tarjeta Nativa',NULL,NULL,NULL);

--
-- Table structure for table `cursos`
--

CREATE TABLE `cursos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `fecha` date DEFAULT NULL,
  `hora` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `profesor` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cant_clases` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `duracion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `adjuntos` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `link_zoom` longtext COLLATE utf8mb4_unicode_ci,
  `cod_zoom` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contraseña_zoom` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `link_youtube` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `materiales` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cursos`
--


--
-- Table structure for table `cursos_detail`
--

CREATE TABLE `cursos_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `curso_id` int(10) unsigned NOT NULL,
  `field_name1` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `celular` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cursos_detail_curso_id_foreign` (`curso_id`),
  CONSTRAINT `cursos_detail_curso_id_foreign` FOREIGN KEY (`curso_id`) REFERENCES `cursos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cursos_detail`
--


--
-- Table structure for table `data_types`
--

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

--
-- Dumping data for table `data_types`
--

INSERT INTO `data_types` VALUES (1,'Comprobantes XLS',1,'Importación','XLS','data/imports/receipts/xls',NULL,NULL),(2,'CITI-Ventas',1,'Importación','TXT','data/imports/receipts/CitiVentas',NULL,NULL),(3,'CITI Compras',2,'Exportación','TXT','data/exports/receipts/citi',NULL,NULL),(4,'CITI Ventas',2,'Exportación','TXT','data/exports/receipts/CitiVentasExport',NULL,NULL),(5,'Convenio Multilateral',2,'Exportación','TXT','data/exports/receipts/convenio',NULL,NULL),(6,'Libro IVA Digital',2,'Exportación','TXT','data/exports/receipts/libro_iva_digital',NULL,'2019-11-20 21:43:44'),(7,'Mis Comprobantes',1,'Importacion','','data/imports/receipts/mis_comprobantes',NULL,NULL),(8,'Consulta AFIP',3,'AFIP','','data/afip/index','2019-12-06 14:49:55','2019-12-06 14:49:55');

--
-- Table structure for table `dc_estados`
--

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

--
-- Dumping data for table `dc_estados`
--

INSERT INTO `dc_estados` VALUES (1,NULL,'BORRADOR',1,NULL,'2023-08-06 23:58:00',NULL),(2,NULL,'TERMINADO',1,NULL,'2023-08-06 23:58:00',NULL),(3,NULL,'ELIMINADO',1,NULL,'2023-08-13 09:17:21',NULL),(4,NULL,'PAGADO',1,NULL,'2023-08-06 23:58:00','2023-08-06 23:58:00'),(5,NULL,'CONCILIADO',1,NULL,'2023-08-06 23:58:00','2023-08-06 23:58:00');

--
-- Table structure for table `dc_firmas`
--

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

--
-- Dumping data for table `dc_firmas`
--

INSERT INTO `dc_firmas` VALUES (1,NULL,'NO',1,1,0,1,NULL,'2023-08-06 23:58:01',NULL),(2,NULL,'RECHAZADO',1,1,0,1,NULL,'2023-08-06 23:58:01',NULL),(3,NULL,'ACEPTADO',1,0,0,1,NULL,'2023-08-06 23:58:01',NULL),(4,NULL,'FALTAN FIRMAS',0,0,1,1,'2023-08-06 23:58:01','2023-08-06 23:58:01',NULL),(5,NULL,'EMITIDO',1,0,0,1,'2023-10-12 08:06:50','2023-10-12 08:06:50',NULL);

--
-- Table structure for table `dc_firmas_ordenes`
--

CREATE TABLE `dc_firmas_ordenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `user_id_que_firma` int(10) unsigned NOT NULL,
  `dc_firma_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_firmas_ordenes_person_id_foreign` (`person_id`),
  KEY `dc_firmas_ordenes_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_firmas_ordenes_dc_firma_id_foreign` (`dc_firma_id`),
  CONSTRAINT `dc_firmas_ordenes_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `dc_firmas_ordenes_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_firmas_ordenes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_firmas_ordenes`
--


--
-- Table structure for table `dc_firmas_reglas`
--

CREATE TABLE `dc_firmas_reglas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL,
  `grupos_users_ids` 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 `dc_firmas_reglas_person_id_foreign` (`person_id`),
  KEY `dc_firmas_reglas_dc_orden_id_foreign` (`dc_orden_id`),
  CONSTRAINT `dc_firmas_reglas_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_firmas_reglas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_firmas_reglas`
--


--
-- Table structure for table `dc_orden_de_pago`
--

CREATE TABLE `dc_orden_de_pago` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2023-09-28 16:30:40',
  `dc_orden_id` bigint(20) unsigned NOT NULL DEFAULT '10',
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `request` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `dc_estado_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `dc_firma_id` bigint(20) 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 `dc_orden_de_pago_person_id_foreign` (`person_id`),
  KEY `dc_orden_de_pago_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `dc_orden_de_pago_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_orden_de_pago_dc_firma_id_foreign` (`dc_firma_id`),
  KEY `dc_orden_de_pago_dc_estado_id_foreign` (`dc_estado_id`),
  CONSTRAINT `dc_orden_de_pago_dc_estado_id_foreign` FOREIGN KEY (`dc_estado_id`) REFERENCES `dc_estados` (`id`),
  CONSTRAINT `dc_orden_de_pago_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `dc_orden_de_pago_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_orden_de_pago_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_orden_de_pago_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 `dc_orden_de_pago`
--


--
-- Table structure for table `dc_orden_de_pago_receipts`
--

CREATE TABLE `dc_orden_de_pago_receipts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_de_pago_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `importe` 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 `dc_orden_de_pago_receipts_dc_orden_de_pago_id_foreign` (`dc_orden_de_pago_id`),
  KEY `dc_orden_de_pago_receipts_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `dc_orden_de_pago_receipts_dc_orden_de_pago_id_foreign` FOREIGN KEY (`dc_orden_de_pago_id`) REFERENCES `dc_orden_de_pago` (`id`),
  CONSTRAINT `dc_orden_de_pago_receipts_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_orden_de_pago_receipts`
--


--
-- Table structure for table `dc_orden_files`
--

CREATE TABLE `dc_orden_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `file` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `original_name` 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 `dc_orden_files_dc_orden_id_foreign` (`dc_orden_id`),
  CONSTRAINT `dc_orden_files_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_orden_files`
--


--
-- Table structure for table `dc_ordenes`
--

CREATE TABLE `dc_ordenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_tipo_id` bigint(20) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `titulo` text COLLATE utf8mb4_unicode_ci,
  `sucursal` int(11) NOT NULL DEFAULT '1',
  `numero` int(11) NOT NULL,
  `sector` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `solicitante` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `syj_empleado_id` int(10) unsigned DEFAULT NULL,
  `fecha` date NOT NULL,
  `fecha_entrega` date DEFAULT NULL,
  `fecha_asignacion` datetime DEFAULT NULL,
  `fecha_cumplido` datetime DEFAULT NULL,
  `condicion_venta_id` int(10) unsigned DEFAULT NULL,
  `is_pago_adelantado` tinyint(1) DEFAULT NULL,
  `forma_de_entrega_id` int(10) unsigned DEFAULT NULL,
  `plazo_de_pago_id` int(10) unsigned DEFAULT NULL,
  `cantidades` decimal(16,2) NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(16,2) NOT NULL DEFAULT '1.00',
  `neto` decimal(16,2) NOT NULL,
  `iva` decimal(16,2) NOT NULL,
  `total` decimal(16,2) NOT NULL,
  `facturada` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `dc_estado_id` bigint(20) unsigned NOT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned DEFAULT NULL,
  `conta_cc_id` bigint(20) unsigned DEFAULT NULL,
  `origendestinoable_type` text COLLATE utf8mb4_unicode_ci,
  `origendestinoable_id` int(10) unsigned DEFAULT NULL,
  `is_multiples_ot` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `dc_orden_origen_destino_id` bigint(20) unsigned DEFAULT NULL,
  `is_completado` tinyint(1) NOT NULL DEFAULT '0',
  `dc_firma_id` bigint(20) 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 `dc_ordenes_dc_orden_tipo_id_foreign` (`dc_orden_tipo_id`),
  KEY `dc_ordenes_person_id_foreign` (`person_id`),
  KEY `dc_ordenes_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `dc_ordenes_dc_estado_id_foreign` (`dc_estado_id`),
  KEY `dc_ordenes_conta_cc_id_foreign` (`conta_cc_id`),
  KEY `dc_ordenes_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  KEY `dc_ordenes_dc_orden_origen_destino_id_foreign` (`dc_orden_origen_destino_id`),
  KEY `dc_ordenes_moneda_id_foreign` (`moneda_id`),
  KEY `dc_ordenes_dc_firma_id_foreign` (`dc_firma_id`),
  KEY `dc_ordenes_syj_empleado_id_foreign` (`syj_empleado_id`),
  CONSTRAINT `dc_ordenes_conta_cc_id_foreign` FOREIGN KEY (`conta_cc_id`) REFERENCES `conta_centro_costos` (`id`),
  CONSTRAINT `dc_ordenes_dc_estado_id_foreign` FOREIGN KEY (`dc_estado_id`) REFERENCES `dc_estados` (`id`),
  CONSTRAINT `dc_ordenes_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `dc_ordenes_dc_orden_origen_destino_id_foreign` FOREIGN KEY (`dc_orden_origen_destino_id`) REFERENCES `dc_ordenes_origen_destino` (`id`),
  CONSTRAINT `dc_ordenes_dc_orden_tipo_id_foreign` FOREIGN KEY (`dc_orden_tipo_id`) REFERENCES `dc_ordenes_tipos` (`id`),
  CONSTRAINT `dc_ordenes_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `dc_ordenes_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `dc_ordenes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_ordenes_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_ordenes_syj_empleado_id_foreign` FOREIGN KEY (`syj_empleado_id`) REFERENCES `syj_empleados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes`
--


--
-- Table structure for table `dc_ordenes_compra_req`
--

CREATE TABLE `dc_ordenes_compra_req` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `dc_orden_req_id` bigint(20) unsigned NOT NULL,
  `dc_orden_req_detail_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_compra_req_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_compra_req_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_compra_req_dc_orden_req_id_foreign` (`dc_orden_req_id`),
  KEY `dc_ordenes_compra_req_dc_orden_req_detail_id_foreign` (`dc_orden_req_detail_id`),
  CONSTRAINT `dc_ordenes_compra_req_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_compra_req_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_compra_req_dc_orden_req_detail_id_foreign` FOREIGN KEY (`dc_orden_req_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_compra_req_dc_orden_req_id_foreign` FOREIGN KEY (`dc_orden_req_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_compra_req`
--


--
-- Table structure for table `dc_ordenes_details`
--

CREATE TABLE `dc_ordenes_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_origen_destino_id` bigint(20) unsigned DEFAULT NULL,
  `origendestinoable_id` int(10) unsigned DEFAULT NULL,
  `origendestinoable_type` text COLLATE utf8mb4_unicode_ci,
  `cantidades` decimal(16,2) NOT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `inv_producto_id_destino` 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,
  `system_tax_id` int(10) unsigned NOT NULL,
  `iva` decimal(16,2) NOT 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 `dc_ordenes_details_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_details_inv_producto_id_foreign` (`inv_producto_id`),
  KEY `dc_ordenes_details_system_tax_id_foreign` (`system_tax_id`),
  KEY `dc_ordenes_details_inv_producto_id_destino_foreign` (`inv_producto_id_destino`),
  KEY `dc_ordenes_details_dc_orden_origen_destino_id_foreign` (`dc_orden_origen_destino_id`),
  CONSTRAINT `dc_ordenes_details_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_details_dc_orden_origen_destino_id_foreign` FOREIGN KEY (`dc_orden_origen_destino_id`) REFERENCES `dc_ordenes_origen_destino` (`id`),
  CONSTRAINT `dc_ordenes_details_inv_producto_id_destino_foreign` FOREIGN KEY (`inv_producto_id_destino`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `dc_ordenes_details_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `dc_ordenes_details_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 `dc_ordenes_details`
--


--
-- Table structure for table `dc_ordenes_facturada`
--

CREATE TABLE `dc_ordenes_facturada` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned DEFAULT NULL,
  `fact_elec_receipt_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 `dc_ordenes_facturada_person_id_foreign` (`person_id`),
  KEY `dc_ordenes_facturada_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_facturada_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  CONSTRAINT `dc_ordenes_facturada_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_facturada_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `dc_ordenes_facturada_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_facturada`
--


--
-- Table structure for table `dc_ordenes_ingreso_compra`
--

CREATE TABLE `dc_ordenes_ingreso_compra` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `dc_orden_compra_id` bigint(20) unsigned NOT NULL,
  `dc_orden_compra_detail_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_ingreso_compra_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_ingreso_compra_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_ingreso_compra_dc_orden_compra_id_foreign` (`dc_orden_compra_id`),
  KEY `dc_ordenes_ingreso_compra_dc_orden_compra_detail_id_foreign` (`dc_orden_compra_detail_id`),
  CONSTRAINT `dc_ordenes_ingreso_compra_dc_orden_compra_detail_id_foreign` FOREIGN KEY (`dc_orden_compra_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_ingreso_compra_dc_orden_compra_id_foreign` FOREIGN KEY (`dc_orden_compra_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_ingreso_compra_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_ingreso_compra_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_ingreso_compra`
--


--
-- Table structure for table `dc_ordenes_origen_destino`
--

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

--
-- Dumping data for table `dc_ordenes_origen_destino`
--

INSERT INTO `dc_ordenes_origen_destino` VALUES (1,NULL,'Orden de Trabajo','App\\Models\\Inventario\\InvOrdenTrabajo',0,1,NULL,NULL,NULL),(2,NULL,'Centro de Costos','App\\Models\\Inventario\\InvOrdenTrabajoHorasTipo',0,1,NULL,'2023-09-12 22:19:27',NULL),(3,NULL,'Deposito','App\\Models\\Inventario\\InvDeposito',1,1,NULL,'2024-05-07 20:12:52',NULL),(4,NULL,'Empleado','App\\Models\\SyJEmpleado',0,0,NULL,'2023-07-03 22:09:15',NULL);

--
-- Table structure for table `dc_ordenes_revocadas`
--

CREATE TABLE `dc_ordenes_revocadas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_revocadas_dc_orden_id_foreign` (`dc_orden_id`),
  CONSTRAINT `dc_ordenes_revocadas_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_revocadas`
--


--
-- Table structure for table `dc_ordenes_servicio_compra`
--

CREATE TABLE `dc_ordenes_servicio_compra` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `dc_orden_compra_id` bigint(20) unsigned NOT NULL,
  `dc_orden_compra_detail_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_servicio_compra_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_servicio_compra_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_servicio_compra_dc_orden_compra_id_foreign` (`dc_orden_compra_id`),
  KEY `dc_ordenes_servicio_compra_dc_orden_compra_detail_id_foreign` (`dc_orden_compra_detail_id`),
  CONSTRAINT `dc_ordenes_servicio_compra_dc_orden_compra_detail_id_foreign` FOREIGN KEY (`dc_orden_compra_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_servicio_compra_dc_orden_compra_id_foreign` FOREIGN KEY (`dc_orden_compra_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_servicio_compra_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_servicio_compra_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_servicio_compra`
--


--
-- Table structure for table `dc_ordenes_tipos`
--

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

--
-- Dumping data for table `dc_ordenes_tipos`
--

INSERT INTO `dc_ordenes_tipos` VALUES (1,NULL,'ORDEN DE COMPRAS',NULL,1,NULL,'2022-09-09 16:52:28',NULL),(2,NULL,'ORDEN DE VENTAS',NULL,1,NULL,'2022-09-09 16:52:28',NULL),(3,NULL,'PRESUPUESTO',NULL,1,NULL,NULL,NULL),(4,NULL,'REQUERIMIENTO',NULL,1,NULL,NULL,NULL),(5,NULL,'REMITO DE INGRESO',NULL,1,NULL,'2023-06-12 23:28:03',NULL),(6,NULL,'REMITO DE EGRESO',NULL,1,NULL,NULL,NULL),(7,NULL,'REMITO INTERNO',NULL,1,NULL,NULL,NULL),(8,NULL,'REMITO DE INGRESO','Es lo mismo que un remito de ingreso, \n        pero los productosa ingresar provienen de una Orden de Compra',1,NULL,NULL,NULL),(9,NULL,'REMITO DE SERVICIO','Es un remito de Ingreso de un servicio que se\n        asigna directo a una OT',1,NULL,NULL,NULL),(10,NULL,'ORDEN DE PAGO',NULL,1,'2023-09-28 16:30:40','2023-09-28 16:30:40',NULL),(11,NULL,'ANULACION REQUERIMIENTOS',NULL,1,'2024-04-02 23:09:47','2024-04-02 23:09:47',NULL),(12,NULL,'ANULACION COMPRAS PRODUCTOS',NULL,1,'2024-04-02 23:09:47','2024-04-02 23:09:47',NULL),(13,NULL,'ANULACION COMPRAS SERVICIOS',NULL,1,'2024-04-02 23:09:47','2024-04-02 23:09:47',NULL),(14,NULL,'REMITO DE GASTO',NULL,1,'2024-05-07 20:12:52','2024-05-07 20:12:52',NULL);

--
-- Table structure for table `deudas_impositivas`
--

CREATE TABLE `deudas_impositivas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `vto_impuesto_id` int(10) unsigned NOT NULL,
  `periodo_deuda` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `concepto` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `deudas_impositivas_vto_impuesto_id_foreign` (`vto_impuesto_id`),
  KEY `deudas_impositivas_person_id_foreign` (`person_id`),
  CONSTRAINT `deudas_impositivas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `deudas_impositivas_vto_impuesto_id_foreign` FOREIGN KEY (`vto_impuesto_id`) REFERENCES `vto_impuestos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `deudas_impositivas`
--


--
-- Table structure for table `ejer_anteriores`
--

CREATE TABLE `ejer_anteriores` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `anio` int(11) NOT NULL,
  `ventas` decimal(16,2) DEFAULT NULL,
  `compras` decimal(16,2) DEFAULT NULL,
  `sueldos` decimal(16,2) DEFAULT NULL,
  `impuesto` decimal(16,2) DEFAULT NULL,
  `apagar` decimal(16,2) DEFAULT NULL,
  `afavor` decimal(16,2) DEFAULT NULL,
  `comentario` varchar(255) 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 `ejer_anteriores_person_id_foreign` (`person_id`),
  CONSTRAINT `ejer_anteriores_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ejer_anteriores`
--


--
-- Table structure for table `estado_civil`
--

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

--
-- Dumping data for table `estado_civil`
--

INSERT INTO `estado_civil` VALUES (1,NULL,'Separado Legal',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(2,NULL,'Separado de Hecho',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(3,NULL,'Divorciado',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(4,NULL,'Convivencia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(5,NULL,'Soltero',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(6,NULL,'Casado',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(7,NULL,'Viudo',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);

--
-- Table structure for table `fa_masiva`
--

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

--
-- Dumping data for table `fa_masiva`
--


--
-- Table structure for table `fa_masiva_detalle`
--

CREATE TABLE `fa_masiva_detalle` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fa_masiva_id` int(11) NOT NULL,
  `cliente_id` int(11) NOT NULL,
  `tipo_comprobante_id` int(10) unsigned NOT NULL DEFAULT '1',
  `zone_id` int(10) unsigned NOT NULL DEFAULT '22',
  `activity_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cond_frente_iva_id` int(10) unsigned NOT NULL DEFAULT '1',
  `system_tax_id` int(10) unsigned NOT NULL DEFAULT '1',
  `concepto_id` int(10) unsigned NOT NULL DEFAULT '1',
  `taxable_iibb` int(10) unsigned NOT NULL DEFAULT '2',
  `renglon1` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe1` decimal(20,2) DEFAULT NULL,
  `renglon2` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe2` decimal(20,2) DEFAULT NULL,
  `renglon3` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe3` decimal(20,2) DEFAULT NULL,
  `punto_venta_id` int(11) DEFAULT NULL,
  `fecha_comprobante` date DEFAULT NULL,
  `fecha_facturado_desde` date DEFAULT NULL,
  `fecha_facturado_hasta` date DEFAULT NULL,
  `fecha_vencimiento_pago` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fa_masiva_detalle_concepto_id_foreign` (`concepto_id`),
  KEY `fa_masiva_detalle_system_tax_id_foreign` (`system_tax_id`),
  KEY `fa_masiva_detalle_cond_frente_iva_id_foreign` (`cond_frente_iva_id`),
  KEY `fa_masiva_detalle_zone_id_foreign` (`zone_id`),
  KEY `fa_masiva_detalle_tipo_comprobante_id_foreign` (`tipo_comprobante_id`),
  KEY `fa_masiva_detalle_activity_id_foreign` (`activity_id`),
  CONSTRAINT `fa_masiva_detalle_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `fa_masiva_detalle_concepto_id_foreign` FOREIGN KEY (`concepto_id`) REFERENCES `fact_elec_conceptos_afip` (`id`),
  CONSTRAINT `fa_masiva_detalle_cond_frente_iva_id_foreign` FOREIGN KEY (`cond_frente_iva_id`) REFERENCES `fac_elec_cond_frente_iva` (`id`),
  CONSTRAINT `fa_masiva_detalle_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`),
  CONSTRAINT `fa_masiva_detalle_tipo_comprobante_id_foreign` FOREIGN KEY (`tipo_comprobante_id`) REFERENCES `receipt_types` (`id`),
  CONSTRAINT `fa_masiva_detalle_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fa_masiva_detalle`
--


--
-- Table structure for table `fa_masiva_stock`
--

CREATE TABLE `fa_masiva_stock` (
  `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,
  `data` 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 `fa_masiva_stock_person_id_foreign` (`person_id`),
  KEY `fa_masiva_stock_person_id_relationed_foreign` (`person_id_relationed`),
  CONSTRAINT `fa_masiva_stock_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `fa_masiva_stock_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 `fa_masiva_stock`
--


--
-- Table structure for table `fac_elec_cond_frente_iva`
--

CREATE TABLE `fac_elec_cond_frente_iva` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` 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`),
  UNIQUE KEY `fac_elec_cond_frente_iva_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fac_elec_cond_frente_iva`
--

INSERT INTO `fac_elec_cond_frente_iva` VALUES (1,'IVA Responsable Inscripto','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(2,'IVA Sujeto Exento','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(3,'Consumidor Final','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(4,'Responsable Monotributo','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(5,'Proveedor del Exterior','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(6,'Cliente del Exterior','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(7,'IVA Liberado - Ley Nº 19.640','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(8,'IVA Responsable Inscripto - Agente de Percepción','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(9,'Monotributista Social','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(10,'IVA No Alcanzado','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL);

--
-- Table structure for table `fac_elec_unidad_medidas`
--

CREATE TABLE `fac_elec_unidad_medidas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` 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`),
  UNIQUE KEY `fac_elec_unidad_medidas_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fac_elec_unidad_medidas`
--

INSERT INTO `fac_elec_unidad_medidas` VALUES (1,'Grs','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(2,'Kg','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(3,'Mts','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(4,'Mts2','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(5,'Mts3','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(6,'Lts','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(7,'1000 Kwh','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(8,'Unidades','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(9,'Pares','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(10,'Doc','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(11,'Quilates','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(12,'Millares','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(13,'Milimetros','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(14,'Mm 3','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(15,'Km','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(16,'Hectolitros','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(17,'Cm','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(18,'Cm 3','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL);

--
-- Table structure for table `fact_elec_conceptos_afip`
--

CREATE TABLE `fact_elec_conceptos_afip` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `afip_comprobante_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_conceptos_afip`
--

INSERT INTO `fact_elec_conceptos_afip` VALUES (1,1,'Producto','2019-03-13 13:29:34','2019-03-13 13:29:34'),(2,2,'Servicios','2019-03-13 13:29:34','2019-03-13 13:29:34'),(3,3,'Productos y Servicios','2019-03-13 13:29:34','2019-03-13 13:29:34');

--
-- Table structure for table `fact_elec_perc_ret`
--

CREATE TABLE `fact_elec_perc_ret` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `codigo_afip` int(10) unsigned NOT NULL,
  `other_tax_id` 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`),
  KEY `fact_elec_perc_ret_other_tax_id_foreign` (`other_tax_id`),
  CONSTRAINT `fact_elec_perc_ret_other_tax_id_foreign` FOREIGN KEY (`other_tax_id`) REFERENCES `other_taxes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_perc_ret`
--

INSERT INTO `fact_elec_perc_ret` VALUES (1,NULL,'Per./Ret de Imp. a las Ganancias',1,1032,1,NULL,NULL,NULL),(2,NULL,'Per./Ret de IVA',1,1000,1,NULL,NULL,NULL),(3,NULL,'Per./Ret de IIBB',2,1006,1,NULL,NULL,NULL),(4,NULL,'Impuestos Internos',4,1001,1,NULL,NULL,NULL),(5,NULL,'Impuestos Municipales',3,1031,1,NULL,NULL,NULL);

--
-- Table structure for table `fact_elec_perc_ret_details`
--

CREATE TABLE `fact_elec_perc_ret_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fact_elec_perc_ret_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `fact_elec_receipt_id` int(10) unsigned NOT NULL,
  `detalle` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `base_imponible` decimal(16,2) DEFAULT NULL,
  `alicuota` decimal(16,2) DEFAULT NULL,
  `importe` decimal(16,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fact_elec_perc_ret_details_fact_elec_perc_ret_id_foreign` (`fact_elec_perc_ret_id`),
  KEY `fact_elec_perc_ret_details_person_id_foreign` (`person_id`),
  KEY `fact_elec_perc_ret_details_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  KEY `fact_elec_perc_ret_details_zone_id_foreign` (`zone_id`),
  CONSTRAINT `fact_elec_perc_ret_details_fact_elec_perc_ret_id_foreign` FOREIGN KEY (`fact_elec_perc_ret_id`) REFERENCES `fact_elec_perc_ret` (`id`),
  CONSTRAINT `fact_elec_perc_ret_details_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `fact_elec_perc_ret_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `fact_elec_perc_ret_details_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_perc_ret_details`
--


--
-- Table structure for table `fact_elec_puntos_venta`
--

CREATE TABLE `fact_elec_puntos_venta` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `direccion` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `codigo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '0000',
  `codigo_postal` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zone_id` int(11) DEFAULT NULL,
  `logo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fact_elec_puntos_venta_person_id_foreign` (`person_id`),
  CONSTRAINT `fact_elec_puntos_venta_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_puntos_venta`
--


--
-- Table structure for table `fact_elec_receipt_details`
--

CREATE TABLE `fact_elec_receipt_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fact_elec_receipt_id` int(10) unsigned NOT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `cantidad` decimal(20,2) NOT NULL,
  `unidad_medida` text COLLATE utf8mb4_unicode_ci,
  `precio_unitario` decimal(20,2) NOT NULL,
  `neto_gravado` decimal(20,2) NOT NULL,
  `bonificacion_porcentaje` decimal(20,2) DEFAULT NULL,
  `bonificacion_monto` decimal(20,2) DEFAULT NULL,
  `bonificacion_subtotal` decimal(20,2) DEFAULT NULL,
  `system_tax_id` int(10) unsigned NOT NULL DEFAULT '1',
  `iva_monto` decimal(20,2) DEFAULT NULL,
  `iva_subtotal` decimal(20,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `codigo` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fact_elec_receipt_details_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  KEY `fact_elec_receipt_details_system_tax_id_foreign` (`system_tax_id`),
  CONSTRAINT `fact_elec_receipt_details_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `fact_elec_receipt_details_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 `fact_elec_receipt_details`
--


--
-- Table structure for table `fact_elec_receipts`
--

CREATE TABLE `fact_elec_receipts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `fecha_comprobante` date NOT NULL,
  `fecha_facturado_desde` date DEFAULT NULL,
  `fecha_facturado_hasta` date DEFAULT NULL,
  `fecha_vencimiento_pago` date DEFAULT NULL,
  `concepto_id` int(10) unsigned NOT NULL,
  `punto_venta_id` int(10) unsigned NOT NULL,
  `tipo_comprobante_id` int(10) unsigned NOT NULL,
  `condiciones_venta` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `comprobante_asoc` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `cae` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cae_vencimiento` date DEFAULT NULL,
  `nro_comprobante_afip` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fecha_proceso_afip` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_receptor` int(10) unsigned NOT NULL,
  `condicion_venta_id` int(11) DEFAULT NULL,
  `cond_frente_iva_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cbu` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `opcion_transferencia` longtext COLLATE utf8mb4_unicode_ci,
  `referencia` text COLLATE utf8mb4_unicode_ci,
  `alias_cbu` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total_otros_tributos` decimal(16,2) DEFAULT '0.00',
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(9,2) NOT NULL DEFAULT '1.00',
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fact_elec_receipts_user_id_foreign` (`user_id`),
  KEY `fact_elec_receipts_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `fact_elec_receipts_tipo_comprobante_id_foreign` (`tipo_comprobante_id`),
  KEY `fact_elec_receipts_person_id_foreign` (`person_id`),
  KEY `fact_elec_receipts_person_id_receptor_foreign` (`person_id_receptor`),
  KEY `fact_elec_receipts_cond_frente_iva_id_foreign` (`cond_frente_iva_id`),
  KEY `fact_elec_receipts_moneda_id_foreign` (`moneda_id`),
  CONSTRAINT `fact_elec_receipts_cond_frente_iva_id_foreign` FOREIGN KEY (`cond_frente_iva_id`) REFERENCES `condicion_frente_al_iva` (`id`),
  CONSTRAINT `fact_elec_receipts_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `fact_elec_receipts_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `fact_elec_receipts_person_id_receptor_foreign` FOREIGN KEY (`person_id_receptor`) REFERENCES `persons` (`id`),
  CONSTRAINT `fact_elec_receipts_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`),
  CONSTRAINT `fact_elec_receipts_tipo_comprobante_id_foreign` FOREIGN KEY (`tipo_comprobante_id`) REFERENCES `receipt_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_receipts`
--


--
-- Table structure for table `fact_elec_tipos_docs_afip`
--

CREATE TABLE `fact_elec_tipos_docs_afip` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `afip_tipo_doc_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_tipos_docs_afip`
--

INSERT INTO `fact_elec_tipos_docs_afip` VALUES (1,1,'CI Buenos Aires','2019-03-13 13:29:34','2019-03-13 13:29:34'),(2,2,'CI Catamarca','2019-03-13 13:29:34','2019-03-13 13:29:34'),(3,3,'CI Córdoba','2019-03-13 13:29:34','2019-03-13 13:29:34'),(4,4,'CI Corrientes','2019-03-13 13:29:34','2019-03-13 13:29:34'),(5,5,'CI Entre Ríos','2019-03-13 13:29:34','2019-03-13 13:29:34'),(6,6,'CI Jujuy','2019-03-13 13:29:34','2019-03-13 13:29:34'),(7,7,'CI Mendoza','2019-03-13 13:29:34','2019-03-13 13:29:34'),(8,8,'CI La Rioja','2019-03-13 13:29:34','2019-03-13 13:29:34'),(9,9,'CI Salta','2019-03-13 13:29:34','2019-03-13 13:29:34'),(10,10,'CI San Juan','2019-03-13 13:29:34','2019-03-13 13:29:34'),(11,11,'CI San Luis','2019-03-13 13:29:34','2019-03-13 13:29:34'),(12,12,'CI Santa Fe','2019-03-13 13:29:34','2019-03-13 13:29:34'),(13,13,'CI Santiago del Estero','2019-03-13 13:29:34','2019-03-13 13:29:34'),(14,14,'CI Tucumán','2019-03-13 13:29:34','2019-03-13 13:29:34'),(16,16,'CI Chaco','2019-03-13 13:29:34','2019-03-13 13:29:34'),(17,17,'CI Chubut','2019-03-13 13:29:34','2019-03-13 13:29:34'),(18,18,'CI Formosa','2019-03-13 13:29:34','2019-03-13 13:29:34'),(19,19,'CI Misiones','2019-03-13 13:29:34','2019-03-13 13:29:34'),(20,20,'CI Neuquén','2019-03-13 13:29:34','2019-03-13 13:29:34'),(21,21,'CI La Pampa','2019-03-13 13:29:34','2019-03-13 13:29:34'),(22,22,'CI Río Negro','2019-03-13 13:29:34','2019-03-13 13:29:34'),(23,23,'CI Santa Cruz','2019-03-13 13:29:34','2019-03-13 13:29:34'),(24,24,'CI Tierra del Fuego','2019-03-13 13:29:34','2019-03-13 13:29:34'),(80,80,'CUIT','2019-03-13 13:29:34','2019-03-13 13:29:34'),(86,86,'CUIL','2019-03-13 13:29:34','2019-03-13 13:29:34'),(87,87,'CDI','2019-03-13 13:29:34','2019-03-13 13:29:34'),(89,89,'LE','2019-03-13 13:29:34','2019-03-13 13:29:34'),(90,90,'LC','2019-03-13 13:29:34','2019-03-13 13:29:34'),(91,91,'CI Extranjera','2019-03-13 13:29:34','2019-03-13 13:29:34'),(92,92,'en trámite','2019-03-13 13:29:34','2019-03-13 13:29:34'),(93,93,'Acta Nacimiento','2019-03-13 13:29:34','2019-03-13 13:29:34'),(94,94,'Pasaporte','2019-03-13 13:29:34','2019-03-13 13:29:34'),(95,95,'CI Bs. As. RNP','2019-03-13 13:29:34','2019-03-13 13:29:34'),(96,96,'DNI','2019-03-13 13:29:34','2019-03-13 13:29:34'),(97,0,'CI Policía Federal','2019-03-13 13:29:34','2019-03-13 13:29:34'),(99,99,'Doc. (Otro)','2019-03-13 13:29:34','2019-03-13 13:29:34');

--
-- Table structure for table `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `failed_jobs`
--


--
-- Table structure for table `faq`
--

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

--
-- Dumping data for table `faq`
--


--
-- Table structure for table `file_upload_details`
--

CREATE TABLE `file_upload_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `file_upload_id` int(10) unsigned NOT NULL,
  `detail` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `file_upload_details_file_upload_id_foreign` (`file_upload_id`),
  CONSTRAINT `file_upload_details_file_upload_id_foreign` FOREIGN KEY (`file_upload_id`) REFERENCES `file_uploads` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `file_upload_details`
--


--
-- Table structure for table `file_uploads`
--

CREATE TABLE `file_uploads` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `data_type_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int(10) unsigned NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `file_uploads_data_type_id_foreign` (`data_type_id`),
  KEY `file_uploads_user_id_foreign` (`user_id`),
  KEY `file_uploads_person_id_foreign` (`person_id`),
  KEY `file_uploads_period_id_foreign` (`period_id`),
  CONSTRAINT `file_uploads_data_type_id_foreign` FOREIGN KEY (`data_type_id`) REFERENCES `data_types` (`id`),
  CONSTRAINT `file_uploads_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `file_uploads_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `file_uploads_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `tusers` (`idUser`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `file_uploads`
--


--
-- Table structure for table `forma_de_entrega`
--

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

--
-- Dumping data for table `forma_de_entrega`
--


--
-- Table structure for table `ganan_art_90`
--

CREATE TABLE `ganan_art_90` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `anio` int(10) unsigned NOT NULL,
  `desde` decimal(16,2) NOT NULL DEFAULT '0.00',
  `hasta` decimal(16,2) NOT NULL DEFAULT '0.00',
  `impuesto` decimal(16,2) NOT NULL DEFAULT '0.00',
  `mas_porcentaje` decimal(16,2) NOT NULL DEFAULT '0.00',
  `excedente` 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`)
) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_art_90`
--

INSERT INTO `ganan_art_90` VALUES (1,2017,0.00,20000.00,0.00,0.05,0.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(2,2017,20000.00,40000.00,1000.00,0.09,20000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(3,2017,40000.00,60000.00,2800.00,0.12,40000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(4,2017,60000.00,80000.00,5200.00,0.15,60000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(5,2017,80000.00,120000.00,8200.00,0.19,80000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(6,2017,120000.00,160000.00,15800.00,0.23,120000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(7,2017,160000.00,240000.00,25000.00,0.27,160000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(8,2017,240000.00,320000.00,46600.00,0.31,240000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(9,2017,320000.00,999999999.99,71400.00,0.35,320000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(10,2018,0.00,25754.00,0.00,0.05,0.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(11,2018,25754.00,51508.00,1287.70,0.09,25754.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(12,2018,51508.00,77262.00,3605.56,0.12,51508.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(13,2018,77262.00,103016.00,6696.04,0.15,77262.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(14,2018,103016.00,154524.00,10559.14,0.19,103016.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(15,2018,154524.00,206032.00,20345.66,0.23,154524.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(16,2018,206032.00,309048.00,32192.50,0.27,206032.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(17,2018,309048.00,412064.00,60006.82,0.31,309048.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(18,2018,412064.00,999999999.99,91941.78,0.35,412064.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(19,2019,0.00,33039.81,0.00,0.05,0.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(20,2019,33039.81,66079.61,1651.99,0.09,33039.81,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(21,2019,66079.61,99119.42,4625.57,0.12,66079.61,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(22,2019,99119.42,132159.23,8590.35,0.15,99119.42,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(23,2019,132159.23,198238.84,13546.32,0.19,132159.23,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(24,2019,198238.84,264318.45,26101.45,0.23,198238.84,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(25,2019,264318.45,396477.68,41299.76,0.27,264318.45,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(26,2019,396477.68,528636.91,76982.75,0.31,396477.68,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(27,2019,528636.91,999999999.99,117952.11,0.35,528636.91,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(28,2016,0.00,10000.00,0.00,0.09,0.00,'2020-01-28 13:48:34','2020-02-27 02:59:44',NULL),(29,2016,10000.00,20000.00,900.00,0.14,10000.00,'2020-01-28 13:48:34','2020-02-27 02:59:44',NULL),(30,2016,20000.00,30000.00,2300.00,0.19,20000.00,'2020-01-28 13:48:34','2020-02-27 02:59:44',NULL),(31,2016,30000.00,60000.00,4200.00,0.23,30000.00,'2020-01-28 13:48:34','2020-02-27 02:59:44',NULL),(32,2016,60000.00,90000.00,11100.00,0.27,60000.00,'2020-01-28 13:48:34','2020-02-27 02:59:44',NULL),(33,2016,90000.00,120000.00,19200.00,0.31,90000.00,'2020-01-28 13:48:34','2020-02-27 02:59:44',NULL),(34,2016,120000.00,999999999.00,28500.00,0.35,120000.00,'2020-01-28 13:48:34','2020-02-27 02:59:44',NULL),(37,2020,0.00,47669.16,0.00,0.05,0.00,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(38,2020,47669.16,95338.32,2383.46,0.09,47669.16,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(39,2020,95338.32,143007.48,6673.68,0.12,95338.32,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(40,2020,143007.48,190676.65,12393.98,0.15,143007.48,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(41,2020,190676.65,286014.96,19544.36,0.19,190676.65,'2020-01-28 14:17:39','2022-08-27 17:46:26',NULL),(42,2020,286014.96,381353.28,37658.64,0.23,286014.96,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL);
INSERT INTO `ganan_art_90` VALUES (43,2020,381353.28,572029.92,59586.45,0.27,381353.28,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(44,2020,572029.92,762706.57,111069.14,0.31,572029.92,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(45,2020,762706.57,999999999.99,170178.90,0.35,762706.57,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(46,2021,0.00,64532.64,0.00,0.05,0.00,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(47,2021,64532.64,129065.29,3226.63,0.09,64532.64,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(48,2021,129065.29,193597.93,9034.57,0.12,129065.29,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(49,2021,193597.93,258130.58,16778.49,0.15,193597.93,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(50,2021,258130.58,387195.86,26458.39,0.19,258130.58,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(51,2021,387195.86,516261.14,50980.79,0.23,387195.86,'2022-08-27 17:46:27','2022-08-27 17:46:37',NULL),(52,2021,516261.14,774391.71,80665.80,0.27,516261.14,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(53,2021,774391.71,1032522.30,150361.06,0.31,774391.71,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(54,2021,1032522.30,999999999.99,230381.54,0.35,1032522.30,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(55,2022,0.00,97201.99,0.00,0.05,0.00,'2022-08-27 17:46:31','2022-08-27 17:46:32',NULL),(56,2022,97201.99,194404.01,4860.10,0.09,97201.99,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(57,2022,194404.01,291606.01,13608.29,0.12,194404.01,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(58,2022,291606.01,388808.02,25272.52,0.15,291606.01,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(59,2022,388808.02,583212.02,39852.82,0.19,388808.02,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(60,2022,583212.02,777616.02,76789.59,0.23,583212.02,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(61,2022,777616.02,1166424.03,121502.49,0.27,777616.02,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(62,2022,1166424.03,1555232.07,226480.67,0.31,1166424.03,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(63,2022,1555232.07,999999999.99,347011.15,0.35,1555232.07,'2022-08-27 17:46:31','2023-06-27 10:53:57',NULL),(64,2023,0.00,1400000.00,0.00,0.00,0.00,'2022-12-28 17:47:50','2023-09-25 21:55:55',NULL),(65,2023,1400000.00,1526000.00,0.00,0.09,1400000.00,'2022-12-28 17:47:50','2023-09-25 21:55:55',NULL),(66,2023,1526000.00,1648080.00,11340.00,0.12,1526000.00,'2022-12-28 17:47:50','2023-09-25 21:55:55',NULL),(67,2023,1648080.00,1763445.60,25989.60,0.15,1648080.00,'2022-12-28 17:47:50','2023-09-25 21:55:55',NULL),(68,2023,1763445.60,1869252.34,43294.44,0.19,1763445.60,'2022-12-28 17:47:50','2023-09-25 21:55:55',NULL),(69,2023,1869252.34,1962714.95,63397.72,0.23,1869252.34,'2022-12-28 17:47:50','2023-09-25 21:55:55',NULL),(70,2023,1962714.95,2041223.55,84894.12,0.27,1962714.95,'2022-12-28 17:47:50','2023-09-25 21:55:55',NULL),(71,2023,2041223.55,2102460.26,106091.44,0.31,2041223.55,'2022-12-28 17:47:50','2023-09-25 21:55:55',NULL),(72,2023,2102460.26,999999999.00,125074.82,0.35,2102460.26,'2022-12-28 17:47:50','2023-09-25 21:55:55',NULL);

--
-- Table structure for table `ganan_categorias`
--

CREATE TABLE `ganan_categorias` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_categorias`
--

INSERT INTO `ganan_categorias` VALUES (1,'Primera',1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(2,'Segunda',1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(3,'Tercera',1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(4,'Cuarta',1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL);

--
-- Table structure for table `ganan_conceptos_anticipos`
--

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

--
-- Dumping data for table `ganan_conceptos_anticipos`
--

INSERT INTO `ganan_conceptos_anticipos` VALUES (1,NULL,'Anticipos',1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(2,NULL,'Retenciones y Percepciones',1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(3,NULL,'Saldo a Favor Anterior',1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL);

--
-- Table structure for table `ganan_ddjj_detail_anticipos`
--

CREATE TABLE `ganan_ddjj_detail_anticipos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ganan_ddjj_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `ganan_concepto_anticipo_id` int(10) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ganan_ddjj_detail_anticipos_ganan_ddjj_id_foreign` (`ganan_ddjj_id`),
  KEY `ganan_ddjj_detail_anticipos_person_id_foreign` (`person_id`),
  KEY `ganan_ddjj_detail_anticipos_ganan_concepto_anticipo_id_foreign` (`ganan_concepto_anticipo_id`),
  CONSTRAINT `ganan_ddjj_detail_anticipos_ganan_concepto_anticipo_id_foreign` FOREIGN KEY (`ganan_concepto_anticipo_id`) REFERENCES `ganan_conceptos_anticipos` (`id`),
  CONSTRAINT `ganan_ddjj_detail_anticipos_ganan_ddjj_id_foreign` FOREIGN KEY (`ganan_ddjj_id`) REFERENCES `ganan_ddjjs` (`id`),
  CONSTRAINT `ganan_ddjj_detail_anticipos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_ddjj_detail_anticipos`
--


--
-- Table structure for table `ganan_ddjj_detail_deducciones`
--

CREATE TABLE `ganan_ddjj_detail_deducciones` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ganan_ddjj_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `ganan_deduccion_id` int(10) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ganan_ddjj_detail_deducciones_ganan_ddjj_id_foreign` (`ganan_ddjj_id`),
  KEY `ganan_ddjj_detail_deducciones_person_id_foreign` (`person_id`),
  KEY `ganan_ddjj_detail_deducciones_ganan_deduccion_id_foreign` (`ganan_deduccion_id`),
  CONSTRAINT `ganan_ddjj_detail_deducciones_ganan_ddjj_id_foreign` FOREIGN KEY (`ganan_ddjj_id`) REFERENCES `ganan_ddjjs` (`id`),
  CONSTRAINT `ganan_ddjj_detail_deducciones_ganan_deduccion_id_foreign` FOREIGN KEY (`ganan_deduccion_id`) REFERENCES `ganan_deducciones` (`id`),
  CONSTRAINT `ganan_ddjj_detail_deducciones_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_ddjj_detail_deducciones`
--


--
-- Table structure for table `ganan_ddjj_detail_ing_egr`
--

CREATE TABLE `ganan_ddjj_detail_ing_egr` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ganan_ddjj_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `conta_tipo_asiento_id` int(10) unsigned NOT NULL,
  `ganan_categoria_id` int(10) unsigned NOT NULL,
  `ganan_tipo_op_id` int(10) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ganan_ddjj_detail_ing_egr_ganan_ddjj_id_foreign` (`ganan_ddjj_id`),
  KEY `ganan_ddjj_detail_ing_egr_person_id_foreign` (`person_id`),
  KEY `ganan_ddjj_detail_ing_egr_conta_tipo_asiento_id_foreign` (`conta_tipo_asiento_id`),
  KEY `ganan_ddjj_detail_ing_egr_ganan_categoria_id_foreign` (`ganan_categoria_id`),
  KEY `ganan_ddjj_detail_ing_egr_ganan_tipo_op_id_foreign` (`ganan_tipo_op_id`),
  CONSTRAINT `ganan_ddjj_detail_ing_egr_conta_tipo_asiento_id_foreign` FOREIGN KEY (`conta_tipo_asiento_id`) REFERENCES `conta_tipo_asientos` (`id`),
  CONSTRAINT `ganan_ddjj_detail_ing_egr_ganan_categoria_id_foreign` FOREIGN KEY (`ganan_categoria_id`) REFERENCES `ganan_categorias` (`id`),
  CONSTRAINT `ganan_ddjj_detail_ing_egr_ganan_ddjj_id_foreign` FOREIGN KEY (`ganan_ddjj_id`) REFERENCES `ganan_ddjjs` (`id`),
  CONSTRAINT `ganan_ddjj_detail_ing_egr_ganan_tipo_op_id_foreign` FOREIGN KEY (`ganan_tipo_op_id`) REFERENCES `ganan_tipos_op` (`id`),
  CONSTRAINT `ganan_ddjj_detail_ing_egr_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_ddjj_detail_ing_egr`
--


--
-- Table structure for table `ganan_ddjjs`
--

CREATE TABLE `ganan_ddjjs` (
  `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,
  `ingresos_gravados` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ingresos_exentos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `egresos_gravados` decimal(16,2) NOT NULL DEFAULT '0.00',
  `egresos_exentos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `deducciones_total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `base_imponible` decimal(16,2) NOT NULL DEFAULT '0.00',
  `impuesto_determinado` decimal(16,2) NOT NULL DEFAULT '0.00',
  `saldo_a_pagar` decimal(16,2) NOT NULL DEFAULT '0.00',
  `saldo_a_favor` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ganan_ddjjs_person_id_foreign` (`person_id`),
  CONSTRAINT `ganan_ddjjs_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_ddjjs`
--


--
-- Table structure for table `ganan_deducciones`
--

CREATE TABLE `ganan_deducciones` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `anio` int(10) unsigned NOT NULL,
  `generales` tinyint(1) NOT NULL DEFAULT '0',
  `particulares` tinyint(1) NOT NULL DEFAULT '0',
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `status` 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=173 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_deducciones`
--

INSERT INTO `ganan_deducciones` VALUES (1,NULL,2017,1,0,'Primas de seguro para el caso de muerte',999.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(2,NULL,2017,1,0,'Gastos de Sepelio',999.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(3,NULL,2017,1,0,'Aportes a Obras Sociales',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(4,NULL,2017,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(5,NULL,2017,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(6,NULL,2017,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(7,NULL,2017,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(8,NULL,2017,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(9,NULL,2017,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(10,NULL,2017,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(11,NULL,2017,1,0,'Servicio Doméstico',51967.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(12,NULL,2017,1,0,'Donaciones',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(13,NULL,2017,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(14,NULL,2017,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(15,NULL,2017,0,1,'Conyuge',48447.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(16,NULL,2017,0,1,'Hijo Incapacitado',24432.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(17,NULL,2017,0,1,'Hijo Menor 18 años',24432.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(18,NULL,2017,0,1,'Hijastro Incapacitado',24432.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(19,NULL,2017,0,1,'Hijastro Menor 18 Años',24432.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(20,NULL,2017,0,1,'Ganancia No Imponible',51967.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(21,NULL,2017,0,1,'Deduccion Especial',51967.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(22,NULL,2018,1,0,'Primas de seguro para el caso de muerte',12000.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(23,NULL,2018,1,0,'Gastos de Sepelio',999.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(24,NULL,2018,1,0,'Aportes a Obras Sociales',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(25,NULL,2018,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(26,NULL,2018,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(27,NULL,2018,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(28,NULL,2018,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(29,NULL,2018,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(30,NULL,2018,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL);
INSERT INTO `ganan_deducciones` VALUES (31,NULL,2018,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(32,NULL,2018,1,0,'Servicio Doméstico',66917.91,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(33,NULL,2018,1,0,'Donaciones',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(34,NULL,2018,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(35,NULL,2018,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(36,NULL,2018,0,1,'Conyuge',66917.91,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(37,NULL,2018,0,1,'Hijo Incapacitado',31461.09,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(38,NULL,2018,0,1,'Hijo Menor 18 años',31461.09,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(39,NULL,2018,0,1,'Hijastro Incapacitado',31461.09,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(40,NULL,2018,0,1,'Hijastro Menor 18 Años',31461.09,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(41,NULL,2018,0,1,'Ganancia No Imponible',66917.91,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(42,NULL,2018,0,1,'Deduccion Especial',66917.91,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(43,NULL,2019,1,0,'Primas de seguro para el caso de muerte',18000.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(44,NULL,2019,1,0,'Gastos de Sepelio',999.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(45,NULL,2019,1,0,'Aportes a Obras Sociales',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(46,NULL,2019,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(47,NULL,2019,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(48,NULL,2019,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(49,NULL,2019,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(50,NULL,2019,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(51,NULL,2019,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(52,NULL,2019,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(53,NULL,2019,1,0,'Servicio Doméstico',103018.79,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(54,NULL,2019,1,0,'Donaciones',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(55,NULL,2019,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(56,NULL,2019,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(57,NULL,2019,0,1,'Conyuge',80033.97,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(58,NULL,2019,0,1,'Hijo Incapacitado',40361.43,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(59,NULL,2019,0,1,'Hijo Menor 18 años',206037.56,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(60,NULL,2019,0,1,'Hijastro Incapacitado',206037.56,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(61,NULL,2019,0,1,'Hijastro Menor 18 Años',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(62,NULL,2019,0,1,'Ganancia No Imponible',103018.79,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(63,NULL,2019,0,1,'Deduccion Especial',103018.79,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL);
INSERT INTO `ganan_deducciones` VALUES (64,NULL,2016,1,0,'Primas de seguro para el caso de muerte',999.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(65,NULL,2016,1,0,'Gastos de Sepelio',999.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(66,NULL,2016,1,0,'Aportes a Obras Sociales',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(67,NULL,2016,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(68,NULL,2016,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(69,NULL,2016,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(70,NULL,2016,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(71,NULL,2016,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(72,NULL,2016,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(73,NULL,2016,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(74,NULL,2016,1,0,'Servicio Doméstico',42318.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(75,NULL,2016,1,0,'Donaciones',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(76,NULL,2016,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(77,NULL,2016,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y \n            Paramédica',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(78,NULL,2016,0,1,'Conyuge',39778.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(79,NULL,2016,0,1,'Hijo Incapacitado',19889.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(80,NULL,2016,0,1,'Hijo Menor 18 años',19889.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(81,NULL,2016,0,1,'Hijastro Incapacitado',19889.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(82,NULL,2016,0,1,'Hijastro Menor 18 Años',19889.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(83,NULL,2016,0,1,'Ganancia No Imponible',42318.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(84,NULL,2016,0,1,'Deduccion Especial',42318.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(85,NULL,2019,1,0,'Alquileres',103018.97,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(86,NULL,2020,1,0,'Alquileres',123861.17,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(87,NULL,2020,1,0,'Primas de seguro para el caso de muerte',18000.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(88,NULL,2020,1,0,'Gastos de Sepelio',999.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(89,NULL,2020,1,0,'Aportes a Obras Sociales',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(90,NULL,2020,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(91,NULL,2020,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(92,NULL,2020,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(93,NULL,2020,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL);
INSERT INTO `ganan_deducciones` VALUES (94,NULL,2020,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(95,NULL,2020,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(96,NULL,2020,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(97,NULL,2020,1,0,'Servicio Doméstico',123861.17,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(98,NULL,2020,1,0,'Donaciones',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(99,NULL,2020,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(100,NULL,2020,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(101,NULL,2020,0,1,'Conyuge',115471.38,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(102,NULL,2020,0,1,'Hijo Incapacitado',58232.65,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(103,NULL,2020,0,1,'Hijo Menor 18 años',58232.65,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(104,NULL,2020,0,1,'Hijastro Incapacitado',58232.65,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(105,NULL,2020,0,1,'Hijastro Menor 18 Años',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(106,NULL,2020,0,1,'Ganancia No Imponible',123861.17,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(107,NULL,2020,0,1,'Deduccion Especial Art 30 Apartado 1',103018.79,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(108,NULL,2020,0,1,'Deduccion Especial Art 30 Apartado 1 \"Nuevos Profesionales / Emprendedores',309652.93,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(109,NULL,2020,0,1,'Deduccion Especial Art 30 Apartado 2',594533.62,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(110,NULL,2021,1,0,'Primas de seguro para el caso de muerte',24000.00,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(111,NULL,2021,1,0,'Gastos de Sepelio',996.23,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(112,NULL,2021,1,0,'Aportes a Obras Sociales',0.00,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(113,NULL,2021,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(114,NULL,2021,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(115,NULL,2021,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(116,NULL,2021,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(117,NULL,2021,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(118,NULL,2021,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(119,NULL,2021,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(120,NULL,2021,1,0,'Servicio Doméstico',167678.40,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(121,NULL,2021,1,0,'Donaciones',0.00,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(122,NULL,2021,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(123,NULL,2021,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(124,NULL,2021,0,1,'Conyuge',156320.63,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(125,NULL,2021,0,1,'Hijo Menor 18 años',78833.08,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL);
INSERT INTO `ganan_deducciones` VALUES (126,NULL,2021,0,1,'Ganancia No Imponible',167678.40,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(127,NULL,2021,0,1,'Deduccion Especial',804856.34,1,'2022-08-27 17:46:27','2022-08-27 17:46:27',NULL),(128,NULL,2022,1,0,'Primas de seguro para el caso de muerte',24000.00,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(129,NULL,2022,1,0,'Gastos de Sepelio',996.23,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(130,NULL,2022,1,0,'Aportes a Obras Sociales',0.00,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(131,NULL,2022,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(132,NULL,2022,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(133,NULL,2022,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(134,NULL,2022,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(135,NULL,2022,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(136,NULL,2022,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(137,NULL,2022,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(138,NULL,2022,1,0,'Servicio Doméstico',252564.84,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(139,NULL,2022,1,0,'Donaciones',0.00,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(140,NULL,2022,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(141,NULL,2022,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(142,NULL,2022,1,0,'Alquileres',252564.84,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(143,NULL,2022,0,1,'Conyuge',235457.25,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(144,NULL,2022,0,1,'Hijo Menor 18 años',118741.97,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(145,NULL,2022,0,1,'Ganancia No Imponible',252564.84,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(146,NULL,2022,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 2]',1212311.24,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(147,NULL,2022,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 1]',505129.68,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(148,NULL,2022,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 1 “nuevos profesionales/emprendedores”]',631412.10,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(149,NULL,2022,0,1,'Hijo Incapacitado',237483.94,1,'2022-08-27 17:46:31','2022-08-27 17:46:31',NULL),(150,NULL,2021,1,0,'Alquileres',167678.40,1,NULL,NULL,NULL),(151,NULL,2023,1,0,'Primas de seguro para el caso de muerte',24000.00,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(152,NULL,2023,1,0,'Aportes a Obras Sociales',0.00,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(153,NULL,2023,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(154,NULL,2023,1,0,'Gastos de Sepelio',996.23,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(155,NULL,2023,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL);
INSERT INTO `ganan_deducciones` VALUES (156,NULL,2023,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(157,NULL,2023,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(158,NULL,2023,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(159,NULL,2023,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(160,NULL,2023,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(161,NULL,2023,1,0,'Servicio Doméstico',451686.96,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(162,NULL,2023,1,0,'Donaciones',0.00,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(163,NULL,2023,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(164,NULL,2023,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(165,NULL,2023,1,0,'Alquileres',451686.96,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(166,NULL,2023,0,1,'Ganancia No Imponible',451686.96,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(167,NULL,2023,0,1,'Conyuge',421091.75,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(168,NULL,2023,0,1,'Hijo Menor 18 años',212358.14,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(169,NULL,2023,0,1,'Hijo Incapacitado',424716.28,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(170,NULL,2023,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 1]',1580904.36,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(171,NULL,2023,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 1 “nuevos profesionales/emprendedores”]',1806747.84,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL),(172,NULL,2023,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 2]',2168097.42,1,'2022-12-28 17:47:50','2022-12-28 17:47:50',NULL);

--
