-- Table structure for table `cta_cte_tesoreria`
--

CREATE TABLE `cta_cte_tesoreria` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `bind_apibank_movement_id` bigint(20) unsigned DEFAULT NULL COMMENT 'FK soft a bind_apibank_movements (movimiento que originó este registro)',
  `bind_apibank_transfer_id` bigint(20) unsigned DEFAULT NULL COMMENT 'FK soft a bind_apibank_transfers (transferencia que originó este registro)',
  `bind_sync_status` enum('pending','synced','error') COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Estado de sincronización: pending=pendiente, synced=sincronizado, error=error al sincronizar',
  `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`),
  KEY `idx_cct_bind_apibank_mov` (`bind_apibank_movement_id`),
  KEY `idx_cct_bind_apibank_trf` (`bind_apibank_transfer_id`),
  KEY `idx_cct_bind_sync_status` (`bind_sync_status`),
  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=102 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_tesoreria` VALUES (1,NULL,NULL,NULL,5563,40821,840,NULL,13,99294,'2022-11-30',400000.00,1,1.00,NULL,NULL,'2022-12-05 10:48:14','2022-12-05 10:48:14',NULL,NULL),(2,NULL,NULL,NULL,5563,40821,841,NULL,13,99292,'2022-09-29',302500.00,1,1.00,NULL,NULL,'2022-12-05 10:51:57','2022-12-05 10:51:57',NULL,NULL),(3,NULL,NULL,NULL,5563,40821,842,NULL,13,99293,'2022-10-26',437778.00,1,1.00,NULL,NULL,'2022-12-05 10:54:09','2022-12-05 10:54:09',NULL,NULL),(4,NULL,NULL,NULL,5563,40821,843,NULL,13,99294,'2022-11-10',215985.00,1,1.00,NULL,NULL,'2022-12-05 10:55:36','2022-12-05 10:55:36',NULL,NULL),(5,NULL,NULL,NULL,5563,40821,844,NULL,13,99292,'2022-09-05',62920.00,1,1.00,NULL,NULL,'2022-12-05 11:36:48','2022-12-05 11:36:48',NULL,NULL),(6,NULL,NULL,NULL,5563,40821,845,NULL,13,99293,'2022-10-20',24200.00,1,1.00,NULL,NULL,'2022-12-05 11:42:09','2022-12-05 11:42:09',NULL,NULL),(7,NULL,NULL,NULL,5563,40821,846,NULL,13,99294,'2022-11-04',226875.00,1,1.00,NULL,NULL,'2022-12-05 11:45:28','2022-12-05 11:45:28',NULL,NULL),(8,NULL,NULL,NULL,5563,40821,847,NULL,13,99294,'2022-11-18',1793982.30,1,1.00,NULL,NULL,'2022-12-05 12:08:37','2022-12-05 12:08:37',NULL,NULL),(9,NULL,NULL,NULL,5563,40821,848,NULL,13,99295,'2022-12-02',226875.00,1,1.00,NULL,NULL,'2022-12-05 12:10:47','2022-12-05 12:10:47',NULL,NULL),(10,NULL,NULL,NULL,5563,40821,849,NULL,13,100817,'2022-05-26',60500.00,1,1.00,NULL,NULL,'2022-12-05 12:15:26','2022-12-05 12:15:26',NULL,NULL),(11,NULL,NULL,NULL,5563,40821,850,NULL,13,100818,'2022-07-05',91016.20,1,1.00,NULL,NULL,'2022-12-05 12:17:25','2022-12-05 12:17:25',NULL,NULL),(12,NULL,NULL,NULL,5563,40821,857,NULL,13,99292,'2022-09-07',1165087.12,1,1.00,NULL,NULL,'2022-12-06 04:41:06','2022-12-06 04:41:06',NULL,NULL),(13,NULL,NULL,NULL,5563,40821,858,NULL,13,99292,'2022-09-08',1014766.44,1,1.00,NULL,NULL,'2022-12-06 04:46:36','2022-12-06 04:46:36',NULL,NULL),(14,NULL,NULL,NULL,5563,40821,859,NULL,13,99292,'2022-09-08',3812478.42,1,1.00,NULL,NULL,'2022-12-06 05:02:24','2022-12-06 05:02:24',NULL,NULL),(15,NULL,NULL,NULL,5563,40821,860,NULL,57,99292,'2022-09-13',186344.12,1,1.00,NULL,NULL,'2022-12-06 05:06:20','2022-12-06 05:06:20',NULL,NULL),(16,NULL,NULL,NULL,5563,40821,861,NULL,13,99292,'2022-09-19',27043.50,1,1.00,NULL,NULL,'2022-12-06 05:09:19','2022-12-06 05:09:19',NULL,NULL),(17,NULL,NULL,NULL,5563,40821,862,NULL,13,99292,'2022-10-06',1217842.85,1,1.00,NULL,NULL,'2022-12-06 05:26:25','2022-12-06 05:26:25',NULL,NULL),(18,NULL,NULL,NULL,5563,40821,867,NULL,13,99295,'2022-12-06',2614336.89,1,1.00,NULL,NULL,'2022-12-06 18:46:11','2022-12-06 18:46:11',NULL,NULL),(19,NULL,NULL,NULL,5563,40821,868,NULL,13,99295,'2022-12-06',160809.00,1,1.00,NULL,NULL,'2022-12-06 18:48:33','2022-12-06 18:48:33',NULL,NULL),(20,NULL,NULL,NULL,5563,40821,873,NULL,13,99295,'2022-12-07',948088.30,1,1.00,NULL,NULL,'2022-12-07 17:32:49','2022-12-07 17:32:49',NULL,NULL),(21,NULL,NULL,NULL,5563,40821,874,NULL,13,99295,'2022-12-12',1239667.52,1,1.00,NULL,NULL,'2022-12-12 14:11:19','2022-12-12 14:11:19',NULL,NULL),(22,NULL,NULL,NULL,5563,40821,875,NULL,13,99295,'2022-12-06',670076.56,1,1.00,NULL,NULL,'2022-12-13 14:34:18','2022-12-13 14:34:18',NULL,NULL),(23,NULL,NULL,NULL,5563,40821,876,NULL,13,99295,'2022-12-12',3949320.33,1,1.00,NULL,NULL,'2022-12-13 15:21:18','2023-07-05 02:15:19','2023-07-05 02:15:19',NULL),(24,NULL,NULL,NULL,5563,40821,877,NULL,13,99293,'2022-10-20',824940.74,1,1.00,NULL,NULL,'2022-12-13 18:28:30','2022-12-13 18:28:30',NULL,NULL),(25,NULL,NULL,NULL,5563,40821,878,NULL,13,99293,'2022-10-21',488592.00,1,1.00,NULL,NULL,'2022-12-13 18:31:00','2022-12-13 18:31:00',NULL,NULL),(26,NULL,NULL,NULL,5563,40821,879,NULL,13,99293,'2022-10-25',208260.00,1,1.00,NULL,NULL,'2022-12-13 18:37:21','2022-12-13 18:37:21',NULL,NULL),(27,NULL,NULL,NULL,5563,40821,880,NULL,13,99293,'2022-10-26',52027.10,1,1.00,NULL,NULL,'2022-12-13 18:39:22','2022-12-13 18:39:22',NULL,NULL),(28,NULL,NULL,NULL,5563,40821,881,NULL,13,99294,'2022-11-03',323070.00,1,1.00,NULL,NULL,'2022-12-13 18:42:22','2022-12-13 18:42:22',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (29,NULL,NULL,NULL,5563,40821,882,NULL,13,99294,'2022-11-04',757944.00,1,1.00,NULL,NULL,'2022-12-13 18:45:42','2022-12-13 18:45:42',NULL,NULL),(30,NULL,NULL,NULL,5563,40821,938,NULL,57,99295,'2022-12-23',526986.08,1,1.00,NULL,NULL,'2022-12-23 19:08:10','2022-12-23 19:08:10',NULL,NULL),(31,NULL,NULL,NULL,5563,40821,939,NULL,13,99295,'2022-12-22',617100.00,1,1.00,NULL,NULL,'2022-12-23 19:23:17','2022-12-23 19:23:17',NULL,NULL),(32,NULL,NULL,NULL,5563,40821,1089,NULL,13,99295,'2022-12-28',105875.00,1,1.00,NULL,NULL,'2022-12-29 19:05:16','2022-12-29 19:05:16',NULL,NULL),(33,NULL,NULL,NULL,5563,40821,1186,NULL,13,99298,'2023-01-25',376215.35,1,1.00,NULL,NULL,'2023-01-25 10:53:23','2023-01-25 10:53:23',NULL,NULL),(34,NULL,NULL,NULL,5563,40821,1187,NULL,13,100817,'2021-07-05',91016.20,1,1.00,NULL,NULL,'2023-01-25 10:56:22','2023-01-25 10:56:22',NULL,NULL),(35,NULL,NULL,NULL,5563,40821,1188,NULL,57,99298,'2023-01-25',335038.28,1,1.00,NULL,NULL,'2023-01-25 11:42:28','2023-01-25 11:42:28',NULL,NULL),(36,NULL,NULL,NULL,5563,40821,1216,NULL,13,99299,'2023-02-02',4764477.80,1,1.00,'RECIBO N° 8',NULL,'2023-02-02 14:08:26','2023-02-02 14:08:26',NULL,NULL),(37,NULL,NULL,NULL,5563,40821,1284,NULL,13,99300,'2023-03-03',3146000.00,1,1.00,NULL,NULL,'2023-03-03 12:48:24','2023-03-03 12:48:24',NULL,NULL),(38,NULL,NULL,NULL,5563,40821,NULL,NULL,757,99300,'2023-07-07',0.00,1,1.00,'Saldo Inicial',NULL,'2023-03-29 14:23:40','2023-07-07 14:15:59',NULL,NULL),(39,NULL,NULL,NULL,5563,40821,NULL,NULL,758,99300,'2023-03-29',0.00,1,1.00,'Saldo Inicial',NULL,'2023-03-29 14:25:43','2023-03-29 14:25:43',NULL,NULL),(40,NULL,NULL,NULL,5563,40821,1337,NULL,13,99295,'2022-12-28',641827.13,1,1.00,NULL,NULL,'2023-03-29 14:28:40','2023-03-29 14:28:40',NULL,NULL),(41,NULL,NULL,NULL,5563,40821,NULL,NULL,759,99300,'2023-03-29',0.00,1,1.00,'Saldo Inicial',NULL,'2023-03-29 16:20:59','2023-03-29 16:20:59',NULL,NULL),(42,NULL,NULL,NULL,5563,40821,1338,NULL,13,99300,'2023-03-23',2100000.00,1,1.00,NULL,NULL,'2023-03-29 16:30:32','2023-03-29 16:30:32',NULL,NULL),(43,NULL,NULL,NULL,5563,40821,1339,NULL,13,99300,'2023-03-28',3345000.00,1,1.00,NULL,NULL,'2023-03-29 17:17:22','2023-03-29 17:17:22',NULL,NULL),(44,NULL,NULL,NULL,5563,40821,1340,NULL,13,99300,'2023-03-29',2000000.00,1,1.00,NULL,NULL,'2023-03-29 18:12:20','2023-03-29 18:12:20',NULL,NULL),(45,NULL,NULL,NULL,5563,40821,1353,NULL,57,99295,'2022-12-30',93004.63,1,1.00,NULL,NULL,'2023-03-31 13:51:22','2023-03-31 13:51:22',NULL,NULL),(46,NULL,NULL,NULL,5563,40821,1354,NULL,57,99298,'2023-01-23',145200.00,1,1.00,NULL,NULL,'2023-03-31 13:56:51','2023-03-31 13:56:51',NULL,NULL),(47,NULL,NULL,NULL,5563,40821,1355,NULL,57,99298,'2023-01-30',304557.00,1,1.00,NULL,NULL,'2023-03-31 14:00:14','2023-03-31 14:00:14',NULL,NULL),(48,NULL,NULL,NULL,5563,40821,1356,NULL,57,99298,'2023-01-30',957352.00,1,1.00,NULL,NULL,'2023-03-31 14:01:53','2023-03-31 14:01:53',NULL,NULL),(49,NULL,NULL,NULL,5563,40821,1357,NULL,57,99300,'2023-03-31',1795249.77,1,1.00,NULL,NULL,'2023-03-31 14:19:18','2023-03-31 14:19:18',NULL,NULL),(50,NULL,NULL,NULL,5563,40821,1358,NULL,57,99300,'2023-03-31',480491.00,1,1.00,NULL,NULL,'2023-03-31 16:41:39','2023-03-31 17:00:37','2023-03-31 17:00:37',NULL),(51,NULL,NULL,NULL,5563,40821,1409,NULL,13,99300,'2023-03-29',588154.80,1,230.00,NULL,NULL,'2023-05-10 16:43:52','2023-05-10 16:43:52',NULL,NULL),(52,NULL,NULL,NULL,5563,40821,1410,NULL,13,99301,'2023-04-05',3203046.85,1,230.00,NULL,NULL,'2023-05-10 17:13:09','2023-05-10 17:13:09',NULL,NULL),(53,NULL,NULL,NULL,5563,40821,NULL,NULL,760,99302,'2023-05-10',0.00,1,1.00,'Saldo Inicial',NULL,'2023-05-10 17:14:36','2023-05-10 17:14:36',NULL,NULL),(54,NULL,NULL,NULL,5563,40821,1411,NULL,57,99301,'2023-04-05',58080.00,1,230.00,NULL,NULL,'2023-05-10 17:16:44','2023-05-10 17:16:44',NULL,NULL),(55,NULL,NULL,NULL,5563,40821,1412,NULL,13,99302,'2023-05-15',6390590.80,1,231.00,NULL,NULL,'2023-05-15 11:24:59','2023-05-15 11:24:59',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (56,NULL,NULL,NULL,5563,40821,1413,NULL,13,99301,'2023-04-20',1318478.82,1,231.00,NULL,NULL,'2023-05-15 12:44:20','2023-05-15 12:44:20',NULL,NULL),(57,NULL,NULL,NULL,5563,40821,1414,NULL,13,99302,'2023-05-10',1044464.14,1,231.00,NULL,NULL,'2023-05-15 13:00:49','2023-05-15 13:00:49',NULL,NULL),(58,NULL,NULL,NULL,5563,40821,1419,NULL,13,99302,'2023-05-18',48928.77,1,235.00,NULL,NULL,'2023-05-23 09:53:58','2023-05-23 09:53:58',NULL,NULL),(59,NULL,NULL,NULL,5563,40821,1420,NULL,13,99298,'2023-01-04',4739184.39,1,237.00,NULL,NULL,'2023-05-29 14:34:01','2023-05-29 14:34:01',NULL,NULL),(60,NULL,NULL,NULL,5563,40821,1421,NULL,13,99298,'2023-01-17',128582.24,1,237.00,NULL,NULL,'2023-05-29 14:59:22','2023-05-29 14:59:22',NULL,NULL),(61,NULL,NULL,NULL,5563,40821,1422,NULL,13,99298,'2023-01-03',1267687.96,1,237.00,NULL,NULL,'2023-05-29 15:08:08','2023-05-29 15:08:08',NULL,NULL),(62,NULL,NULL,NULL,5563,40821,1423,NULL,13,99298,'2023-01-05',305065.93,1,237.00,NULL,NULL,'2023-05-29 15:10:23','2023-05-29 15:10:23',NULL,NULL),(63,NULL,NULL,NULL,5563,40821,1424,NULL,13,99298,'2023-01-03',767215.02,1,237.00,NULL,NULL,'2023-05-29 15:16:51','2023-05-29 15:16:51',NULL,NULL),(64,NULL,NULL,NULL,5563,40821,1425,NULL,13,99298,'2023-01-31',520067.07,1,237.00,NULL,NULL,'2023-05-29 15:52:48','2023-05-29 15:52:48',NULL,NULL),(65,NULL,NULL,NULL,5563,40821,1426,NULL,13,99299,'2023-02-02',643726.05,1,237.00,NULL,NULL,'2023-05-29 16:50:20','2023-05-29 16:50:20',NULL,NULL),(66,NULL,NULL,NULL,5563,40821,1427,NULL,13,99299,'2023-02-09',65427.12,1,237.00,NULL,NULL,'2023-05-29 16:55:15','2023-05-29 16:55:15',NULL,NULL),(67,NULL,NULL,NULL,5563,40821,1428,NULL,13,99299,'2023-02-22',439593.00,1,237.00,NULL,NULL,'2023-05-29 17:11:07','2023-05-29 17:11:07',NULL,NULL),(68,NULL,NULL,NULL,5563,40821,1429,NULL,13,99300,'2023-03-23',1062686.31,1,237.00,NULL,NULL,'2023-05-29 17:43:48','2023-05-29 17:43:48',NULL,NULL),(69,NULL,NULL,NULL,5563,40821,1431,NULL,13,99301,'2023-04-05',1361250.00,1,240.00,NULL,NULL,'2023-05-31 17:39:50','2023-05-31 17:39:50',NULL,NULL),(70,NULL,NULL,NULL,5563,40821,1432,NULL,57,99301,'2023-04-10',860134.96,1,240.00,NULL,NULL,'2023-05-31 17:43:14','2023-05-31 17:43:14',NULL,NULL),(71,NULL,NULL,NULL,5563,40821,NULL,NULL,757,99299,'2023-02-03',805733.38,1,1.00,'',NULL,'2023-05-31 17:50:48','2023-05-31 17:50:48',NULL,NULL),(72,NULL,NULL,NULL,5563,40821,NULL,NULL,757,99298,'2023-01-10',4739184.39,1,1.00,'',NULL,'2023-05-31 17:52:55','2023-05-31 17:52:55',NULL,NULL),(73,NULL,NULL,NULL,5563,40821,NULL,NULL,757,99299,'2023-02-09',321863.00,1,1.00,'',NULL,'2023-05-31 17:54:00','2023-05-31 17:54:00',NULL,NULL),(74,NULL,NULL,NULL,5563,40821,NULL,NULL,757,99299,'2023-02-14',65427.12,1,1.00,'',NULL,'2023-05-31 17:54:46','2023-05-31 17:54:46',NULL,NULL),(75,NULL,NULL,NULL,5563,40821,NULL,NULL,757,99299,'2023-02-23',321863.05,1,1.00,'',NULL,'2023-05-31 17:58:05','2023-05-31 17:58:05',NULL,NULL),(76,NULL,NULL,NULL,5563,40821,NULL,NULL,757,99300,'2023-03-14',1204402.09,1,1.00,'',NULL,'2023-05-31 17:59:42','2023-05-31 17:59:42',NULL,NULL),(77,NULL,NULL,NULL,5563,40821,NULL,NULL,757,99300,'2023-03-30',706459.27,1,1.00,'',NULL,'2023-05-31 18:02:24','2023-05-31 18:02:24',NULL,NULL),(78,NULL,NULL,NULL,5563,40821,NULL,NULL,757,99301,'2023-04-11',1500000.00,1,1.00,'',NULL,'2023-05-31 18:05:21','2023-05-31 18:05:21',NULL,NULL),(79,NULL,NULL,NULL,5563,40821,NULL,NULL,757,99301,'2023-04-17',1000000.00,1,1.00,'',NULL,'2023-05-31 18:06:01','2023-05-31 18:06:01',NULL,NULL),(80,NULL,NULL,NULL,5563,40821,NULL,NULL,757,99302,'2023-05-02',1000000.00,1,1.00,'',NULL,'2023-05-31 18:07:02','2023-05-31 18:07:02',NULL,NULL),(81,NULL,NULL,NULL,5563,40821,NULL,NULL,757,99302,'2023-05-10',1058966.08,1,1.00,'',NULL,'2023-05-31 18:07:58','2023-05-31 18:07:58',NULL,NULL),(82,NULL,NULL,NULL,5563,40821,1433,NULL,57,99302,'2023-05-31',622908.00,1,240.00,NULL,NULL,'2023-05-31 18:37:32','2023-05-31 18:37:32',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (83,NULL,NULL,NULL,5563,40821,NULL,NULL,761,99304,'2023-07-03',0.00,1,1.00,'Saldo Inicial',NULL,'2023-07-03 10:42:57','2023-07-03 10:42:57',NULL,NULL),(84,NULL,NULL,NULL,5563,40821,1539,NULL,13,99303,'2023-06-29',726000.00,1,260.00,NULL,NULL,'2023-07-03 10:47:02','2023-07-03 10:47:02',NULL,NULL),(85,NULL,NULL,NULL,5563,40821,1543,NULL,13,99303,'2023-06-30',6046090.27,1,262.00,NULL,NULL,'2023-07-05 02:08:43','2023-07-05 02:08:43',NULL,NULL),(86,NULL,NULL,NULL,5563,40821,1544,NULL,13,99295,'2022-12-12',3949320.33,1,262.00,NULL,NULL,'2023-07-05 02:18:00','2023-07-05 02:18:00',NULL,NULL),(87,NULL,NULL,NULL,5563,40821,1545,NULL,13,99304,'2023-07-03',117370.00,1,262.00,NULL,NULL,'2023-07-05 02:24:46','2023-07-05 02:24:46',NULL,NULL),(88,NULL,NULL,NULL,5563,40821,1549,NULL,57,99302,'2023-05-10',1791979.27,1,264.00,NULL,NULL,'2023-07-07 14:19:36','2023-07-07 14:19:36',NULL,NULL),(89,NULL,NULL,NULL,5563,40821,1556,NULL,13,99306,'2023-09-11',373263.22,1,347.00,NULL,NULL,'2023-09-19 16:16:32','2023-09-19 16:16:32',NULL,NULL),(90,NULL,NULL,NULL,5563,40821,1557,NULL,13,99306,'2023-09-19',62260.55,1,347.00,NULL,NULL,'2023-09-19 16:18:50','2023-09-19 16:18:50',NULL,NULL),(91,NULL,NULL,NULL,5563,40821,1563,NULL,13,99307,'2023-10-23',4530224.51,1,348.00,NULL,NULL,'2023-10-23 14:58:06','2023-10-23 14:58:06',NULL,NULL),(92,NULL,NULL,NULL,5563,40821,1565,NULL,13,99307,'2023-10-26',12525340.41,1,348.00,NULL,NULL,'2023-10-30 14:46:52','2023-10-30 14:46:52',NULL,NULL),(93,NULL,NULL,NULL,5563,40821,1843,NULL,13,99313,'2024-01-18',233424.13,1,816.00,NULL,NULL,'2024-01-31 15:15:26','2024-01-31 15:15:26',NULL,NULL),(94,NULL,NULL,NULL,5563,40821,1844,NULL,13,99313,'2024-01-31',350900.00,1,816.00,NULL,NULL,'2024-01-31 15:21:17','2024-01-31 15:21:17',NULL,NULL),(95,NULL,NULL,NULL,5563,40821,1847,NULL,13,99314,'2024-02-05',2015276.57,1,818.00,NULL,NULL,'2024-02-07 17:19:25','2024-02-07 17:19:25',NULL,NULL),(96,NULL,NULL,NULL,5563,40821,1848,NULL,13,99314,'2024-02-06',646430.40,1,818.00,NULL,NULL,'2024-02-07 17:26:17','2024-02-07 17:26:17',NULL,NULL),(97,NULL,NULL,NULL,5563,40821,1849,NULL,13,99314,'2024-02-06',2395883.95,1,818.00,NULL,NULL,'2024-02-07 17:35:27','2024-02-07 17:35:27',NULL,NULL),(98,NULL,NULL,NULL,5563,40821,1969,NULL,13,99317,'2024-05-06',1244793.55,1,864.00,NULL,NULL,'2024-05-06 10:17:34','2024-05-06 10:17:34',NULL,NULL),(99,NULL,NULL,NULL,5563,40821,1970,NULL,13,99316,'2024-04-18',25324252.49,1,864.00,NULL,NULL,'2024-05-06 10:34:32','2024-05-06 10:34:32',NULL,NULL),(100,NULL,NULL,NULL,5563,40821,1971,NULL,13,99315,'2024-03-21',21676466.35,1,864.00,NULL,NULL,'2024-05-06 10:53:32','2024-05-06 10:53:32',NULL,NULL),(101,NULL,NULL,NULL,5563,40821,1976,NULL,57,99317,'2024-05-10',1342722.96,1,866.00,NULL,NULL,'2024-05-10 14:52:37','2024-05-10 14:52:37',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=5 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,5563,40821,757,1,2,'1',5584463,1,'2023-03-29 14:23:40','2024-05-10 14:52:37',NULL),(2,5563,40821,758,2,3,NULL,1,1,'2023-03-29 14:25:43','2023-03-29 14:25:43',NULL),(3,5563,40821,757,1,3,NULL,3,1,'2023-03-29 14:26:34','2023-07-07 14:19:36',NULL),(4,5563,40821,761,3,2,'1',1,1,'2023-07-03 10:42:57','2023-07-03 10:42:57',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_name` text COLLATE utf8mb4_unicode_ci,
  `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_banco_comentarios`
--

CREATE TABLE `cta_cte_tesoreria_banco_comentarios` (
  `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,
  `fecha` datetime NOT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_banco_comentarios_person_id_foreign` (`person_id`),
  KEY `ct_cuentas_id` (`cta_cte_tesoreria_cuenta_id`),
  KEY `ct_bancos_id` (`cta_cte_tesoreria_banco_id`),
  CONSTRAINT `ct_bancos_id` FOREIGN KEY (`cta_cte_tesoreria_banco_id`) REFERENCES `cta_cte_tesoreria_bancos` (`id`),
  CONSTRAINT `ct_cuentas_id` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_comentarios_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_comentarios`
--


--
-- Table structure for table `cta_cte_tesoreria_banco_estados`
--

CREATE TABLE `cta_cte_tesoreria_banco_estados` (
  `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,
  `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 `cta_cte_tesoreria_banco_estados`
--

INSERT INTO `cta_cte_tesoreria_banco_estados` VALUES (1,NULL,'Habilitado',0,NULL,NULL,NULL),(2,NULL,'En Proceso',0,NULL,NULL,NULL),(3,NULL,'Bloqueado',0,NULL,NULL,NULL),(4,NULL,'Reconocimiento',0,NULL,NULL,NULL),(5,NULL,'Inhabilitado',0,NULL,NULL,NULL);

--
-- 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,
  `cta_cte_tesoreria_banco_estado_id` int(10) unsigned DEFAULT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `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`),
  KEY `cta_cte_tesoreria_bancos_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `ct_banco_estado_id` (`cta_cte_tesoreria_banco_estado_id`),
  CONSTRAINT `ct_banco_estado_id` FOREIGN KEY (`cta_cte_tesoreria_banco_estado_id`) REFERENCES `cta_cte_tesoreria_banco_estados` (`id`),
  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_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_tesoreria_bancos` VALUES (1,5563,40821,757,4,1,23,410,410,410,'0523/02107643/24','0150523802000107643247',NULL,NULL,NULL,1,'2023-03-29 14:23:40','2023-03-29 14:26:34',NULL),(2,5563,40821,758,4,1,23,410,410,410,'0523/01137124/71','0150523801000137124715',NULL,NULL,NULL,1,'2023-03-29 14:25:43','2023-03-29 14:25:43',NULL),(3,5563,40821,761,3,1,23,436,60,176,'5064-52631/9','0140146801506405263198',NULL,NULL,NULL,1,'2023-07-03 10:42:57','2023-07-03 10:42:57',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=11 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 EFECTUADAS',1,NULL,'2024-05-26 20:55:33',NULL),(5,NULL,'PERCEPCIONES EFECTUADAS',1,NULL,'2024-05-26 20:55:33',NULL),(6,NULL,'RESULTADO NEGATIVO',1,NULL,NULL,NULL),(7,NULL,'RESULTADO POSITIVO',1,NULL,NULL,NULL),(8,NULL,'MOVIMIENTO',1,NULL,NULL,NULL),(9,NULL,'RETENCIONES SUFRIDAS',1,NULL,NULL,NULL),(10,NULL,'PERCEPCIONES SUFRIDAS',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,
  `bind_apibank_enabled` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Tiene Bind APIBank habilitado?',
  `bind_account_id` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'ID de cuenta en Bind APIBank (obtenido al configurar)',
  `user_id` int(10) unsigned DEFAULT NULL,
  `is_no_fiscal` tinyint(1) DEFAULT '0',
  `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',
  `retention_type_id` int(10) unsigned DEFAULT NULL,
  `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`),
  KEY `cta_cte_tesoreria_cuentas_retention_type_id_foreign` (`retention_type_id`),
  KEY `idx_cctc_bind_apibank_enabled` (`bind_apibank_enabled`),
  KEY `idx_cctc_bind_account_id` (`bind_account_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_cte_tesoreria_cuentas_retention_type_id_foreign` FOREIGN KEY (`retention_type_id`) REFERENCES `retention_types` (`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=762 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

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

INSERT INTO `cta_cte_tesoreria_detail` VALUES (1,5563,1,13,40821,99294,2,400000.00,0,'2022-11-30','2022-12-05 10:48:14','2022-12-05 10:48:14',NULL),(2,5563,1,359,40821,99294,1,400000.00,0,'2022-11-30','2022-12-05 10:48:14','2022-12-05 10:48:14',NULL),(3,5563,2,13,40821,99292,2,302500.00,0,'2022-09-29','2022-12-05 10:51:57','2022-12-05 10:51:57',NULL),(4,5563,2,359,40821,99292,1,302500.00,0,'2022-09-29','2022-12-05 10:51:57','2022-12-05 10:51:57',NULL),(5,5563,3,13,40821,99293,2,437778.00,0,'2022-10-26','2022-12-05 10:54:09','2022-12-05 10:54:09',NULL),(6,5563,3,359,40821,99293,1,437778.00,0,'2022-10-26','2022-12-05 10:54:09','2022-12-05 10:54:09',NULL),(7,5563,4,13,40821,99294,2,215985.00,0,'2022-11-10','2022-12-05 10:55:36','2022-12-05 10:55:36',NULL),(8,5563,4,359,40821,99294,1,215985.00,0,'2022-11-10','2022-12-05 10:55:36','2022-12-05 10:55:36',NULL),(9,5563,5,13,40821,99292,2,62920.00,0,'2022-09-05','2022-12-05 11:36:48','2022-12-05 11:36:48',NULL),(10,5563,5,359,40821,99292,1,62920.00,0,'2022-09-05','2022-12-05 11:36:48','2022-12-05 11:36:48',NULL),(11,5563,6,13,40821,99293,2,24200.00,0,'2022-10-20','2022-12-05 11:42:09','2022-12-05 11:42:09',NULL),(12,5563,6,359,40821,99293,1,24200.00,0,'2022-10-20','2022-12-05 11:42:09','2022-12-05 11:42:09',NULL),(13,5563,7,13,40821,99294,2,226875.00,0,'2022-11-04','2022-12-05 11:45:28','2022-12-05 11:45:28',NULL),(14,5563,7,359,40821,99294,1,226875.00,0,'2022-11-04','2022-12-05 11:45:28','2022-12-05 11:45:28',NULL),(15,5563,8,13,40821,99294,2,1793982.30,0,'2022-11-18','2022-12-05 12:08:37','2022-12-05 12:08:37',NULL),(16,5563,8,359,40821,99294,1,1768809.70,0,'2022-11-18','2022-12-05 12:08:37','2022-12-05 12:08:37',NULL),(17,5563,8,23,40821,99294,1,25172.60,0,'2022-11-18','2022-12-05 12:08:37','2022-12-05 12:08:37',NULL),(18,5563,9,13,40821,99295,2,226875.00,0,'2022-12-02','2022-12-05 12:10:47','2022-12-05 12:10:47',NULL),(19,5563,9,359,40821,99295,1,226875.00,0,'2022-12-02','2022-12-05 12:10:47','2022-12-05 12:10:47',NULL),(20,5563,10,13,40821,100817,2,60500.00,0,'2022-05-26','2022-12-05 12:15:27','2022-12-05 12:15:27',NULL),(21,5563,10,359,40821,100817,1,60500.00,0,'2022-05-26','2022-12-05 12:15:27','2022-12-05 12:15:27',NULL),(22,5563,11,13,40821,100818,2,91016.20,0,'2022-07-05','2022-12-05 12:17:25','2022-12-05 12:17:25',NULL),(23,5563,11,359,40821,100818,1,91016.20,0,'2022-07-05','2022-12-05 12:17:25','2022-12-05 12:17:25',NULL),(24,5563,12,13,40821,99292,2,1165087.12,0,'2022-09-07','2022-12-06 04:41:06','2022-12-06 04:41:06',NULL),(25,5563,12,359,40821,99292,1,1147172.88,0,'2022-09-07','2022-12-06 04:41:06','2022-12-06 04:41:06',NULL),(26,5563,12,23,40821,99292,1,17914.24,0,'2022-09-07','2022-12-06 04:41:06','2022-12-06 04:41:06',NULL),(27,5563,13,13,40821,99292,2,1014766.44,0,'2022-09-08','2022-12-06 04:46:36','2022-12-06 04:46:36',NULL),(28,5563,13,359,40821,99292,1,997993.44,0,'2022-09-08','2022-12-06 04:46:36','2022-12-06 04:46:36',NULL),(29,5563,13,23,40821,99292,1,16773.00,0,'2022-09-08','2022-12-06 04:46:36','2022-12-06 04:46:36',NULL),(30,5563,14,13,40821,99292,2,3812478.42,0,'2022-09-08','2022-12-06 05:02:24','2022-12-06 05:02:24',NULL),(31,5563,14,359,40821,99292,1,3201218.45,0,'2022-09-08','2022-12-06 05:02:24','2022-12-06 05:02:24',NULL),(32,5563,14,23,40821,99292,1,63827.17,0,'2022-09-08','2022-12-06 05:02:24','2022-12-06 05:02:24',NULL),(33,5563,14,25,40821,99292,1,320544.61,0,'2022-09-08','2022-12-06 05:02:24','2022-12-06 05:02:24',NULL),(34,5563,14,25,40821,99292,1,226888.19,0,'2022-09-08','2022-12-06 05:02:24','2022-12-06 05:02:24',NULL),(35,5563,15,57,40821,99292,1,186344.12,0,'2022-09-13','2022-12-06 05:06:20','2022-12-06 05:06:20',NULL),(36,5563,15,359,40821,99292,2,186344.12,0,'2022-09-13','2022-12-06 05:06:20','2022-12-06 05:06:20',NULL),(37,5563,16,13,40821,99292,2,27043.50,0,'2022-09-19','2022-12-06 05:09:19','2022-12-06 05:09:19',NULL),(38,5563,16,359,40821,99292,1,27043.50,0,'2022-09-19','2022-12-06 05:09:19','2022-12-06 05:09:19',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (39,5563,17,13,40821,99292,2,1217842.85,0,'2022-10-06','2022-12-06 05:26:25','2022-12-06 05:26:25',NULL),(40,5563,17,23,40821,99292,1,18786.23,0,'2022-10-06','2022-12-06 05:26:25','2022-12-06 05:26:25',NULL),(41,5563,17,162,40821,99292,1,169088.92,0,'2022-10-06','2022-12-06 05:26:25','2022-12-06 05:26:25',NULL),(42,5563,17,176,40821,99292,1,1029967.70,0,'2022-10-06','2022-12-06 05:26:25','2022-12-06 05:26:25',NULL),(43,5563,18,13,40821,99295,2,2614336.89,0,'2022-12-06','2022-12-06 18:46:11','2022-12-06 18:46:11',NULL),(44,5563,18,359,40821,99295,1,2572468.11,0,'2022-12-06','2022-12-06 18:46:11','2022-12-06 18:46:11',NULL),(45,5563,18,23,40821,99295,1,41868.78,0,'2022-12-06','2022-12-06 18:46:11','2022-12-06 18:46:11',NULL),(46,5563,19,13,40821,99295,2,160809.00,0,'2022-12-06','2022-12-06 18:48:33','2022-12-06 18:48:33',NULL),(47,5563,19,359,40821,99295,1,160809.00,0,'2022-12-06','2022-12-06 18:48:33','2022-12-06 18:48:33',NULL),(48,5563,20,13,40821,99295,2,948088.30,0,'2022-12-07','2022-12-07 17:32:49','2022-12-07 17:32:49',NULL),(49,5563,20,359,40821,99295,1,932417.42,0,'2022-12-07','2022-12-07 17:32:49','2022-12-07 17:32:49',NULL),(50,5563,20,23,40821,99295,1,15670.88,0,'2022-12-07','2022-12-07 17:32:49','2022-12-07 17:32:49',NULL),(51,5563,21,13,40821,99295,2,1239667.52,0,'2022-12-12','2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(52,5563,21,359,40821,99295,1,720000.00,0,'2022-12-12','2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(53,5563,21,23,40821,99295,1,16010.40,0,'2022-12-12','2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(54,5563,21,176,40821,99295,1,26915.98,0,'2022-12-12','2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(55,5563,21,176,40821,99295,1,38000.00,0,'2022-12-12','2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(56,5563,21,176,40821,99295,1,80000.00,0,'2022-12-12','2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(57,5563,21,176,40821,99295,1,50000.00,0,'2022-12-12','2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(58,5563,21,176,40821,99295,1,50000.00,0,'2022-12-12','2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(59,5563,21,176,40821,99295,1,258741.14,0,'2022-12-12','2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(60,5563,22,13,40821,99295,2,670076.56,0,'2022-12-06','2022-12-13 14:34:18','2022-12-13 14:34:18',NULL),(61,5563,22,176,40821,99295,1,335038.28,0,'2022-12-06','2022-12-13 14:34:18','2022-12-13 14:34:18',NULL),(62,5563,22,176,40821,99295,1,335038.28,0,'2022-12-06','2022-12-13 14:34:18','2022-12-13 14:34:18',NULL),(63,5563,23,13,40821,99295,2,3949320.33,0,'2022-12-12','2022-12-13 15:21:18','2023-07-05 02:15:19','2023-07-05 02:15:19'),(64,5563,23,359,40821,99295,1,3949320.33,0,'2022-12-12','2022-12-13 15:21:18','2023-07-05 02:15:19','2023-07-05 02:15:19'),(65,5563,24,13,40821,99293,2,824940.74,0,'2022-10-20','2022-12-13 18:28:30','2022-12-13 18:28:30',NULL),(66,5563,24,359,40821,99293,1,812182.59,0,'2022-10-20','2022-12-13 18:28:30','2022-12-13 18:28:30',NULL),(67,5563,24,23,40821,99293,1,12758.15,0,'2022-10-20','2022-12-13 18:28:30','2022-12-13 18:28:30',NULL),(68,5563,25,13,40821,99293,2,488592.00,0,'2022-10-21','2022-12-13 18:31:00','2022-12-13 18:31:00',NULL),(69,5563,25,359,40821,99293,1,480240.00,0,'2022-10-21','2022-12-13 18:31:00','2022-12-13 18:31:00',NULL),(70,5563,25,23,40821,99293,1,8352.00,0,'2022-10-21','2022-12-13 18:31:00','2022-12-13 18:31:00',NULL),(71,5563,26,13,40821,99293,2,208260.00,0,'2022-10-25','2022-12-13 18:37:21','2022-12-13 18:37:21',NULL),(72,5563,26,359,40821,99293,1,204700.00,0,'2022-10-25','2022-12-13 18:37:21','2022-12-13 18:37:21',NULL),(73,5563,26,23,40821,99293,1,3560.00,0,'2022-10-25','2022-12-13 18:37:21','2022-12-13 18:37:21',NULL),(74,5563,27,13,40821,99293,2,52027.10,0,'2022-10-26','2022-12-13 18:39:22','2022-12-13 18:39:22',NULL),(75,5563,27,359,40821,99293,1,52027.10,0,'2022-10-26','2022-12-13 18:39:22','2022-12-13 18:39:22',NULL),(76,5563,28,13,40821,99294,2,323070.00,0,'2022-11-03','2022-12-13 18:42:22','2022-12-13 18:42:22',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (77,5563,28,359,40821,99294,1,319073.40,0,'2022-11-03','2022-12-13 18:42:22','2022-12-13 18:42:22',NULL),(78,5563,28,23,40821,99294,1,3996.60,0,'2022-11-03','2022-12-13 18:42:22','2022-12-13 18:42:22',NULL),(79,5563,29,13,40821,99294,2,757944.00,0,'2022-11-04','2022-12-13 18:45:42','2022-12-13 18:45:42',NULL),(80,5563,29,23,40821,99294,1,12528.00,0,'2022-11-04','2022-12-13 18:45:42','2022-12-13 18:45:42',NULL),(81,5563,29,359,40821,99294,1,745416.00,0,'2022-11-04','2022-12-13 18:45:42','2022-12-13 18:45:42',NULL),(82,5563,30,57,40821,99295,1,526986.08,0,'2022-12-23','2022-12-23 19:08:10','2022-12-23 19:08:10',NULL),(83,5563,30,60,40821,99295,2,263493.04,0,'2022-12-23','2022-12-23 19:08:10','2022-12-23 19:08:10',NULL),(84,5563,30,60,40821,99295,2,263493.04,0,'2022-12-23','2022-12-23 19:08:10','2022-12-23 19:08:10',NULL),(85,5563,31,13,40821,99295,2,617100.00,0,'2022-12-22','2022-12-23 19:23:17','2022-12-23 19:23:17',NULL),(86,5563,31,359,40821,99295,1,617100.00,0,'2022-12-22','2022-12-23 19:23:17','2022-12-23 19:23:17',NULL),(87,5563,32,13,40821,99295,2,105875.00,0,'2022-12-28','2022-12-29 19:05:16','2022-12-29 19:05:16',NULL),(88,5563,32,359,40821,99295,1,105875.00,0,'2022-12-28','2022-12-29 19:05:16','2022-12-29 19:05:16',NULL),(89,5563,33,13,40821,99298,2,376215.35,0,'2023-01-25','2023-01-25 10:53:23','2023-01-25 10:53:23',NULL),(90,5563,33,359,40821,99298,1,376215.35,0,'2023-01-25','2023-01-25 10:53:23','2023-01-25 10:53:23',NULL),(91,5563,34,13,40821,100817,2,91016.20,0,'2021-07-05','2023-01-25 10:56:22','2023-01-25 10:56:22',NULL),(92,5563,34,359,40821,100817,1,91016.20,0,'2021-07-05','2023-01-25 10:56:22','2023-01-25 10:56:22',NULL),(93,5563,35,57,40821,99298,1,335038.28,0,'2023-01-25','2023-01-25 11:42:28','2023-01-25 11:42:28',NULL),(94,5563,35,176,40821,99298,2,335038.28,0,'2023-01-25','2023-01-25 11:42:28','2023-01-25 11:42:28',NULL),(95,5563,36,13,40821,99299,2,4764477.80,0,'2023-02-02','2023-02-02 14:08:26','2023-02-02 14:08:26',NULL),(96,5563,36,176,40821,99299,1,362539.90,0,'2023-02-02','2023-02-02 14:08:26','2023-02-02 14:08:26',NULL),(97,5563,36,176,40821,99299,1,805733.38,0,'2023-02-02','2023-02-02 14:08:26','2023-02-02 14:08:26',NULL),(98,5563,36,176,40821,99299,1,3521932.82,0,'2023-02-02','2023-02-02 14:08:26','2023-02-02 14:08:26',NULL),(99,5563,36,23,40821,99299,1,74271.70,0,'2023-02-02','2023-02-02 14:08:26','2023-02-02 14:08:26',NULL),(100,5563,37,13,40821,99300,2,3146000.00,0,'2023-03-03','2023-03-03 12:48:24','2023-03-03 12:48:24',NULL),(101,5563,37,23,40821,99300,1,47520.00,0,'2023-03-03','2023-03-03 12:48:24','2023-03-03 12:48:24',NULL),(102,5563,37,359,40821,99300,1,1473800.03,0,'2023-03-03','2023-03-03 12:48:24','2023-03-03 12:48:24',NULL),(103,5563,37,176,40821,99300,1,1204402.09,0,'2023-03-03','2023-03-03 12:48:24','2023-03-03 12:48:24',NULL),(104,5563,37,176,40821,99300,1,420277.88,0,'2023-03-03','2023-03-03 12:48:24','2023-03-03 12:48:24',NULL),(105,5563,38,757,40821,99300,1,0.00,0,'2023-07-07','2023-03-29 14:23:40','2023-07-07 14:15:59',NULL),(106,5563,39,758,40821,99300,1,0.00,0,'2023-03-29','2023-03-29 14:25:43','2023-03-29 14:25:43',NULL),(107,5563,40,13,40821,99295,2,641827.13,0,'2022-12-28','2023-03-29 14:28:40','2023-03-29 14:28:40',NULL),(108,5563,40,758,40821,99295,1,641827.13,0,'2022-12-28','2023-03-29 14:28:40','2023-03-29 14:28:40',NULL),(109,5563,41,759,40821,99300,1,0.00,0,'2023-03-29','2023-03-29 16:20:59','2023-03-29 16:20:59',NULL),(110,5563,42,13,40821,99300,2,2100000.00,0,'2023-03-23','2023-03-29 16:30:32','2023-03-29 16:30:32',NULL),(111,5563,42,759,40821,99300,1,1600000.00,0,'2023-03-23','2023-03-29 16:30:32','2023-03-29 16:30:32',NULL),(112,5563,42,759,40821,99300,1,500000.00,0,'2023-03-23','2023-03-29 16:30:32','2023-03-29 16:30:32',NULL),(113,5563,43,13,40821,99300,2,3345000.00,0,'2023-03-28','2023-03-29 17:17:22','2023-03-29 17:17:22',NULL),(114,5563,43,23,40821,99300,1,85520.00,0,'2023-03-28','2023-03-29 17:17:22','2023-03-29 17:17:22',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (115,5563,43,759,40821,99300,1,62000.00,0,'2023-03-28','2023-03-29 17:17:22','2023-03-29 17:17:22',NULL),(116,5563,43,759,40821,99300,1,62760.63,0,'2023-03-28','2023-03-29 17:17:22','2023-03-29 17:17:22',NULL),(117,5563,43,759,40821,99300,1,71502.85,0,'2023-03-28','2023-03-29 17:17:22','2023-03-29 17:17:22',NULL),(118,5563,43,759,40821,99300,1,984832.92,0,'2023-03-28','2023-03-29 17:17:22','2023-03-29 17:17:22',NULL),(119,5563,43,759,40821,99300,1,72195.79,0,'2023-03-28','2023-03-29 17:17:22','2023-03-29 17:17:22',NULL),(120,5563,43,759,40821,99300,1,506187.81,0,'2023-03-28','2023-03-29 17:17:22','2023-03-29 17:17:22',NULL),(121,5563,43,759,40821,99300,1,500000.00,0,'2023-03-28','2023-03-29 17:17:22','2023-03-29 17:17:22',NULL),(122,5563,43,759,40821,99300,1,500000.00,0,'2023-03-28','2023-03-29 17:17:22','2023-03-29 17:17:22',NULL),(123,5563,43,759,40821,99300,1,500000.00,0,'2023-03-28','2023-03-29 17:17:22','2023-03-29 17:17:22',NULL),(124,5563,44,13,40821,99300,2,2000000.00,0,'2023-03-29','2023-03-29 18:12:20','2023-03-29 18:12:20',NULL),(125,5563,44,759,40821,99300,1,500000.00,0,'2023-03-29','2023-03-29 18:12:20','2023-03-29 18:12:20',NULL),(126,5563,44,759,40821,99300,1,500000.00,0,'2023-03-29','2023-03-29 18:12:20','2023-03-29 18:12:20',NULL),(127,5563,44,759,40821,99300,1,500000.00,0,'2023-03-29','2023-03-29 18:12:20','2023-03-29 18:12:20',NULL),(128,5563,44,759,40821,99300,1,500000.00,0,'2023-03-29','2023-03-29 18:12:20','2023-03-29 18:12:20',NULL),(129,5563,45,57,40821,99295,1,93004.63,0,'2022-12-30','2023-03-31 13:51:22','2023-03-31 13:51:22',NULL),(130,5563,45,757,40821,99295,2,93004.63,0,'2022-12-30','2023-03-31 13:51:22','2023-03-31 13:51:22',NULL),(131,5563,46,57,40821,99298,1,145200.00,0,'2023-01-23','2023-03-31 13:56:51','2023-03-31 13:56:51',NULL),(132,5563,46,757,40821,99298,2,145200.00,0,'2023-01-23','2023-03-31 13:56:51','2023-03-31 13:56:51',NULL),(133,5563,47,57,40821,99298,1,304557.00,0,'2023-01-30','2023-03-31 14:00:14','2023-03-31 14:00:14',NULL),(134,5563,47,757,40821,99298,2,304557.00,0,'2023-01-30','2023-03-31 14:00:14','2023-03-31 14:00:14',NULL),(135,5563,48,57,40821,99298,1,957352.00,0,'2023-01-30','2023-03-31 14:01:53','2023-03-31 14:01:53',NULL),(136,5563,48,757,40821,99298,2,957352.00,0,'2023-01-30','2023-03-31 14:01:53','2023-03-31 14:01:53',NULL),(137,5563,49,57,40821,99300,1,1795249.77,0,'2023-03-31','2023-03-31 14:19:18','2023-03-31 14:19:18',NULL),(138,5563,49,759,40821,99300,2,500000.00,0,'2023-03-31','2023-03-31 14:19:18','2023-03-31 14:19:18',NULL),(139,5563,49,759,40821,99300,2,500000.00,0,'2023-03-31','2023-03-31 14:19:18','2023-03-31 14:19:18',NULL),(140,5563,49,759,40821,99300,2,500000.00,0,'2023-03-31','2023-03-31 14:19:18','2023-03-31 14:19:18',NULL),(141,5563,49,757,40821,99300,2,295249.77,0,'2023-03-31','2023-03-31 14:19:18','2023-03-31 14:19:18',NULL),(142,5563,50,57,40821,99300,1,480491.00,0,'2023-03-31','2023-03-31 16:41:39','2023-03-31 17:00:37','2023-03-31 17:00:37'),(143,5563,50,757,40821,99300,2,57000.00,0,'2023-03-31','2023-03-31 16:41:39','2023-03-31 17:00:37','2023-03-31 17:00:37'),(144,5563,50,757,40821,99300,2,100000.00,0,'2023-03-31','2023-03-31 16:41:39','2023-03-31 17:00:37','2023-03-31 17:00:37'),(145,5563,50,757,40821,99300,2,323491.00,0,'2023-03-31','2023-03-31 16:41:39','2023-03-31 17:00:37','2023-03-31 17:00:37'),(146,5563,51,13,40821,99300,2,588154.80,0,'2023-03-29','2023-05-10 16:43:52','2023-05-10 16:43:52',NULL),(147,5563,51,758,40821,99300,1,582913.23,0,'2023-03-29','2023-05-10 16:43:52','2023-05-10 16:43:52',NULL),(148,5563,51,23,40821,99300,1,5241.57,0,'2023-03-29','2023-05-10 16:43:52','2023-05-10 16:43:52',NULL),(149,5563,52,13,40821,99301,2,3203046.85,0,'2023-04-05','2023-05-10 17:13:09','2023-05-10 17:13:09',NULL),(150,5563,52,759,40821,99301,1,500000.00,0,'2023-04-05','2023-05-10 17:13:09','2023-05-10 17:13:09',NULL),(151,5563,52,759,40821,99301,1,1058966.08,0,'2023-04-05','2023-05-10 17:13:09','2023-05-10 17:13:09',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (152,5563,52,759,40821,99301,1,500000.00,0,'2023-04-05','2023-05-10 17:13:09','2023-05-10 17:13:09',NULL),(153,5563,52,759,40821,99301,1,1000000.00,0,'2023-04-05','2023-05-10 17:13:09','2023-05-10 17:13:09',NULL),(154,5563,52,23,40821,99301,1,86000.77,0,'2023-04-05','2023-05-10 17:13:09','2023-05-10 17:13:09',NULL),(155,5563,52,757,40821,99301,1,58080.00,0,'2023-04-05','2023-05-10 17:13:09','2023-05-10 17:13:09',NULL),(156,5563,53,760,40821,99302,1,0.00,0,'2023-05-10','2023-05-10 17:14:36','2023-05-10 17:14:36',NULL),(157,5563,54,57,40821,99301,1,58080.00,0,'2023-04-05','2023-05-10 17:16:44','2023-05-10 17:16:44',NULL),(158,5563,54,757,40821,99301,2,58080.00,0,'2023-04-05','2023-05-10 17:16:44','2023-05-10 17:16:44',NULL),(159,5563,55,13,40821,99302,2,6390590.80,0,'2023-05-15','2023-05-15 11:24:59','2023-05-15 11:24:59',NULL),(160,5563,55,759,40821,99302,1,13201.70,0,'2023-05-15','2023-05-15 11:24:59','2023-05-15 11:24:59',NULL),(161,5563,55,759,40821,99302,1,1684746.50,0,'2023-05-15','2023-05-15 11:24:59','2023-05-15 11:24:59',NULL),(162,5563,55,759,40821,99302,1,1684746.50,0,'2023-05-15','2023-05-15 11:24:59','2023-05-15 11:24:59',NULL),(163,5563,55,759,40821,99302,1,1684746.50,0,'2023-05-15','2023-05-15 11:24:59','2023-05-15 11:24:59',NULL),(164,5563,55,759,40821,99302,1,1222000.00,0,'2023-05-15','2023-05-15 11:24:59','2023-05-15 11:24:59',NULL),(165,5563,55,23,40821,99302,1,101149.60,0,'2023-05-15','2023-05-15 11:24:59','2023-05-15 11:24:59',NULL),(166,5563,56,13,40821,99301,2,1318478.82,0,'2023-04-20','2023-05-15 12:44:20','2023-05-15 12:44:20',NULL),(167,5563,56,757,40821,99301,1,1301165.78,0,'2023-04-20','2023-05-15 12:44:20','2023-05-15 12:44:20',NULL),(168,5563,56,23,40821,99301,1,17313.04,0,'2023-04-20','2023-05-15 12:44:20','2023-05-15 12:44:20',NULL),(169,5563,57,13,40821,99302,2,1044464.14,0,'2023-05-10','2023-05-15 13:00:49','2023-05-15 13:00:49',NULL),(170,5563,57,757,40821,99302,1,1031680.27,0,'2023-05-10','2023-05-15 13:00:49','2023-05-15 13:00:49',NULL),(171,5563,57,23,40821,99302,1,12783.87,0,'2023-05-10','2023-05-15 13:00:49','2023-05-15 13:00:49',NULL),(172,5563,58,13,40821,99302,2,48928.77,0,'2023-05-18','2023-05-23 09:53:58','2023-05-23 09:53:58',NULL),(173,5563,58,757,40821,99302,1,48120.03,0,'2023-05-18','2023-05-23 09:53:58','2023-05-23 09:53:58',NULL),(174,5563,58,23,40821,99302,1,808.74,0,'2023-05-18','2023-05-23 09:53:58','2023-05-23 09:53:58',NULL),(175,5563,59,13,40821,99298,2,4739184.39,0,'2023-01-04','2023-05-29 14:34:01','2023-05-29 14:34:01',NULL),(176,5563,59,759,40821,99298,1,4739184.39,0,'2023-01-04','2023-05-29 14:34:01','2023-05-29 14:34:01',NULL),(177,5563,60,13,40821,99298,2,128582.24,0,'2023-01-17','2023-05-29 14:59:22','2023-05-29 14:59:22',NULL),(178,5563,60,758,40821,99298,1,128582.24,0,'2023-01-17','2023-05-29 14:59:22','2023-05-29 14:59:22',NULL),(179,5563,61,13,40821,99298,2,1267687.96,0,'2023-01-03','2023-05-29 15:08:08','2023-05-29 15:08:08',NULL),(180,5563,61,758,40821,99298,1,1251214.44,0,'2023-01-03','2023-05-29 15:08:08','2023-05-29 15:08:08',NULL),(181,5563,61,23,40821,99298,1,16473.52,0,'2023-01-03','2023-05-29 15:08:08','2023-05-29 15:08:08',NULL),(182,5563,62,13,40821,99298,2,305065.93,0,'2023-01-05','2023-05-29 15:10:23','2023-05-29 15:10:23',NULL),(183,5563,62,758,40821,99298,1,300023.52,0,'2023-01-05','2023-05-29 15:10:23','2023-05-29 15:10:23',NULL),(184,5563,62,23,40821,99298,1,5042.41,0,'2023-01-05','2023-05-29 15:10:23','2023-05-29 15:10:23',NULL),(185,5563,63,13,40821,99298,2,767215.02,0,'2023-01-03','2023-05-29 15:16:51','2023-05-29 15:16:51',NULL),(186,5563,63,757,40821,99298,1,755877.18,0,'2023-01-03','2023-05-29 15:16:51','2023-05-29 15:16:51',NULL),(187,5563,63,23,40821,99298,1,11337.84,0,'2023-01-03','2023-05-29 15:16:51','2023-05-29 15:16:51',NULL),(188,5563,64,13,40821,99298,2,520067.07,0,'2023-01-31','2023-05-29 15:52:48','2023-05-29 15:52:48',NULL),(189,5563,64,757,40821,99298,1,511470.92,0,'2023-01-31','2023-05-29 15:52:48','2023-05-29 15:52:48',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (190,5563,64,23,40821,99298,1,8596.15,0,'2023-01-31','2023-05-29 15:52:48','2023-05-29 15:52:48',NULL),(191,5563,65,13,40821,99299,2,643726.05,0,'2023-02-02','2023-05-29 16:50:20','2023-05-29 16:50:20',NULL),(192,5563,65,759,40821,99299,1,321863.00,0,'2023-02-02','2023-05-29 16:50:20','2023-05-29 16:50:20',NULL),(193,5563,65,759,40821,99299,1,321863.05,0,'2023-02-02','2023-05-29 16:50:20','2023-05-29 16:50:20',NULL),(194,5563,66,13,40821,99299,2,65427.12,0,'2023-02-09','2023-05-29 16:55:15','2023-05-29 16:55:15',NULL),(195,5563,66,759,40821,99299,1,65427.12,0,'2023-02-09','2023-05-29 16:55:15','2023-05-29 16:55:15',NULL),(196,5563,67,13,40821,99299,2,439593.00,0,'2023-02-22','2023-05-29 17:11:07','2023-05-29 17:11:07',NULL),(197,5563,67,757,40821,99299,1,433670.40,0,'2023-02-22','2023-05-29 17:11:07','2023-05-29 17:11:07',NULL),(198,5563,67,23,40821,99299,1,5922.60,0,'2023-02-22','2023-05-29 17:11:07','2023-05-29 17:11:07',NULL),(199,5563,68,13,40821,99300,2,1062686.31,0,'2023-03-23','2023-05-29 17:43:48','2023-05-29 17:43:48',NULL),(200,5563,68,758,40821,99300,1,1062686.31,0,'2023-03-23','2023-05-29 17:43:48','2023-05-29 17:43:48',NULL),(201,5563,69,13,40821,99301,2,1361250.00,0,'2023-04-05','2023-05-31 17:39:50','2023-05-31 17:39:50',NULL),(202,5563,69,759,40821,99301,1,430000.00,0,'2023-04-05','2023-05-31 17:39:50','2023-05-31 17:39:50',NULL),(203,5563,69,759,40821,99301,1,430000.00,0,'2023-04-05','2023-05-31 17:39:50','2023-05-31 17:39:50',NULL),(204,5563,69,759,40821,99301,1,483230.00,0,'2023-04-05','2023-05-31 17:39:50','2023-05-31 17:39:50',NULL),(205,5563,69,23,40821,99301,1,18020.00,0,'2023-04-05','2023-05-31 17:39:50','2023-05-31 17:39:50',NULL),(206,5563,70,57,40821,99301,1,860134.96,0,'2023-04-10','2023-05-31 17:43:14','2023-05-31 17:43:14',NULL),(207,5563,70,759,40821,99301,2,430000.00,0,'2023-04-10','2023-05-31 17:43:14','2023-05-31 17:43:14',NULL),(208,5563,70,759,40821,99301,2,430000.00,0,'2023-04-10','2023-05-31 17:43:14','2023-05-31 17:43:14',NULL),(209,5563,70,760,40821,99301,2,134.96,0,'2023-04-10','2023-05-31 17:43:14','2023-05-31 17:43:14',NULL),(210,5563,71,757,40821,99299,1,805733.38,0,'2023-02-03','2023-05-31 17:50:48','2023-05-31 17:50:48',NULL),(211,5563,71,759,40821,99299,2,805733.38,0,'2023-02-03','2023-05-31 17:50:48','2023-05-31 17:50:48',NULL),(212,5563,72,757,40821,99298,1,4739184.39,0,'2023-01-10','2023-05-31 17:52:55','2023-05-31 17:52:55',NULL),(213,5563,72,759,40821,99298,2,4739184.39,0,'2023-01-10','2023-05-31 17:52:55','2023-05-31 17:52:55',NULL),(214,5563,73,757,40821,99299,1,321863.00,0,'2023-02-09','2023-05-31 17:54:00','2023-05-31 17:54:00',NULL),(215,5563,73,759,40821,99299,2,321863.00,0,'2023-02-09','2023-05-31 17:54:00','2023-05-31 17:54:00',NULL),(216,5563,74,757,40821,99299,1,65427.12,0,'2023-02-14','2023-05-31 17:54:46','2023-05-31 17:54:46',NULL),(217,5563,74,759,40821,99299,2,65427.12,0,'2023-02-14','2023-05-31 17:54:46','2023-05-31 17:54:46',NULL),(218,5563,75,757,40821,99299,1,321863.05,0,'2023-02-23','2023-05-31 17:58:05','2023-05-31 17:58:05',NULL),(219,5563,75,759,40821,99299,2,321863.05,0,'2023-02-23','2023-05-31 17:58:05','2023-05-31 17:58:05',NULL),(220,5563,76,757,40821,99300,1,1204402.09,0,'2023-03-14','2023-05-31 17:59:42','2023-05-31 17:59:42',NULL),(221,5563,76,759,40821,99300,2,1204402.09,0,'2023-03-14','2023-05-31 17:59:42','2023-05-31 17:59:42',NULL),(222,5563,77,757,40821,99300,1,706459.27,0,'2023-03-30','2023-05-31 18:02:24','2023-05-31 18:02:24',NULL),(223,5563,77,759,40821,99300,2,71502.85,0,'2023-03-30','2023-05-31 18:02:24','2023-05-31 18:02:24',NULL),(224,5563,77,759,40821,99300,2,500000.00,0,'2023-03-30','2023-05-31 18:02:24','2023-05-31 18:02:24',NULL),(225,5563,77,759,40821,99300,2,62760.63,0,'2023-03-30','2023-05-31 18:02:24','2023-05-31 18:02:24',NULL),(226,5563,77,759,40821,99300,2,72195.79,0,'2023-03-30','2023-05-31 18:02:24','2023-05-31 18:02:24',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (227,5563,78,757,40821,99301,1,1500000.00,0,'2023-04-11','2023-05-31 18:05:21','2023-05-31 18:05:21',NULL),(228,5563,78,759,40821,99301,2,500000.00,0,'2023-04-11','2023-05-31 18:05:21','2023-05-31 18:05:21',NULL),(229,5563,78,759,40821,99301,2,500000.00,0,'2023-04-11','2023-05-31 18:05:21','2023-05-31 18:05:21',NULL),(230,5563,78,759,40821,99301,2,500000.00,0,'2023-04-11','2023-05-31 18:05:21','2023-05-31 18:05:21',NULL),(231,5563,79,757,40821,99301,1,1000000.00,0,'2023-04-17','2023-05-31 18:06:02','2023-05-31 18:06:02',NULL),(232,5563,79,759,40821,99301,2,1000000.00,0,'2023-04-17','2023-05-31 18:06:02','2023-05-31 18:06:02',NULL),(233,5563,80,757,40821,99302,1,1000000.00,0,'2023-05-02','2023-05-31 18:07:02','2023-05-31 18:07:02',NULL),(234,5563,80,759,40821,99302,2,500000.00,0,'2023-05-02','2023-05-31 18:07:02','2023-05-31 18:07:02',NULL),(235,5563,80,759,40821,99302,2,500000.00,0,'2023-05-02','2023-05-31 18:07:02','2023-05-31 18:07:02',NULL),(236,5563,81,757,40821,99302,1,1058966.08,0,'2023-05-10','2023-05-31 18:07:58','2023-05-31 18:07:58',NULL),(237,5563,81,759,40821,99302,2,1058966.08,0,'2023-05-10','2023-05-31 18:07:58','2023-05-31 18:07:58',NULL),(238,5563,82,57,40821,99302,1,622908.00,0,'2023-05-31','2023-05-31 18:37:32','2023-05-31 18:37:32',NULL),(239,5563,82,757,40821,99302,2,622908.00,0,'2023-05-31','2023-05-31 18:37:32','2023-05-31 18:37:32',NULL),(240,5563,83,761,40821,99304,1,0.00,0,'2023-07-03','2023-07-03 10:42:57','2023-07-03 10:42:57',NULL),(241,5563,84,13,40821,99303,2,726000.00,0,'2023-06-29','2023-07-03 10:47:02','2023-07-03 10:47:02',NULL),(242,5563,84,23,40821,99303,1,10656.60,0,'2023-06-29','2023-07-03 10:47:02','2023-07-03 10:47:02',NULL),(243,5563,84,761,40821,99303,1,715343.40,0,'2023-06-29','2023-07-03 10:47:02','2023-07-03 10:47:02',NULL),(244,5563,85,13,40821,99303,2,6046090.27,0,'2023-06-30','2023-07-05 02:08:43','2023-07-05 02:08:43',NULL),(245,5563,85,758,40821,99303,1,6046090.27,0,'2023-06-30','2023-07-05 02:08:43','2023-07-05 02:08:43',NULL),(246,5563,86,13,40821,99295,2,3949320.33,0,'2022-12-12','2023-07-05 02:18:00','2023-07-05 02:18:00',NULL),(247,5563,86,758,40821,99295,1,3949320.33,0,'2022-12-12','2023-07-05 02:18:00','2023-07-05 02:18:00',NULL),(248,5563,87,13,40821,99304,2,117370.00,0,'2023-07-03','2023-07-05 02:24:46','2023-07-05 02:24:46',NULL),(249,5563,87,757,40821,99304,1,117370.00,0,'2023-07-03','2023-07-05 02:24:46','2023-07-05 02:24:46',NULL),(250,5563,88,57,40821,99302,1,1791979.27,0,'2023-05-10','2023-07-07 14:19:36','2023-07-07 14:19:36',NULL),(251,5563,88,759,40821,99302,2,13201.70,0,'2023-05-10','2023-07-07 14:19:36','2023-07-07 14:19:36',NULL),(252,5563,88,759,40821,99302,2,1222000.00,0,'2023-05-10','2023-07-07 14:19:36','2023-07-07 14:19:36',NULL),(253,5563,88,757,40821,99302,2,356777.57,0,'2023-05-10','2023-07-07 14:19:36','2023-07-07 14:19:36',NULL),(254,5563,88,757,40821,99302,2,200000.00,0,'2023-05-10','2023-07-07 14:19:36','2023-07-07 14:19:36',NULL),(255,5563,89,13,40821,99306,2,373263.22,0,'2023-09-11','2023-09-19 16:16:32','2023-09-19 16:16:32',NULL),(256,5563,89,759,40821,99306,1,373263.22,0,'2023-09-11','2023-09-19 16:16:32','2023-09-19 16:16:32',NULL),(257,5563,90,13,40821,99306,2,62260.55,0,'2023-09-19','2023-09-19 16:18:50','2023-09-19 16:18:50',NULL),(258,5563,90,759,40821,99306,1,62260.55,0,'2023-09-19','2023-09-19 16:18:50','2023-09-19 16:18:50',NULL),(259,5563,91,13,40821,99307,2,4530224.51,0,'2023-10-23','2023-10-23 14:58:06','2023-10-23 14:58:06',NULL),(260,5563,91,757,40821,99307,1,4530224.51,0,'2023-10-23','2023-10-23 14:58:06','2023-10-23 14:58:06',NULL),(261,5563,92,13,40821,99307,2,12525340.41,0,'2023-10-26','2023-10-30 14:46:52','2023-10-30 14:46:52',NULL),(262,5563,92,25,40821,99307,1,1739055.53,0,'2023-10-26','2023-10-30 14:46:52','2023-10-30 14:46:52',NULL),(263,5563,92,759,40821,99307,1,10580597.86,0,'2023-10-26','2023-10-30 14:46:52','2023-10-30 14:46:52',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (264,5563,92,23,40821,99307,1,205687.02,0,'2023-10-26','2023-10-30 14:46:52','2023-10-30 14:46:52',NULL),(265,5563,93,13,40821,99313,2,233424.13,0,'2024-01-18','2024-01-31 15:15:26','2024-01-31 15:15:26',NULL),(266,5563,93,23,40821,99313,1,6473.55,0,'2024-01-18','2024-01-31 15:15:26','2024-01-31 15:15:26',NULL),(267,5563,93,757,40821,99313,1,226950.58,0,'2024-01-18','2024-01-31 15:15:26','2024-01-31 15:15:26',NULL),(268,5563,94,13,40821,99313,2,350900.00,0,'2024-01-31','2024-01-31 15:21:17','2024-01-31 15:21:17',NULL),(269,5563,94,23,40821,99313,1,4456.60,0,'2024-01-31','2024-01-31 15:21:17','2024-01-31 15:21:17',NULL),(270,5563,94,757,40821,99313,1,346443.40,0,'2024-01-31','2024-01-31 15:21:17','2024-01-31 15:21:17',NULL),(271,5563,95,13,40821,99314,2,2015276.57,0,'2024-02-05','2024-02-07 17:19:25','2024-02-07 17:19:25',NULL),(272,5563,95,23,40821,99314,1,28830.36,0,'2024-02-05','2024-02-07 17:19:25','2024-02-07 17:19:25',NULL),(273,5563,95,757,40821,99314,1,1986446.21,0,'2024-02-05','2024-02-07 17:19:25','2024-02-07 17:19:25',NULL),(274,5563,96,13,40821,99314,2,646430.40,0,'2024-02-06','2024-02-07 17:26:17','2024-02-07 17:26:17',NULL),(275,5563,96,23,40821,99314,1,9341.40,0,'2024-02-06','2024-02-07 17:26:17','2024-02-07 17:26:17',NULL),(276,5563,96,757,40821,99314,1,637088.60,0,'2024-02-06','2024-02-07 17:26:17','2024-02-07 17:26:17',NULL),(277,5563,96,760,40821,99314,1,0.40,0,'2024-02-06','2024-02-07 17:26:17','2024-02-07 17:26:17',NULL),(278,5563,97,13,40821,99314,2,2395883.95,0,'2024-02-06','2024-02-07 17:35:27','2024-02-07 17:35:27',NULL),(279,5563,97,23,40821,99314,1,38257.99,0,'2024-02-06','2024-02-07 17:35:27','2024-02-07 17:35:27',NULL),(280,5563,97,759,40821,99314,1,2024974.30,0,'2024-02-06','2024-02-07 17:35:27','2024-02-07 17:35:27',NULL),(281,5563,97,25,40821,99314,1,332651.66,0,'2024-02-06','2024-02-07 17:35:28','2024-02-07 17:35:28',NULL),(282,5563,98,13,40821,99317,2,1244793.55,0,'2024-05-06','2024-05-06 10:17:34','2024-05-06 10:17:34',NULL),(283,5563,98,757,40821,99317,1,1228698.45,0,'2024-05-06','2024-05-06 10:17:34','2024-05-06 10:17:34',NULL),(284,5563,98,23,40821,99317,1,16095.10,0,'2024-05-06','2024-05-06 10:17:34','2024-05-06 10:17:34',NULL),(285,5563,99,13,40821,99316,2,25324252.49,0,'2024-04-18','2024-05-06 10:34:32','2024-05-06 10:34:32',NULL),(286,5563,99,25,40821,99316,1,3516094.56,0,'2024-04-18','2024-05-06 10:34:32','2024-05-06 10:34:32',NULL),(287,5563,99,23,40821,99316,1,417239.29,0,'2024-04-18','2024-05-06 10:34:32','2024-05-06 10:34:32',NULL),(288,5563,99,759,40821,99316,1,21390918.64,0,'2024-04-18','2024-05-06 10:34:32','2024-05-06 10:34:32',NULL),(289,5563,100,13,40821,99315,2,21676466.35,0,'2024-03-21','2024-05-06 10:53:32','2024-05-06 10:53:32',NULL),(290,5563,100,23,40821,99315,1,358288.70,0,'2024-03-21','2024-05-06 10:53:32','2024-05-06 10:53:32',NULL),(291,5563,100,25,40821,99315,1,3009625.08,0,'2024-03-21','2024-05-06 10:53:32','2024-05-06 10:53:32',NULL),(292,5563,100,759,40821,99315,1,18308552.57,0,'2024-03-21','2024-05-06 10:53:32','2024-05-06 10:53:32',NULL),(293,5563,101,57,40821,99317,1,1342722.96,0,'2024-05-10','2024-05-10 14:52:37','2024-05-10 14:52:37',NULL),(294,5563,101,757,40821,99317,2,1342722.96,0,'2024-05-10','2024-05-10 14:52:37','2024-05-10 14:52:37',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,
  `cuit` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=82 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,'30-50000173-5',NULL,NULL,NULL),(2,NULL,'BANCO DE LA NACION ARGENTINA',11,'30-50001091-2',NULL,NULL,NULL),(3,NULL,'BANCO DE LA PROVINCIA DE BUENOS AIRES',14,'33-99924210-9',NULL,NULL,NULL),(4,NULL,'INDUSTRIAL AND COMMERCIAL BANK OF CHINA',15,'30-70944784-6',NULL,NULL,NULL),(5,NULL,'CITIBANK N.A.',16,'30-50000562-5',NULL,NULL,NULL),(6,NULL,'BBVA BANCO FRANCES S.A.',17,'30-50000319-3',NULL,NULL,NULL),(7,NULL,'THE BANK OF TOKYO-MITSUBISHI UFJ, LTD.',18,'30-50001183-8',NULL,NULL,NULL),(8,NULL,'BANCO DE LA PROVINCIA DE CORDOBA S.A.',20,'30-99922856-5',NULL,NULL,NULL),(9,NULL,'BANCO SUPERVIELLE S.A.',27,'33-50000517-9',NULL,NULL,NULL),(10,NULL,'BANCO DE LA CIUDAD DE BUENOS AIRES',29,'30-99903208-3',NULL,NULL,NULL),(11,NULL,'BANCO PATAGONIA S.A.',34,'30-50000661-3',NULL,NULL,NULL),(12,NULL,'BANCO HIPOTECARIO S.A.',44,'30-50001107-2',NULL,NULL,NULL),(13,NULL,'BANCO DE SAN JUAN S.A.',45,'30-50000944-2',NULL,NULL,NULL),(14,NULL,'BANCO DEL TUCUMAN S.A.',60,'30-51794820-5',NULL,NULL,NULL),(15,NULL,'BANCO MUNICIPAL DE ROSARIO',65,'33-99918181-9',NULL,NULL,NULL),(16,NULL,'BANCO SANTANDER RIO S.A.',72,'30-50000845-4',NULL,NULL,NULL),(17,NULL,'BANCO DEL CHUBUT S.A.',83,'30-50001299-0',NULL,NULL,NULL),(18,NULL,'BANCO DE SANTA CRUZ S.A.',86,'30-50009880-1',NULL,NULL,NULL),(19,NULL,'BANCO DE LA PAMPA SOCIEDAD DE ECONOMÍA M',93,'30-50001251-6',NULL,NULL,NULL),(20,NULL,'BANCO DE CORRIENTES S.A.',94,'30-50001060-2',NULL,NULL,NULL),(21,NULL,'BANCO PROVINCIA DEL NEUQUÉN SOCIEDAD ANÓ',97,'30-50001404-7',NULL,NULL,NULL),(22,NULL,'BANCO INTERFINANZAS S.A.',147,'30-52271441-7',NULL,NULL,NULL),(23,NULL,'HSBC BANK ARGENTINA S.A.',150,'33-53718600-9',NULL,NULL,NULL),(24,NULL,'JPMORGAN CHASE BANK, NATIONAL ASSOCIATIO',165,'30-58313794-3',NULL,NULL,NULL),(25,NULL,'BANCO CREDICOOP COOPERATIVO LIMITADO',191,'30-57142135-2',NULL,NULL,NULL),(26,NULL,'BANCO DE VALORES S.A.',198,'30-57612427-5',NULL,NULL,NULL),(27,NULL,'BANCO ROELA S.A.',247,'30-53561044-0',NULL,NULL,NULL),(28,NULL,'BANCO MARIVA S.A.',254,'30-51642044-4',NULL,NULL,NULL),(29,NULL,'BANCO ITAU ARGENTINA S.A.',259,'30-58018941-1',NULL,NULL,NULL),(30,NULL,'BANK OF AMERICA, NATIONAL ASSOCIATION',262,'30-50005055-8',NULL,NULL,NULL),(31,NULL,'BNP PARIBAS',266,'30-58472756-6',NULL,NULL,NULL),(32,NULL,'BANCO PROVINCIA DE TIERRA DEL FUEGO',268,'30-57565578-1',NULL,NULL,NULL),(33,NULL,'BANCO DE LA REPUBLICA ORIENTAL DEL URUGU',269,'30-58833784-3',NULL,NULL,NULL),(34,NULL,'BANCO SAENZ S.A.',277,'30-53467243-4',NULL,NULL,NULL),(35,NULL,'BANCO MERIDIAN S.A.',281,'30-53448749-1',NULL,NULL,NULL),(36,NULL,'BANCO MACRO S.A.',285,'30-50001008-4',NULL,NULL,NULL),(37,NULL,'BANCO COMAFI SOCIEDAD ANONIMA',299,'30-60473101-8',NULL,NULL,NULL),(38,NULL,'BANCO DE INVERSION Y COMERCIO EXTERIOR S',300,'30-65112908-3',NULL,NULL,NULL),(39,NULL,'BANCO PIANO S.A.',301,'30-56915176-3',NULL,NULL,NULL),(40,NULL,'BANCO JULIO SOCIEDAD ANONIMA',305,'30-65744121-6',NULL,NULL,NULL),(41,NULL,'BANCO RIOJA SOCIEDAD ANONIMA UNIPERSONAL',309,'30-67185933-9',NULL,NULL,NULL),(42,NULL,'BANCO DEL SOL S.A.',310,'30-67793756-0',NULL,NULL,NULL),(43,NULL,'NUEVO BANCO DEL CHACO S. A.',311,'30-67015779-9',NULL,NULL,NULL),(44,NULL,'BANCO VOII S.A.',312,'30-54674163-6',NULL,NULL,NULL),(45,NULL,'BANCO DE FORMOSA S.A.',315,'30-67137590-0',NULL,NULL,NULL),(46,NULL,'BANCO CMF S.A.',319,'30-57661429-9',NULL,NULL,NULL),(47,NULL,'BANCO DE SANTIAGO DEL ESTERO S.A.',321,'33-68666464-9',NULL,NULL,NULL),(48,NULL,'BANCO INDUSTRIAL S.A.',322,'30-68502995-9',NULL,NULL,NULL),(49,NULL,'NUEVO BANCO DE SANTA FE SOCIEDAD ANONIMA',330,'30-69243266-1',NULL,NULL,NULL),(50,NULL,'BANCO CETELEM ARGENTINA S.A.',331,'30-69730636-2',NULL,NULL,NULL),(51,NULL,'BANCO DE SERVICIOS FINANCIEROS S.A.',332,'30-69726589-5',NULL,NULL,NULL),(52,NULL,'BANCO BRADESCO ARGENTINA S.A.U.',336,'30-70125555-7',NULL,NULL,NULL),(53,NULL,'BANCO DE SERVICIOS Y TRANSACCIONES S.A.',338,'30-70496099-5',NULL,NULL,NULL);
INSERT INTO `ctacte_bancos` VALUES (54,NULL,'RCI BANQUE S.A.',339,'30-70710834-3',NULL,NULL,NULL),(55,NULL,'BACS BANCO DE CREDITO Y SECURITIZACION S',340,'30-70722741-5',NULL,NULL,NULL),(56,NULL,'BANCO MASVENTAS S.A.',341,'30-54061826-3',NULL,NULL,NULL),(57,NULL,'BANCO WANAP S.A.',384,'30-71565463-2',NULL,NULL,NULL),(58,NULL,'NUEVO BANCO DE ENTRE RÍOS S.A.',386,'33-70799551-9',NULL,NULL,NULL),(59,NULL,'BANCO COLUMBIA S.A.',389,'30-51763749-8',NULL,NULL,NULL),(60,NULL,'BANCO BICA S.A.',426,'30-71233123-9',NULL,NULL,NULL),(61,NULL,'BANCO COINAG S.A.',431,'30-71419596-0',NULL,NULL,NULL),(62,NULL,'BANCO DE COMERCIO S.A.',432,'30-54203363-7',NULL,NULL,NULL),(63,NULL,'FORD CREDIT COMPAÑIA FINANCIERA S.A.',44059,'30-51654454-2',NULL,NULL,NULL),(64,NULL,'COMPAÑIA FINANCIERA ARGENTINA S.A.',44077,'30-53800640-4',NULL,NULL,NULL),(65,NULL,'VOLKWAGEN FINANCIAL SERVICES CIA.FIN.S.A',44088,'30-68241957-8',NULL,NULL,NULL),(66,NULL,'CORDIAL COMPAÑÍA FINANCIERA S.A.',44090,'30-70181085-2',NULL,NULL,NULL),(67,NULL,'FCA COMPAÑIA FINANCIERA S.A.',44092,'30-69230488-4',NULL,NULL,NULL),(68,NULL,'GPAT COMPAÑIA FINANCIERA S.A.',44093,'30-67856482-2',NULL,NULL,NULL),(69,NULL,'MERCEDES-BENZ COMPAÑÍA FINANCIERA ARGENT',44094,'30-70700229-4',NULL,NULL,NULL),(70,NULL,'ROMBO COMPAÑÍA FINANCIERA S.A.',44095,'33-70712490-9',NULL,NULL,NULL),(71,NULL,'JOHN DEERE CREDIT COMPAÑÍA FINANCIERA S.',44096,'30-70702485-9',NULL,NULL,NULL),(72,NULL,'PSA FINANCE ARGENTINA COMPAÑÍA FINANCIER',44098,'30-70784736-7',NULL,NULL,NULL),(73,NULL,'TOYOTA COMPAÑÍA FINANCIERA DE ARGENTINA',44099,'30-70900042-6',NULL,NULL,NULL),(74,NULL,'FINANDINO COMPAÑIA FINANCIERA S.A.',44100,'30-71259240-7',NULL,NULL,NULL),(75,NULL,'MONTEMAR COMPAÑIA FINANCIERA S.A.',45056,'30-58138551-6',NULL,NULL,NULL),(76,NULL,'MULTIFINANZAS COMPAÑIA FINANCIERA S.A.',45072,'30-62828435-7',NULL,NULL,NULL),(77,NULL,'CAJA DE CREDITO \"CUENCA\" COOPERATIVA LIM',65203,'30-71622694-4',NULL,NULL,NULL),(78,NULL,'MERCADO PAGO',NULL,NULL,NULL,NULL,NULL),(79,NULL,'UALA',NULL,NULL,NULL,NULL,NULL),(80,NULL,'ICBC',NULL,NULL,NULL,NULL,NULL),(81,NULL,'BMA SAU',NULL,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 AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `ctacte_bancos_datos` VALUES (1,410,'ICBC','20-21613578-5','ORREGO DANIEL','CUENTA CTE $','0523/02107643/24','0150523802000107643247',NULL,1,'2023-01-17 00:15:52','2023-01-17 00:15:52');

--
-- 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_tesoreria_detail_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id2` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_detail_id` 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`),
  KEY `ctacte_cheques_cta_cte_cliente_detail_id_foreign` (`cta_cte_cliente_detail_id`),
  KEY `ctacte_cheques_cta_cte_tesoreria_detail_id_foreign` (`cta_cte_tesoreria_detail_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_detail_id_foreign` FOREIGN KEY (`cta_cte_cliente_detail_id`) REFERENCES `cta_cte_cliente_details` (`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_cta_cte_tesoreria_detail_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_detail_id`) REFERENCES `cta_cte_tesoreria_detail` (`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 AUTO_INCREMENT=54 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `ctacte_cheques` VALUES (1,5563,NULL,NULL,NULL,NULL,NULL,862,NULL,NULL,NULL,NULL,1029967.70,1,0,'2022-10-06','2022-10-11',5,40821,NULL,'ORREGO DANIEL',2,0,82231154,NULL,'ECHEQ',1,'2022-12-06 05:26:25','2022-12-06 05:26:25',NULL),(2,5563,NULL,NULL,NULL,NULL,NULL,874,NULL,NULL,NULL,NULL,26915.98,1,0,'2022-12-12','2022-11-30',25,40821,NULL,'TORCH',2,0,56799635,NULL,'',1,'2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(3,5563,NULL,NULL,NULL,NULL,NULL,874,NULL,NULL,NULL,NULL,38000.00,1,0,'2022-12-12','2022-11-27',19,40821,NULL,'TORC',2,0,49006436,NULL,'',1,'2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(4,5563,NULL,NULL,NULL,NULL,NULL,874,NULL,NULL,NULL,NULL,80000.00,1,0,'2022-12-12','2022-12-23',3,40821,NULL,'TORCH',2,0,97180482,NULL,'',1,'2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(5,5563,NULL,NULL,NULL,NULL,NULL,874,NULL,NULL,NULL,NULL,50000.00,1,0,'2022-12-12','2022-12-20',11,40821,NULL,'TORCH',2,0,26459946,NULL,'',1,'2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(6,5563,NULL,NULL,NULL,NULL,NULL,874,NULL,NULL,NULL,NULL,50000.00,1,0,'2022-12-12','2022-12-25',11,40821,NULL,'TORCH',2,0,26294254,NULL,'',1,'2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(7,5563,NULL,NULL,NULL,NULL,NULL,874,NULL,NULL,NULL,NULL,258741.14,1,0,'2022-12-12','2022-12-25',9,40821,NULL,'TORCH',2,0,82217087,NULL,'',1,'2022-12-12 14:11:19','2022-12-12 14:11:19',NULL),(8,5563,NULL,NULL,NULL,NULL,NULL,875,1188,NULL,NULL,NULL,335038.28,1,0,'2022-12-06','2023-01-20',16,40821,NULL,'ZIELTECK SA',2,0,27498541,'cheques/40719/q9LXDp305lm2gztWG87sCzEOrhDFIknpg1XnxoXZ.pdf','',0,'2022-12-13 14:34:18','2023-01-25 11:42:28',NULL),(9,5563,NULL,NULL,NULL,NULL,NULL,875,NULL,NULL,NULL,NULL,335038.28,1,0,'2022-12-06','2023-02-24',16,40821,NULL,'ZIELTECK SA',2,0,27498543,'cheques/40719/6iqeLuyWA6qF2nxbfafy3Ff4FLTy8cN9LUv1ZyXY.pdf','',1,'2022-12-13 14:34:18','2022-12-13 14:34:18',NULL),(10,5563,NULL,NULL,NULL,NULL,NULL,938,NULL,NULL,NULL,NULL,263493.04,0,1,'2022-12-23','2023-01-16',4,40821,NULL,'ELECTRICIDAD MIGUEL SA',2,0,5584452,NULL,'',1,'2022-12-23 19:08:10','2022-12-23 19:08:10',NULL),(11,5563,NULL,NULL,NULL,NULL,NULL,938,NULL,NULL,NULL,NULL,263493.04,0,1,'2022-12-23','2023-01-07',4,40821,NULL,'ELECTRICIDAD MIGUEL S.A.',2,0,5584451,NULL,'',1,'2022-12-23 19:08:10','2022-12-23 19:08:10',NULL),(12,5563,NULL,NULL,NULL,NULL,NULL,1216,NULL,NULL,NULL,NULL,362539.90,1,0,'2023-02-02','2023-02-03',9,40821,NULL,'TORCH SA',2,0,82755944,'cheques/40719/Teoz8dRYWdZ7goeGA3O4CW9tnBcBPniQfTwXM4k0.jpg','',1,'2023-02-02 14:08:26','2023-02-02 14:08:26',NULL),(13,5563,NULL,NULL,NULL,71,NULL,1216,NULL,NULL,NULL,NULL,805733.38,1,0,'2023-02-02','2023-01-30',1,40821,NULL,'TORCH SA',2,0,6131,'cheques/40719/2Vm0EZUphPjhWXRmJ58OuMlcBBE4BVdA8UTq0OwV.jpg','',0,'2023-02-02 14:08:26','2023-05-31 17:50:48',NULL),(14,5563,NULL,NULL,NULL,NULL,NULL,1216,NULL,NULL,NULL,NULL,3521932.82,1,0,'2023-02-02','2023-01-25',2,40821,NULL,'FRANCISCO VIEDMA S.A.',2,0,286353,'cheques/40719/Q7h0bKGwOBcgBsAwrteAisAKhJGB1uXtuH2YHOfy.jpg','',1,'2023-02-02 14:08:26','2023-02-02 14:08:26',NULL),(15,5563,NULL,NULL,NULL,76,NULL,1284,NULL,NULL,NULL,NULL,1204402.09,1,0,'2023-03-03','2023-02-25',6,40821,NULL,'AZAHERES SRL',2,0,745508,'cheques/40719/ZwqSUjyFG99gHay5dYXpnVmJdpqFFKy4iylLFOPM.pdf','',0,'2023-03-03 12:48:24','2023-05-31 17:59:42',NULL),(16,5563,NULL,NULL,NULL,NULL,NULL,1284,NULL,NULL,NULL,NULL,420277.88,1,0,'2023-03-03','2023-03-01',6,40821,NULL,'AZAHARES SRL',2,0,745509,'cheques/40719/kHF3YqPVyg0i9QA5mw0YeSbQwDYRdvtTQg5D1ZYj.pdf','',1,'2023-03-03 12:48:24','2023-03-03 12:48:24',NULL),(17,5563,NULL,NULL,NULL,NULL,NULL,1338,NULL,NULL,NULL,NULL,1600000.00,1,0,'2023-03-23','2023-04-04',9,40821,'30-70763435-5','PREMOLDEADOS DE ARGENTINA SA',2,0,6628,'cheques/40719/vJugvI8zgveH9L5qtsMJv8nTw9tQGIvMpJFemoyD.pdf','2° ENDOSO',1,'2023-03-29 16:30:32','2023-03-29 16:30:32',NULL);
INSERT INTO `ctacte_cheques` VALUES (18,5563,NULL,NULL,NULL,77,NULL,1338,NULL,NULL,NULL,NULL,500000.00,1,0,'2023-03-23','2023-03-24',9,40821,'30-66305060-1','TORCH S A',2,0,678,'cheques/40719/TP51hL4a4Cq0oJssOJdbIc05kYIYvtzz3LwXnXg7.pdf','',0,'2023-03-29 16:30:32','2023-05-31 18:02:24',NULL),(19,5563,NULL,NULL,NULL,NULL,NULL,1339,NULL,NULL,NULL,NULL,62000.00,1,0,'2023-03-28','2023-03-25',9,40821,'30-71127885-7','MAQUINARIAS H Y M SA',2,0,2283399,'cheques/40719/zjGHpZFQi1URGn1LtaKyxhmpiBgilz7MBrRq6P8u.pdf','Beneficiario Original\nNombre o Razon social: AGRALE ARGENTINA\nDocumento: 30659278940',1,'2023-03-29 17:17:22','2023-03-29 17:17:22',NULL),(20,5563,NULL,NULL,NULL,77,NULL,1339,NULL,NULL,NULL,NULL,62760.63,1,0,'2023-03-28','2023-03-25',9,40821,'30-71127885-7','MAQUINARIAS H Y M SA',2,0,2283398,'cheques/40719/cYUKYJfDWvxGzxrpMbBqPy9DRpwGyTUjEbG0ZeuQ.pdf','Benefi ciario Original\nNombre o Razon social: AGRALE ARGENTINA\nDocumento: 30659278940',0,'2023-03-29 17:17:22','2023-05-31 18:02:24',NULL),(21,5563,NULL,NULL,NULL,77,NULL,1339,NULL,NULL,NULL,NULL,71502.85,1,0,'2023-03-28','2023-03-27',9,40821,'20-22860388-1','GERARDO DANIEL BUGIANESI',2,0,526,'cheques/40719/vUgGMGk8AxSpcuFCNQbOxS5955wKz4vDxSxpOMXX.pdf','Benefi ciario Original\nNombre o Razon social: AGRALE ARGENTINA\nDocumento: 30659278940',0,'2023-03-29 17:17:22','2023-05-31 18:02:24',NULL),(22,5563,NULL,NULL,NULL,NULL,NULL,1339,NULL,NULL,NULL,NULL,984832.92,1,0,'2023-03-28','2023-03-31',9,40821,'30-71491471-1','AMARELA TUCUMAN SRL',2,0,2432,'cheques/40719/7W1qIqsoewV0doHvk6JPdyIdmix7RDVTLfktLyvc.pdf','Benefi ciario Original\nNombre o Razon social: AGRALE ARGENTINA\nDocumento: 30659278940',1,'2023-03-29 17:17:22','2023-03-29 17:17:22',NULL),(23,5563,NULL,NULL,NULL,77,NULL,1339,NULL,NULL,NULL,NULL,72195.79,1,0,'2023-03-28','2023-03-24',9,40821,'30-70848973-1','NORTE RODADOS S.A.',2,0,1040898,'cheques/40719/WV75819WXuyIE0zerW6RaAh1LO1qHKjUOK6cQJec.pdf','Benefi ciario Original\nNombre o Razon social: AGRALE ARGENTINA\nDocumento: 30659278940',0,'2023-03-29 17:17:22','2023-05-31 18:02:24',NULL),(24,5563,NULL,NULL,NULL,NULL,NULL,1339,NULL,NULL,NULL,NULL,506187.81,1,0,'2023-03-28','2023-04-17',9,40821,'30-66305060-1','TORCH SA',2,0,579,'cheques/40719/RVummuScRBKbvFyMzbZlzoe6kXL0nEMYC4XUFLEk.pdf','',1,'2023-03-29 17:17:22','2023-03-29 17:17:22',NULL),(25,5563,NULL,NULL,NULL,78,NULL,1339,NULL,NULL,NULL,NULL,500000.00,1,0,'2023-03-28','2023-04-10',9,40821,'30-66305060-1','TORCH SA',2,0,681,'cheques/40719/8SCEP5WJWPpmM2vufJqznxq4r1XmrEOM8Du4KccZ.pdf','',0,'2023-03-29 17:17:22','2023-05-31 18:05:21',NULL),(26,5563,NULL,NULL,NULL,NULL,NULL,1339,NULL,NULL,NULL,NULL,500000.00,1,0,'2023-03-28','2023-04-14',9,40821,'30-66305060-1','TORCH SA',2,0,680,'cheques/40719/4CSwgAmwwJH1bOOunTvZmhQTYEbC3KABt30e3gG8.pdf','',1,'2023-03-29 17:17:23','2023-03-29 17:17:23',NULL),(27,5563,NULL,NULL,NULL,NULL,NULL,1339,1357,NULL,NULL,NULL,500000.00,1,0,'2023-03-28','2023-04-05',9,40821,'30-66305060-1','TORCH SA',2,0,682,'cheques/40719/LWYTriyS4SWU6jZdiNimn205xH7IHvF8Va3ciFv5.pdf','',0,'2023-03-29 17:17:23','2023-03-31 14:19:18',NULL),(28,5563,NULL,NULL,NULL,NULL,NULL,1340,1357,NULL,NULL,NULL,500000.00,1,0,'2023-03-29','2023-04-14',9,40821,'30-66305060-1','TORCH SA',2,0,693,NULL,'',0,'2023-03-29 18:12:20','2023-03-31 14:19:18',NULL),(29,5563,NULL,NULL,NULL,NULL,NULL,1340,1357,NULL,NULL,NULL,500000.00,1,0,'2023-03-29','2023-04-11',9,40821,'30-66305060-1','TORCH SA',2,0,694,'cheques/40719/kWTZwuQo7BrOH040oTaoa1PJeXa6K2YJUwrKhoB2.pdf','',0,'2023-03-29 18:12:20','2023-03-31 14:19:18',NULL),(30,5563,NULL,NULL,NULL,78,NULL,1340,NULL,NULL,NULL,NULL,500000.00,1,0,'2023-03-29','2023-04-10',9,40821,'30-66305060-1','TORCH SA',2,0,695,'cheques/40719/kYQtPFkt3ewJsRTQLLlZTnW1o8XCsJHUrcPNJZsJ.pdf','',0,'2023-03-29 18:12:20','2023-05-31 18:05:21',NULL);
INSERT INTO `ctacte_cheques` VALUES (31,5563,NULL,NULL,NULL,78,NULL,1340,NULL,NULL,NULL,NULL,500000.00,1,0,'2023-03-29','2023-04-05',9,40821,'30-66305060-1','TORCH SA',2,0,696,'cheques/40719/5dW83W9TARX9XeUhycXTPDIHtCWhEbgmwaqmg7Ud.pdf','',0,'2023-03-29 18:12:20','2023-05-31 18:05:21',NULL),(32,5563,NULL,NULL,NULL,80,NULL,1410,NULL,NULL,NULL,NULL,500000.00,1,0,'2023-04-05','2023-04-28',9,40821,'30-66305060-1','TORCH SA',2,0,699,NULL,'',0,'2023-05-10 17:13:09','2023-05-31 18:07:02',NULL),(33,5563,NULL,NULL,NULL,81,NULL,1410,NULL,NULL,NULL,NULL,1058966.08,1,0,'2023-04-05','2023-05-05',9,40821,'30-66305060-1','TORCH SA',2,0,698,NULL,'',0,'2023-05-10 17:13:09','2023-05-31 18:07:58',NULL),(34,5563,NULL,NULL,NULL,80,NULL,1410,NULL,NULL,NULL,NULL,500000.00,1,0,'2023-04-05','2023-04-21',9,40821,'30-66305060-1','TORCH SA',2,0,700,NULL,'',0,'2023-05-10 17:13:09','2023-05-31 18:07:02',NULL),(35,5563,NULL,NULL,NULL,79,NULL,1410,NULL,NULL,NULL,NULL,1000000.00,1,0,'2023-04-05','2023-04-14',9,40821,'30-66305060-1','TORCH SA',2,0,701,NULL,'',0,'2023-05-10 17:13:09','2023-05-31 18:06:02',NULL),(36,5563,NULL,NULL,NULL,NULL,NULL,1412,1549,NULL,NULL,NULL,13201.70,1,0,'2023-05-15','2023-05-10',9,40821,'30-66305060-1','TORCH S A',2,0,744,'cheques/40719/ALxP4Gi5y6x5RUZ2xyqF5PqjKb1cr8ENuauxOYb2.pdf','',0,'2023-05-15 11:24:59','2023-07-07 14:19:36',NULL),(37,5563,NULL,NULL,NULL,NULL,NULL,1412,NULL,NULL,NULL,NULL,1684746.50,1,0,'2023-05-15','2023-07-06',9,40821,'30-71747440-2','FATZE SRL',2,0,22919604,'cheques/40719/r00pihmHxcFIWvvIco3umSe20jMdTeIyAPFJ5Kxe.pdf','',1,'2023-05-15 11:24:59','2023-05-15 11:24:59',NULL),(38,5563,NULL,NULL,NULL,NULL,NULL,1412,NULL,NULL,NULL,NULL,1684746.50,1,0,'2023-05-15','2023-06-27',9,40821,'30-71747440-2','FATZE SRL',2,0,22919593,'cheques/40719/6Jh1NurMUMuzvgsK7L2KdkV0vIVMGCJH4Yv4ZNXc.pdf','',1,'2023-05-15 11:24:59','2023-05-15 11:24:59',NULL),(39,5563,NULL,NULL,NULL,NULL,NULL,1412,NULL,NULL,NULL,NULL,1684746.50,1,0,'2023-05-15','2023-06-13',9,40821,'30-71747440-2','FATZE SRL',2,0,22919586,'cheques/40719/Ci0diSJOBUuXPLrROBXxiXgnEEkG0QOF91qZJNS2.pdf','',1,'2023-05-15 11:24:59','2023-05-15 11:24:59',NULL),(40,5563,NULL,NULL,NULL,NULL,NULL,1412,1549,NULL,NULL,NULL,1222000.00,1,0,'2023-05-15','2023-05-02',9,40821,'30-70763435-5','PREMOLDEADOS DE ARGENTINA SA',2,0,6664,'cheques/40719/N7ONLFpmW4SQ1GL27fFTV5BKsW7XsENO8yWlFvLq.pdf','',0,'2023-05-15 11:24:59','2023-07-07 14:19:36',NULL),(41,5563,NULL,NULL,NULL,72,NULL,1420,NULL,NULL,NULL,NULL,4739184.39,1,0,'2023-05-29','2023-01-04',16,40821,'30-66122809-8','INDUSTRIAS MARO SA',2,0,26785,NULL,'',0,'2023-05-29 14:34:01','2023-05-31 17:52:55',NULL),(42,5563,NULL,NULL,NULL,73,NULL,1426,NULL,NULL,NULL,NULL,321863.00,1,0,'2023-02-02','2023-02-07',16,40821,'30-66122809-8','INDUSTRIAS MARO SA',2,0,26858,NULL,'',0,'2023-05-29 16:50:20','2023-05-31 17:54:00',NULL),(43,5563,NULL,NULL,NULL,75,NULL,1426,NULL,NULL,NULL,NULL,321863.05,1,0,'2023-02-02','2023-02-22',16,40821,'30-66122809-8','INDUSTRIAS MARO SA',2,0,26857,NULL,'',0,'2023-05-29 16:50:20','2023-05-31 17:58:05',NULL),(44,5563,NULL,NULL,NULL,74,NULL,1427,NULL,NULL,NULL,NULL,65427.12,1,0,'2023-02-09','2023-02-11',25,40821,'30-71090854-7','INDUSTRIAS FMR SA',2,0,23165747,NULL,'',0,'2023-05-29 16:55:15','2023-05-31 17:54:46',NULL),(45,5563,NULL,NULL,NULL,NULL,NULL,1431,1432,NULL,NULL,NULL,430000.00,1,0,'2023-04-05','2023-04-15',9,40821,'30-66305060-1','TORCH SA',2,0,82755857,'cheques/40719/3gEGvruQNpMu6FHLwwdcWNpChkQgLPYFLf9lA3vd.jpg','',0,'2023-05-31 17:39:50','2023-05-31 17:43:14',NULL),(46,5563,NULL,NULL,NULL,NULL,NULL,1431,1432,NULL,NULL,NULL,430000.00,1,0,'2023-04-05','2023-04-21',9,40821,'30-66305060-1','TORCH SA',2,0,82755858,NULL,'',0,'2023-05-31 17:39:50','2023-05-31 17:43:14',NULL),(47,5563,NULL,NULL,NULL,NULL,NULL,1431,NULL,NULL,NULL,NULL,483230.00,1,0,'2023-04-05','2023-05-02',9,40821,'30-66305060-1','TORCH SA',2,0,82755859,NULL,'',1,'2023-05-31 17:39:50','2023-05-31 17:39:50',NULL);
INSERT INTO `ctacte_cheques` VALUES (48,5563,NULL,NULL,NULL,NULL,NULL,1556,NULL,NULL,NULL,NULL,373263.22,1,0,'2023-09-11','2023-10-14',1,40821,'30-70839572-9','G FLOW SA',2,0,141,NULL,'',1,'2023-09-19 16:16:32','2023-09-19 16:16:32',NULL),(49,5563,NULL,NULL,NULL,NULL,NULL,1557,NULL,NULL,NULL,NULL,62260.55,1,0,'2023-09-19','2023-10-10',25,40821,'30-65036424-0','METALURGICA TRIUNVIRATO SRL',2,0,24137488,NULL,'',1,'2023-09-19 16:18:50','2023-09-19 16:18:50',NULL),(50,5563,NULL,NULL,NULL,NULL,NULL,1565,NULL,NULL,NULL,NULL,10580597.86,1,0,'2023-10-26','2023-11-01',4,40821,'30-50474453-8','PEUGEOT CITROEN ARGENTINA SA',2,0,93100382,NULL,'',1,'2023-10-30 14:46:52','2023-10-30 14:46:52',NULL),(51,5563,NULL,NULL,NULL,NULL,NULL,1849,NULL,NULL,NULL,NULL,2024974.30,1,0,'2024-02-06','2024-02-06',4,40821,'30-50474453-8','PEUGEOT CITROEN ARGENTINA SA',2,0,93102159,'cheques/40719/69uPEJxE18LNrdIIWrWyijsEU2Vx5mPgvdibBln2.pdf','',1,'2024-02-07 17:35:28','2024-02-07 17:35:28',NULL),(52,5563,NULL,NULL,NULL,NULL,NULL,1970,NULL,NULL,NULL,NULL,21390918.64,1,0,'2024-04-18','2024-06-19',4,40821,'30-50474453-8','PEUGEOT CITROEN ARGENTINA SA',2,0,93103614,'cheques/40719/4tn3MIWQgjwda5cXA0P1u5rvSOqJYUlOUAry381m.pdf','ID DEL ECHEQ\nO172VVERZ5D2KJ3',1,'2024-05-06 10:34:32','2024-05-06 10:34:32',NULL),(53,5563,NULL,NULL,NULL,NULL,NULL,1971,NULL,NULL,NULL,NULL,18308552.57,1,0,'2024-03-21','2024-03-21',4,40821,'30-50474453-8','PEUGEOT CITROÊN ARGENTINA S.A.',2,0,93103056,'cheques/40719/7qqDwZbr3SSP81l1UPaA6bJRErTuG4PVBVpN5rc5.pdf','V8794VWGMRQ2PEY ',1,'2024-05-06 10:53:32','2024-05-06 10:53:32',NULL);

--
-- 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-07 00:02:02',NULL),(2,NULL,'TERMINADO',1,NULL,'2023-08-07 00:02:02',NULL),(3,NULL,'ELIMINADO',1,NULL,'2023-08-13 09:18:59',NULL),(4,NULL,'PAGADO',1,NULL,'2023-08-07 00:02:02','2023-08-07 00:02:02'),(5,NULL,'CONCILIADO',1,NULL,'2023-08-07 00:02:02','2023-08-07 00:02:02');

--
-- Table structure for table `dc_estados_decisiones`
--

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

--
-- Dumping data for table `dc_estados_decisiones`
--

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

--
-- 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-07 00:02:02',NULL),(2,NULL,'RECHAZADO',1,1,0,1,NULL,'2023-08-07 00:02:02',NULL),(3,NULL,'ACEPTADO',1,0,0,1,NULL,'2023-08-07 00:02:02',NULL),(4,NULL,'FALTAN FIRMAS',0,0,1,1,'2023-08-07 00:02:02','2023-08-07 00:02:02',NULL),(5,NULL,'EMITIDO',1,0,0,1,'2023-10-12 08:09:37','2023-10-12 08:09:37',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:32:37',
  `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_cheques`
--

CREATE TABLE `dc_orden_de_pago_cheques` (
  `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,
  `ctacte_cheque_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_orden_de_pago_cheques_dc_orden_de_pago_id_foreign` (`dc_orden_de_pago_id`),
  KEY `dc_orden_de_pago_cheques_ctacte_cheque_id_foreign` (`ctacte_cheque_id`),
  CONSTRAINT `dc_orden_de_pago_cheques_ctacte_cheque_id_foreign` FOREIGN KEY (`ctacte_cheque_id`) REFERENCES `ctacte_cheques` (`id`),
  CONSTRAINT `dc_orden_de_pago_cheques_dc_orden_de_pago_id_foreign` FOREIGN KEY (`dc_orden_de_pago_id`) REFERENCES `dc_orden_de_pago` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_orden_de_pago_cheques`
--


--
-- 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,
  `numero_text` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 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,
  `is_garantia` tinyint(1) NOT NULL DEFAULT '0',
  `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',
  `is_pagada` tinyint(1) NOT NULL,
  `garantia` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mant_oferta` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comen_para_cliente` text COLLATE utf8mb4_unicode_ci,
  `comentario` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `dc_ov_origen_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_cobranza_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_factura_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_entrega_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_venta_id` bigint(20) unsigned DEFAULT NULL,
  `dc_estado_id` bigint(20) unsigned NOT NULL,
  `dc_estado_decision_id` bigint(20) unsigned DEFAULT 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',
  `is_credit` tinyint(1) DEFAULT NULL,
  `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`),
  KEY `dc_ordenes_dc_estado_decision_id_foreign` (`dc_estado_decision_id`),
  KEY `dc_ordenes_dc_ov_origen_id_foreign` (`dc_ov_origen_id`),
  KEY `dc_ordenes_dc_ov_status_venta_id_foreign` (`dc_ov_status_venta_id`),
  KEY `dc_ordenes_dc_ov_status_entrega_id_foreign` (`dc_ov_status_entrega_id`),
  KEY `dc_ordenes_dc_ov_status_factura_id_foreign` (`dc_ov_status_factura_id`),
  KEY `dc_ordenes_dc_ov_status_cobranza_id_foreign` (`dc_ov_status_cobranza_id`),
  CONSTRAINT `dc_ordenes_conta_cc_id_foreign` FOREIGN KEY (`conta_cc_id`) REFERENCES `conta_centro_costos` (`id`),
  CONSTRAINT `dc_ordenes_dc_estado_decision_id_foreign` FOREIGN KEY (`dc_estado_decision_id`) REFERENCES `dc_estados_decisiones` (`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_dc_ov_origen_id_foreign` FOREIGN KEY (`dc_ov_origen_id`) REFERENCES `dc_ov_origenes` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_cobranza_id_foreign` FOREIGN KEY (`dc_ov_status_cobranza_id`) REFERENCES `dc_ov_status_cobranza` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_entrega_id_foreign` FOREIGN KEY (`dc_ov_status_entrega_id`) REFERENCES `dc_ov_status_entrega` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_factura_id_foreign` FOREIGN KEY (`dc_ov_status_factura_id`) REFERENCES `dc_ov_status_factura` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_venta_id_foreign` FOREIGN KEY (`dc_ov_status_venta_id`) REFERENCES `dc_ov_status_venta` (`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 AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `dc_ordenes` VALUES (1,5563,2,40821,40827,NULL,1,1,NULL,NULL,NULL,NULL,'2023-01-12',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,3.00,1,1.00,54072.00,11355.12,65427.12,0.00,0,NULL,NULL,NULL,'Sin OC',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,3,'2023-03-30 12:55:48','2023-08-07 00:02:02',NULL),(2,5563,2,40821,40731,NULL,1,2,NULL,NULL,NULL,NULL,'2023-01-12',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,144.00,1,1.00,84352.32,17713.99,102066.31,0.00,0,NULL,NULL,NULL,'Sin OC',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,3,'2023-03-30 13:05:14','2023-08-07 00:02:02',NULL),(3,5563,2,40821,40826,NULL,1,3,NULL,NULL,NULL,NULL,'2023-03-28','2023-04-30',NULL,NULL,NULL,NULL,0,NULL,NULL,4.00,1,1.00,37335.60,7840.48,45176.08,0.00,0,NULL,NULL,NULL,'Pagadero en pesos ajustable al TC dólar DIVISA ventas BNA del día anterior a la fecha de factura. TC Ref: U$1:$207.42\nNOTA DE PEDIDO: N°97275/1\nReferencias comerciales:\nCódigo de proveedor: 4314\nRequisición Nro.: 97540\nEnvío de Factura electrónica a facturaelectronica@industriasguidi.com.ar',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,3,'2023-05-05 10:26:14','2023-08-07 00:02:02',NULL);

--
-- Table structure for table `dc_ordenes_compra_coti`
--

CREATE TABLE `dc_ordenes_compra_coti` (
  `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_coti_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_coti_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_compra_coti_dc_orden_coti_id_foreign` (`dc_orden_coti_id`),
  CONSTRAINT `dc_ordenes_compra_coti_dc_orden_coti_id_foreign` FOREIGN KEY (`dc_orden_coti_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_compra_coti_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_compra_coti`
--


--
-- 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_cotizacion_req`
--

CREATE TABLE `dc_ordenes_cotizacion_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_cotizacion_req_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_cotizacion_req_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_cotizacion_req_dc_orden_req_id_foreign` (`dc_orden_req_id`),
  KEY `dc_ordenes_cotizacion_req_dc_orden_req_detail_id_foreign` (`dc_orden_req_detail_id`),
  CONSTRAINT `dc_ordenes_cotizacion_req_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_cotizacion_req_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_cotizacion_req_dc_orden_req_detail_id_foreign` FOREIGN KEY (`dc_orden_req_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_cotizacion_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_cotizacion_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_deposito_id` bigint(20) unsigned DEFAULT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `inv_producto_id_destino` bigint(20) unsigned DEFAULT NULL,
  `prod_variant_id` bigint(20) unsigned DEFAULT NULL,
  `inv_deposito_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`),
  KEY `dc_ordenes_details_inv_deposito_id_foreign` (`inv_deposito_id`),
  KEY `dc_ordenes_details_inv_deposito_id_destino_foreign` (`inv_deposito_id_destino`),
  KEY `dc_ordenes_details_prod_variant_id_foreign` (`prod_variant_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_deposito_id_destino_foreign` FOREIGN KEY (`inv_deposito_id_destino`) REFERENCES `inv_depositos` (`id`),
  CONSTRAINT `dc_ordenes_details_inv_deposito_id_foreign` FOREIGN KEY (`inv_deposito_id`) REFERENCES `inv_depositos` (`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_prod_variant_id_foreign` FOREIGN KEY (`prod_variant_id`) REFERENCES `prod_variants` (`id`) ON DELETE SET NULL,
  CONSTRAINT `dc_ordenes_details_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_details`
--

INSERT INTO `dc_ordenes_details` VALUES (1,NULL,1,NULL,NULL,NULL,3.00,NULL,NULL,NULL,NULL,NULL,'Vulcanizado Ruedas Diam. 200mm x alt. 80mm con Poliuretano color rojo. TIPO DE CAMBIO: 1 USD = 187.75 PESOS ARGENTINOS DOLAR OFICIAL TIPO VENDEDOR BNA',18024.00,NULL,0.00,2,11355.12,65427.12,NULL,'2023-03-30 13:02:14','2023-03-30 13:02:14'),(2,NULL,1,NULL,NULL,NULL,3.00,NULL,NULL,NULL,NULL,NULL,'Vulcanizado Ruedas Diam. 200mm x alt. 80mm con Poliuretano color rojo. TIPO DE CAMBIO: 1 USD = 187.75 PESOS ARGENTINOS DOLAR OFICIAL TIPO VENDEDOR BNA',18024.00,NULL,0.00,2,11355.12,65427.12,NULL,NULL,NULL),(3,NULL,2,NULL,NULL,NULL,144.00,NULL,NULL,NULL,NULL,NULL,'Soporte para RACK según muestra. TIPO DE CAMBIO: 1 USD = 187.75 PESOS ARGENTINOS DOLAR OFICIAL TIPO VENDEDOR BNA',585.78,NULL,0.00,2,17713.99,102066.31,NULL,NULL,NULL),(4,5563,3,NULL,NULL,NULL,4.00,NULL,NULL,NULL,NULL,NULL,'Vástago de welding - Fabricación - Plano solicitar a jefe de area',9333.90,NULL,0.00,2,7840.48,45176.08,'2023-05-05 10:26:14','2023-05-05 10:26:14',NULL);

--
-- 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(11) DEFAULT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `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`),
  KEY `dc_ordenes_facturada_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `dc_ordenes_facturada_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_facturada_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_ordenes_facturada_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`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_ingxdev_rem_egr`
--

CREATE TABLE `dc_ordenes_ingxdev_rem_egr` (
  `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_rem_egr_id` bigint(20) unsigned NOT NULL,
  `dc_orden_rem_egr_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_ingxdev_rem_egr_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_id_foreign` (`dc_orden_rem_egr_id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_detail_id_foreign` (`dc_orden_rem_egr_detail_id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_detail_id_foreign` FOREIGN KEY (`dc_orden_rem_egr_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_id_foreign` FOREIGN KEY (`dc_orden_rem_egr_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_ingxdev_rem_egr`
--


--
-- Table structure for table `dc_ordenes_logs`
--

CREATE TABLE `dc_ordenes_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `loggable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `loggable_id` bigint(20) unsigned NOT NULL,
  `related_id` bigint(20) unsigned DEFAULT NULL,
  `related_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_logs_loggable_type_loggable_id_index` (`loggable_type`,`loggable_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_logs`
--


--
-- 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:22:07',NULL),(3,NULL,'Deposito','App\\Models\\Inventario\\InvDeposito',1,1,NULL,'2024-05-07 20:07:56',NULL),(4,NULL,'Empleado','App\\Models\\SyJEmpleado',0,0,NULL,'2023-07-03 22:11:27',NULL);

--
-- Table structure for table `dc_ordenes_pdf_templates`
--

CREATE TABLE `dc_ordenes_pdf_templates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_tipo_id` bigint(20) unsigned NOT NULL,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `vista_blade` text COLLATE utf8mb4_unicode_ci,
  `pdf_base_path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tipo_plantilla` enum('blade','pdf_base') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'blade',
  `configuracion` json DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_person_tipo_template` (`person_id`,`dc_orden_tipo_id`),
  KEY `dc_ordenes_pdf_templates_dc_orden_tipo_id_foreign` (`dc_orden_tipo_id`),
  CONSTRAINT `dc_ordenes_pdf_templates_dc_orden_tipo_id_foreign` FOREIGN KEY (`dc_orden_tipo_id`) REFERENCES `dc_ordenes_tipos` (`id`),
  CONSTRAINT `dc_ordenes_pdf_templates_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_pdf_templates`
--


--
-- 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=23 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:55',NULL),(2,NULL,'ORDEN DE VENTAS',NULL,1,NULL,'2022-09-09 16:52:55',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:30:28',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:32:37','2023-09-28 16:32:37',NULL),(11,NULL,'ANULACION REQUERIMIENTOS',NULL,1,'2024-04-02 23:14:02','2024-04-02 23:14:02',NULL),(12,NULL,'ANULACION COMPRAS PRODUCTOS',NULL,1,'2024-04-02 23:14:02','2024-04-02 23:14:02',NULL),(13,NULL,'ANULACION COMPRAS SERVICIOS',NULL,1,'2024-04-02 23:14:02','2024-04-02 23:14:02',NULL),(14,NULL,'REMITO DE GASTO',NULL,1,'2024-05-07 20:07:56','2024-05-07 20:07:56',NULL),(15,NULL,'COTIZACIONES',NULL,1,'2024-06-26 07:52:27','2024-06-26 07:52:27',NULL),(16,NULL,'REMITO INGRESO-DEVOLUCION',NULL,1,'2024-09-02 13:17:05','2024-09-02 13:17:05',NULL),(17,NULL,'REMITO EGRESO-DEVOLUCION',NULL,1,'2024-10-17 08:50:41','2024-10-17 08:50:41',NULL),(18,NULL,'REMITO','Es un remito de servicio, que no tiene ni ingreso ni egreso',1,'2024-12-03 21:44:50','2024-12-03 21:44:50',NULL),(19,NULL,'Remito de Cliente','Se usa en las Ordenes de Venta para demostrar que se entrego mercaderia al cliente',1,NULL,NULL,NULL),(20,NULL,'Orden de Compra de Cliente','Es la OC que envia el cliente para que se le haga el pedido',1,NULL,NULL,NULL),(21,NULL,'Solicitud de Facturacion','Es un documento que se usa para que se pueda facturar',1,NULL,NULL,NULL),(22,NULL,'Ordenes de Compra','Es una OC para Empresas',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_cta_cte_cliente`
--

CREATE TABLE `dc_ov_cta_cte_cliente` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_cta_cte_cliente_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_cta_cte_cliente_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  CONSTRAINT `dc_ov_cta_cte_cliente_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `dc_ov_cta_cte_cliente_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_ov_cta_cte_cliente`
--


--
-- Table structure for table `dc_ov_fact_electronicas`
--

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

--
-- Dumping data for table `dc_ov_fact_electronicas`
--


--
-- Table structure for table `dc_ov_oc_presupuestos`
--

CREATE TABLE `dc_ov_oc_presupuestos` (
  `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_presupuesto_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_ov_oc_presupuestos_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_oc_presupuestos_dc_orden_presupuesto_id_foreign` (`dc_orden_presupuesto_id`),
  CONSTRAINT `dc_ov_oc_presupuestos_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_oc_presupuestos_dc_orden_presupuesto_id_foreign` FOREIGN KEY (`dc_orden_presupuesto_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_oc_presupuestos`
--


--
-- Table structure for table `dc_ov_ocs`
--

CREATE TABLE `dc_ov_ocs` (
  `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_compra_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_ov_ocs_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_ocs_dc_orden_compra_id_foreign` (`dc_orden_compra_id`),
  CONSTRAINT `dc_ov_ocs_dc_orden_compra_id_foreign` FOREIGN KEY (`dc_orden_compra_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_ocs_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_ov_ocs`
--


--
-- Table structure for table `dc_ov_origenes`
--

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

--
-- Dumping data for table `dc_ov_origenes`
--

INSERT INTO `dc_ov_origenes` VALUES (1,NULL,'Taller',1,NULL,NULL,NULL),(2,NULL,'Comercial',1,NULL,NULL,NULL),(3,NULL,'Repuestos',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_origenes_users`
--

CREATE TABLE `dc_ov_origenes_users` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `dc_ov_origen_id` bigint(20) unsigned NOT NULL,
  `user_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_ov_origenes_users_dc_ov_origen_id_foreign` (`dc_ov_origen_id`),
  CONSTRAINT `dc_ov_origenes_users_dc_ov_origen_id_foreign` FOREIGN KEY (`dc_ov_origen_id`) REFERENCES `dc_ov_origenes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_origenes_users`
--


--
-- Table structure for table `dc_ov_ots`
--

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

--
-- Dumping data for table `dc_ov_ots`
--


--
-- Table structure for table `dc_ov_pres_clientes`
--

CREATE TABLE `dc_ov_pres_clientes` (
  `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_pres_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_ov_pres_clientes_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_pres_clientes_dc_orden_pres_id_foreign` (`dc_orden_pres_id`),
  CONSTRAINT `dc_ov_pres_clientes_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_pres_clientes_dc_orden_pres_id_foreign` FOREIGN KEY (`dc_orden_pres_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_pres_clientes`
--


--
-- Table structure for table `dc_ov_rem_clientes`
--

CREATE TABLE `dc_ov_rem_clientes` (
  `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_rem_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_ov_rem_clientes_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_rem_clientes_dc_orden_rem_id_foreign` (`dc_orden_rem_id`),
  CONSTRAINT `dc_ov_rem_clientes_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_rem_clientes_dc_orden_rem_id_foreign` FOREIGN KEY (`dc_orden_rem_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_rem_clientes`
--


--
-- Table structure for table `dc_ov_remc_occ`
--

CREATE TABLE `dc_ov_remc_occ` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `dc_orden_id` bigint(20) unsigned DEFAULT NULL,
  `dc_orden_detail_id` bigint(20) unsigned DEFAULT NULL,
  `dc_occ_id` bigint(20) unsigned DEFAULT NULL,
  `dc_occ_detail_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_remc_occ_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_remc_occ_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ov_remc_occ_dc_occ_id_foreign` (`dc_occ_id`),
  KEY `dc_ov_remc_occ_dc_occ_detail_id_foreign` (`dc_occ_detail_id`),
  CONSTRAINT `dc_ov_remc_occ_dc_occ_detail_id_foreign` FOREIGN KEY (`dc_occ_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ov_remc_occ_dc_occ_id_foreign` FOREIGN KEY (`dc_occ_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_remc_occ_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ov_remc_occ_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_ov_remc_occ`
--


--
-- Table structure for table `dc_ov_sol_facturacion`
--

CREATE TABLE `dc_ov_sol_facturacion` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_sol_facturacion_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_ov_sol_facturacion_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_sol_facturacion_dc_sol_facturacion_id_foreign` (`dc_sol_facturacion_id`),
  CONSTRAINT `dc_ov_sol_facturacion_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_sol_facturacion_dc_sol_facturacion_id_foreign` FOREIGN KEY (`dc_sol_facturacion_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_sol_facturacion`
--


--
-- Table structure for table `dc_ov_status_cobranza`
--

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

--
-- Dumping data for table `dc_ov_status_cobranza`
--

INSERT INTO `dc_ov_status_cobranza` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Parcial',1,NULL,NULL,NULL),(3,NULL,'Completa',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_status_entrega`
--

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

--
-- Dumping data for table `dc_ov_status_entrega`
--

INSERT INTO `dc_ov_status_entrega` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Parcial',1,NULL,NULL,NULL),(3,NULL,'Completa',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_status_factura`
--

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

--
-- Dumping data for table `dc_ov_status_factura`
--

INSERT INTO `dc_ov_status_factura` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Facturable',1,NULL,NULL,NULL),(3,NULL,'Facturado Parcialmente',1,NULL,NULL,NULL),(4,NULL,'Facturado Totalmente',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_status_venta`
--

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

--
-- Dumping data for table `dc_ov_status_venta`
--

INSERT INTO `dc_ov_status_venta` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Presupuesto',1,NULL,NULL,NULL),(3,NULL,'Venta',1,NULL,NULL,NULL),(4,NULL,'Rechazada',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_sol_fac_occ`
--

CREATE TABLE `dc_sol_fac_occ` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL COMMENT 'Solicitud Facturación (tipo 21)',
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL COMMENT 'Detalle de SF',
  `dc_occ_id` bigint(20) unsigned NOT NULL COMMENT 'OC Cliente (tipo 20)',
  `dc_occ_detail_id` bigint(20) unsigned NOT NULL COMMENT 'Detalle de OCC',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_sf` (`dc_orden_id`),
  KEY `idx_occ` (`dc_occ_id`),
  KEY `dc_sol_fac_occ_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_sol_fac_occ_dc_occ_detail_id_foreign` (`dc_occ_detail_id`),
  CONSTRAINT `dc_sol_fac_occ_dc_occ_detail_id_foreign` FOREIGN KEY (`dc_occ_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_sol_fac_occ_dc_occ_id_foreign` FOREIGN KEY (`dc_occ_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_sol_fac_occ_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_sol_fac_occ_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_sol_fac_occ`
--


--
-- Table structure for table `despachos`
--

CREATE TABLE `despachos` (
  `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,
  `moneda_id` int(10) unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT '2025-04-28 16:11:54',
  `is_ponderacion_autom` tinyint(1) NOT NULL DEFAULT '1',
  `is_garantia` tinyint(1) NOT NULL DEFAULT '0',
  `numero` int(10) unsigned DEFAULT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_parte_1` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_parte_2` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_parte_3` decimal(16,2) NOT NULL DEFAULT '0.00',
  `cotizacion` 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 `despachos_person_id_foreign` (`person_id`),
  KEY `despachos_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `despachos_moneda_id_foreign` (`moneda_id`),
  CONSTRAINT `despachos_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `despachos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `despachos_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 `despachos`
--


--
-- Table structure for table `despachos_cierres`
--

CREATE TABLE `despachos_cierres` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `despacho_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `costo_antes` decimal(16,2) NOT NULL DEFAULT '0.00',
  `cantidades` decimal(16,2) DEFAULT '0.00',
  `precio_x_cantidad` decimal(16,2) DEFAULT '0.00',
  `ratio` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `incremento` decimal(16,2) NOT NULL DEFAULT '0.00',
  `incremento_x_cantidad` decimal(16,2) DEFAULT '0.00',
  `costo_despues` 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 `despachos_cierres_despacho_id_foreign` (`despacho_id`),
  KEY `despachos_cierres_receipt_id_foreign` (`receipt_id`),
  KEY `despachos_cierres_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `despachos_cierres_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `despachos_cierres_inv_producto_id_foreign` (`inv_producto_id`),
  CONSTRAINT `despachos_cierres_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `despachos_cierres_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `despachos_cierres_despacho_id_foreign` FOREIGN KEY (`despacho_id`) REFERENCES `despachos` (`id`),
  CONSTRAINT `despachos_cierres_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `despachos_cierres_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `despachos_cierres`
--


--
-- Table structure for table `despachos_details`
--

CREATE TABLE `despachos_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `despacho_id` bigint(20) unsigned NOT NULL,
  `despacho_parte_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `porcentaje_ponderacion` decimal(8,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 `despachos_details_despacho_id_foreign` (`despacho_id`),
  KEY `despachos_details_despacho_parte_id_foreign` (`despacho_parte_id`),
  KEY `despachos_details_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `despachos_details_despacho_id_foreign` FOREIGN KEY (`despacho_id`) REFERENCES `despachos` (`id`),
  CONSTRAINT `despachos_details_despacho_parte_id_foreign` FOREIGN KEY (`despacho_parte_id`) REFERENCES `despachos_partes` (`id`),
  CONSTRAINT `despachos_details_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `despachos_details`
--


--
-- Table structure for table `despachos_files`
--

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

--
-- Dumping data for table `despachos_files`
--


--
-- Table structure for table `despachos_partes`
--

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

--
-- Dumping data for table `despachos_partes`
--

INSERT INTO `despachos_partes` VALUES (1,NULL,'Facturas del Proveedor',1,NULL,NULL,NULL),(2,NULL,'Despachos de Importacion',1,NULL,NULL,NULL),(3,NULL,'Facturas de Logistica',1,NULL,NULL,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 AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `fact_elec_puntos_venta` VALUES (1,5563,'Gral. Pico 630','2022-04-05 21:23:04','2024-05-02 15:56:24',40719,'P000007','1874',23,'img//27287989496/logo_punto_venta_P000007.jpg',1,NULL),(3,5563,'Juramento 84, Don Torcuato Norte','2022-08-29 20:50:19','2023-12-11 07:37:13',40821,'6','B1611AXA',23,'img//20216135785/logo_punto_venta_0006.png',1,NULL),(4,5563,'DEFENSA 3568, JOSE C. PAZ','2022-11-24 12:22:24','2022-11-24 12:27:09',40748,'1','1665',23,NULL,1,NULL),(5,5563,'MARCONI 1953 - BECCAR','2024-05-02 14:44:08','2024-05-02 14:46:03',40861,'5','1643',23,'img//20247783165/logo_punto_venta_0000.bmp',1,NULL),(6,5563,'ARTIGAS 5853 - VILLA DE MAYO - BUENOS AIRES','2024-10-04 13:09:17','2024-11-27 16:30:49',41306,'2','1614',23,'img//30718026543/logo_punto_venta_0002.png',1,NULL);

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

--
-- Dumping data for table `fact_elec_receipt_details`
--

INSERT INTO `fact_elec_receipt_details` VALUES (4,6952,4,'prueba',1.00,'8',10.00,10.00,0.00,0.00,0.00,8,0.00,10.00,'2022-08-30 11:21:28','2022-08-30 11:21:28','001',NULL),(5,6952,5,'PRUEBA',1.00,'8',10.00,10.00,0.00,0.00,0.00,7,0.00,10.00,'2022-08-30 11:46:45','2022-08-30 11:46:45','001',NULL),(11,5563,11,'Extractores para laboratorio\n\n1 USD = 138.32\nTIPO DE CAMBIO DOLAR DIVISA VENDEDOR\n\n',0.30,'8',553280.00,165984.00,0.00,0.00,0.00,2,34856.64,200840.64,'2022-08-30 15:21:09','2022-08-30 15:21:09','0001',NULL),(12,5563,12,'Ejes con material',20.00,'8',2500.00,50000.00,0.00,0.00,0.00,2,10500.00,60500.00,'2022-08-31 10:21:40','2022-08-31 10:21:40','0002',NULL),(13,5563,12,'Roscas cónicas para reducción',2.00,'8',1000.00,2000.00,0.00,0.00,0.00,2,420.00,2420.00,'2022-08-31 10:21:40','2022-08-31 10:21:40','0003',NULL),(36,5563,36,'AR 40    98FA1002964   CUNAS CARROSADO MOTOR TT\nNOTA DE PEDIDO 81018093\nNRO. ACTIVO FIJO: 10060374\nPROVEEDOR Nº: A00MNI 01\nTIPO DE CAMBIO: 1 USD = 138.73 PESOS ARGENTINOS DOLAR DIVISA TIPO VENDEDOR BNA\n',0.50,'8',3816007.26,1908003.63,0.00,0.00,0.00,2,400680.76,2308684.39,'2022-09-01 17:57:04','2022-09-01 17:57:04','0010',NULL),(37,5563,37,'AR 40 98FA1002964 CUNAS\nCARROSADO MOTOR TT NOTA DE\nPEDIDO 81018093 NRO. ACTIVO\nFIJO: 10060374 PROVEEDOR Nº:\nA00MNI 01 TIPO DE CAMBIO: 1 USD\n= 140.28 PESOS ARGENTINOS\nDOLAR DIVISA TIPO VENDEDOR\nBNA',0.35,'8',3858642.68,1350524.94,0.00,0.00,0.00,2,283610.24,1634135.18,'2022-09-06 11:01:19','2022-09-06 11:01:19','0010',NULL),(38,5563,38,'Correr división metálica para agrandar el sector de producción',0.40,'8',2096624.88,838649.95,0.00,0.00,0.00,2,176116.49,1014766.44,'2022-09-06 15:10:35','2022-09-06 15:10:35','0001',NULL),(39,5563,38,'Instalación eléctrica Gral.\nTIPO DE CAMBIO: 1 USD\n= 140.28 PESOS ARGENTINOS\nDOLAR DIVISA TIPO VENDEDOR BNA',0.40,'8',2407204.80,962881.92,0.00,0.00,0.00,2,202205.20,1165087.12,'2022-09-06 15:10:35','2022-09-06 15:10:35','0002',NULL),(40,5563,39,'Correr división metálica para agrandar el sector de producción',0.40,'8',2096624.88,838649.95,0.00,0.00,0.00,2,176116.49,1014766.44,'2022-09-06 16:05:53','2022-09-06 16:05:53','0001',NULL),(41,5563,39,'Instalación eléctrica Gral. TIPO DE CAMBIO: 1 USD = 140.28 PESOS ARGENTINOS DOLAR DIVISA TIPO VENDEDOR BNA',0.40,'8',2407204.80,962881.92,0.00,0.00,0.00,2,202205.20,1165087.12,'2022-09-06 16:05:53','2022-09-06 16:05:53','0002',NULL),(42,5563,40,'Correr división metálica para agrandar el sector de producción TIPO DE\nCAMBIO: 1 USD = 140.28 PESOS\nARGENTINOS DOLAR DIVISA TIPO\nVENDEDOR BNA',0.40,'8',2096624.88,838649.95,0.00,0.00,0.00,2,176116.49,1014766.44,'2022-09-06 16:08:00','2022-09-06 16:08:00','0001',NULL),(43,5563,41,'Instalación eléctrica Gral. TIPO DE CAMBIO: 1 USD = 140.28 PESOS\nARGENTINOS DOLAR DIVISA TIPO\nVENDEDOR BNA',0.40,'8',2407204.80,962881.92,0.00,0.00,0.00,2,202205.20,1165087.12,'2022-09-06 16:10:29','2022-09-06 16:10:29','0002',NULL),(44,5563,42,'Tacos de poliuretano dureza 95 shore\nTIPO DE CAMBIO: 1 USD\n= 148.75 PESOS ARGENTINOS.\nDOLAR OFICIAL TIPO VENDEDOR BNA ',10.00,'8',11900.00,119000.00,0.00,0.00,0.00,2,24990.00,143990.00,'2022-09-13 11:14:16','2022-09-13 11:14:16','TP095S',NULL),(45,5563,43,'CORTE LASER Y PLEGADO DE CHAPA PARA CAJA ELECTRICA\n1 USD = 149 PESOS\nARGENTINOS DOLAR OFICIAL TIPO\nVENDEDOR BNA',1.00,'8',22350.00,22350.00,0.00,0.00,0.00,7,0.00,22350.00,'2022-09-16 11:48:55','2022-09-16 11:48:55','0004',NULL),(46,5563,44,'CORTE LASER Y PLEGADO DE CHAPA PARA CAJA ELECTRICA 1 USD = 149 PESOS ARGENTINOS DOLAR OFICIAL TIPO VENDEDOR BNA',1.00,'8',22350.00,22350.00,0.00,0.00,0.00,7,0.00,22350.00,'2022-09-16 11:51:54','2022-09-16 11:51:54','001',NULL),(47,5563,45,'CORTE LASER Y PLEGADO DE CHAPA PARA CAJA ELECTRICA \n1 USD = 149 PESOS ARGENTINOS DOLAR OFICIAL TIPO VENDEDOR BNA',1.00,'8',22350.00,22350.00,0.00,0.00,0.00,2,4693.50,27043.50,'2022-09-16 11:53:31','2022-09-16 11:53:31','00010',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (48,5563,46,'Extractores para laboratorio \n1 USD = 145.16 TIPO DE CAMBIO DOLAR DIVISA VENDEDOR',0.70,'8',580640.00,406448.00,0.00,0.00,0.00,2,85354.08,491802.08,'2022-09-23 10:40:26','2022-09-23 10:40:26','0001',NULL),(49,5563,47,'Anticipo apoyos de poliuretano para racks.',1.00,'8',250000.00,250000.00,0.00,0.00,0.00,2,52500.00,302500.00,'2022-09-23 14:29:48','2022-09-23 14:29:48','00001',NULL),(50,5563,48,'AR40 98FA1002740 Mesa De Transfe. Estructuras Soportes',0.35,'8',667035.00,233462.25,0.00,0.00,0.00,2,49027.07,282489.32,'2022-10-04 09:50:39','2022-10-04 09:50:39','001',NULL),(51,5563,48,'AR40 98FA1011264 Cuna captor etanol',0.35,'8',667035.00,233462.25,0.00,0.00,0.00,2,49027.07,282489.32,'2022-10-04 09:50:39','2022-10-04 09:50:39','002',NULL),(52,5563,48,'AR40 98FA1004905 Carro Abastecimiento en BdL',1.05,'8',207522.00,217898.10,0.00,0.00,0.00,2,45758.60,263656.70,'2022-10-04 09:50:39','2022-10-04 09:50:39','003',NULL),(53,5563,48,'AR40 98FA1010680 DISPOSITIVO DE FIJACION',1.05,'8',74115.00,77820.75,0.00,0.00,0.00,2,16342.36,94163.11,'2022-10-04 09:50:39','2022-10-04 09:50:39','004',NULL),(54,5563,48,'AR40 98FA1002740 Mesa De Transfe. Estructuras Soportes\nNRO.NOTA DE PEDIDO: 81018102\nNRO.ACTIVO FIJO: 000010062718\nPROVEEDOR Nº:\nA00MNI 01 \nTIPO DE CAMBIO: 1 USD = 148.23 PESOS ARGENTINOS DOLAR DIVISA TIPO VENDEDOR\nBNA',0.35,'8',696681.00,243838.35,0.00,0.00,0.00,2,51206.05,295044.40,'2022-10-04 09:50:39','2022-10-04 09:50:39','005',NULL),(55,5563,49,'Reparación roldana tiende cable, con materiales.',1.00,'8',12000.00,12000.00,0.00,0.00,0.00,2,2520.00,14520.00,'2022-10-11 10:06:10','2022-10-11 10:06:10','0001',NULL),(56,5563,50,'Aislación techo deposito',0.40,'8',2565000.00,1026000.00,0.00,0.00,0.00,2,215460.00,1241460.00,'2022-10-14 19:04:00','2022-10-14 19:04:00','0001',NULL),(57,5563,51,'Portón nuevo y paño fijo',0.40,'8',445000.00,178000.00,0.00,0.00,0.00,2,37380.00,215380.00,'2022-10-14 19:05:18','2022-10-14 19:05:18','0002',NULL),(58,5563,52,'Cambio de placas en policarbonato. 14 unidades de Placas de policarbonato compacto cristal 4mm',0.40,'8',648000.00,259200.00,0.00,0.00,0.00,2,54432.00,313632.00,'2022-10-14 19:08:21','2022-10-14 19:08:21','0003',NULL),(59,5563,52,'Cambio de placas en policarbonato: 14 unidades de Placas de policarbonato compacto cristal 3mm',0.40,'8',396000.00,158400.00,0.00,0.00,0.00,2,33264.00,191664.00,'2022-10-14 19:08:21','2022-10-14 19:08:21','0004',NULL),(60,5563,53,'Correr división metálica para agrandar el sector de producción \nTIPO DE CAMBIO: 1 USD = 157.25 PESOS ARGENTINOS DOLAR OFICIAL TIPO VENDEDOR BNA',0.30,'8',2350258.50,705077.55,0.00,0.00,0.00,2,148066.29,853143.84,'2022-10-14 19:27:05','2022-10-14 19:27:05','0001',NULL),(61,5563,54,'Aislación techo deposito',0.40,'8',2565000.00,1026000.00,0.00,0.00,0.00,2,215460.00,1241460.00,'2022-10-14 19:32:43','2022-10-14 19:32:43','0001',NULL),(62,5563,55,'Aislación techo deposito',0.40,'8',2650000.00,1060000.00,0.00,0.00,0.00,2,222600.00,1282600.00,'2022-10-14 19:33:53','2022-10-14 19:33:53','0001',NULL),(63,5563,56,'Aislación techo deposito',0.40,'8',2650000.00,1060000.00,0.00,0.00,0.00,2,222600.00,1282600.00,'2022-10-14 19:39:22','2022-10-14 19:39:22','0001',NULL),(64,5563,57,'Saldo restante de 64 Apoyos de poliuretano caja rack de Ford  + 12\nApoyo de poliuretano cabina racks de Ford (precio unitario $8050+iva).',1.00,'8',361800.00,361800.00,0.00,0.00,0.00,2,75978.00,437778.00,'2022-10-17 13:16:14','2022-10-17 13:16:14','0001',NULL),(65,5563,58,'Mecanizado y reparación piezas varias',1.00,'8',8000.00,8000.00,0.00,0.00,0.00,2,1680.00,9680.00,'2022-10-17 20:00:31','2022-10-17 20:00:31','0001',NULL),(66,5563,59,'Apoyo Rack FORD Lateral derecho - izquierdo: cantidad 256. Precio por unidad $6670 + IVA\n(40% Anticipo)',0.40,'8',1707520.00,683008.00,0.00,0.00,0.00,2,143431.68,826439.68,'2022-11-01 10:25:58','2022-11-01 10:25:58','ARF-0001',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (67,5563,60,'Rack Toyota Guardabarros 640x120x20',14.00,'8',7500.00,105000.00,0.00,0.00,0.00,2,22050.00,127050.00,'2022-11-01 10:47:45','2022-11-01 10:47:45','RTGB0001',NULL),(68,5563,60,'Apoyo Intermedio',49.00,'8',750.00,36750.00,0.00,0.00,0.00,2,7717.50,44467.50,'2022-11-01 10:47:45','2022-11-01 10:47:45','RTGB0002',NULL),(69,5563,60,'Apoyo Lateral Izquierdo',21.00,'8',750.00,15750.00,0.00,0.00,0.00,2,3307.50,19057.50,'2022-11-01 10:47:45','2022-11-01 10:47:45','RTGB0003',NULL),(70,5563,60,'Apoyo Lateral Derecho',28.00,'8',750.00,21000.00,0.00,0.00,0.00,2,4410.00,25410.00,'2022-11-01 10:47:45','2022-11-01 10:47:45','RTGB0004',NULL),(71,5563,61,'RACK TOYOTA LATERAL 1400X65X20',24.00,'8',13200.00,316800.00,0.00,0.00,0.00,2,66528.00,383328.00,'2022-11-01 10:55:38','2022-11-01 10:55:38','RTL0001',NULL),(72,5563,61,'APOYO DOBLE',72.00,'8',1680.00,120960.00,0.00,0.00,0.00,2,25401.60,146361.60,'2022-11-01 10:55:38','2022-11-01 10:55:38','RTL0002',NULL),(73,5563,61,'APOYO SIMPLE',16.00,'8',750.00,12000.00,0.00,0.00,0.00,2,2520.00,14520.00,'2022-11-01 10:55:38','2022-11-01 10:55:38','RTL0003',NULL),(74,5563,62,'Provisión de Materiales y Mano de Obra para\nConstrucción de 11 (Once) Escaleras\nRebatibles según plano de ingeniería\nConstructiva: ESCALERAS CARGADEROS\nCC1 y CC2. TIPO DE\nCAMBIO: 1 USD = 162.50 PESOS\nARGENTINOS. DOLAR BILLETE TIPO\nVENDEDOR BNA',0.50,'8',3090587.50,1545293.75,0.00,0.00,0.00,2,324511.69,1869805.44,'2022-11-01 11:33:19','2022-11-01 11:33:19','EC0001',NULL),(75,5563,63,'Cambio de placas en policarbonato. 14\nunidades de Placas de policarbonato\ncompacto cristal 4mm',0.60,'8',648000.00,388800.00,0.00,0.00,0.00,2,81648.00,470448.00,'2022-11-02 14:39:51','2022-11-02 14:39:51','0003',NULL),(76,5563,63,'Cambio de placas en policarbonato: 14\nunidades de Placas de policarbonato\ncompacto cristal 3mm',0.60,'8',396000.00,237600.00,0.00,0.00,0.00,2,49896.00,287496.00,'2022-11-02 14:39:51','2022-11-02 14:39:51','0004',NULL),(77,5563,64,'Portón nuevo y paño fijo',0.60,'8',445000.00,267000.00,0.00,0.00,0.00,2,56070.00,323070.00,'2022-11-02 14:42:36','2022-11-02 14:42:36','0002',NULL),(78,5563,65,'50 Rodillos Reengomados ',0.50,'8',375000.00,187500.00,0.00,0.00,0.00,2,39375.00,226875.00,'2022-11-02 17:26:19','2022-11-02 17:26:19','RRE0001',NULL),(79,5563,66,'Asistencia Técnica y Mantenimiento (horas)',100.00,'8',1700.00,170000.00,0.00,0.00,0.00,2,35700.00,205700.00,'2022-11-03 17:52:08','2022-11-03 17:52:08','ATM0001',NULL),(80,5563,67,'Rack Toyota Lateral',6.00,'8',7200.00,43200.00,0.00,0.00,0.00,2,9072.00,52272.00,'2022-11-11 12:56:31','2022-11-11 12:56:31','RTL0001',NULL),(81,5563,67,'APOYO LATERAL',144.00,'8',750.00,108000.00,0.00,0.00,0.00,2,22680.00,130680.00,'2022-11-11 12:56:31','2022-11-11 12:56:31','RTL0003',NULL),(82,5563,68,'68 PIEZAS LATERAL (RACK FORD)',0.50,'8',516800.00,258400.00,0.00,0.00,0.00,2,54264.00,312664.00,'2022-11-11 13:00:29','2022-11-11 13:00:29','RFL0001',NULL),(83,5563,68,'68 PIEZAS BASE (RACK FORD)',0.50,'8',503200.00,251600.00,0.00,0.00,0.00,2,52836.00,304436.00,'2022-11-11 13:00:29','2022-11-11 13:00:29','RFL0002',NULL),(84,5563,69,'Rodillos de Poliuretano  \n(50% anticipo de la OC) \nTIPO DE CAMBIO: 1 USD = 169.25 PESOS ARGENTINOS - DOLAR OFICIAL TIPO VENDEDOR BNA\n',60.00,'8',24710.50,1482630.00,0.00,0.00,0.00,2,311352.30,1793982.30,'2022-11-17 23:33:32','2022-11-17 23:33:32','RP0001',NULL),(85,5563,70,'1 RUEDA 200MM SEGÚN PLANO FMR 6726-A3\n\n\nTIPO DE CAMBIO: 1 USD =\n170.25 PESOS ARGENTINOS -\nDOLAR OFICIAL TIPO VENDEDOR\nBNA\nOC: 20221109.0\nSOLICITANTE: BARBARA FIGURA',1.00,'8',24856.50,24856.50,0.00,0.00,0.00,2,5219.86,30076.36,'2022-11-23 11:10:39','2022-11-23 11:10:39','RSP001',NULL),(86,5563,71,'Tacos de poliuretano con chapa metálica.\n\nTIPO DE CAMBIO: 1 USD =\n170.25 PESOS ARGENTINOS -\nDOLAR OFICIAL TIPO VENDEDOR\nBNA',8.00,'8',40860.00,326880.00,0.00,0.00,0.00,2,68644.80,395524.80,'2022-11-23 11:24:15','2022-11-23 11:24:15','TPCM0001',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (87,5563,72,'50 Rodillos Reengomados\n(saldo 50% restante de la OC).',0.50,'8',375000.00,187500.00,0.00,0.00,0.00,2,39375.00,226875.00,'2022-12-01 15:18:33','2022-12-01 15:18:33','RRE0001',NULL),(88,5563,73,'Correr división metálica para agrandar el sector de producción TIPO DE CAMBIO: 1 USD = 174.25 PESOS ARGENTINOS DOLAR OFICIAL TIPO VENDEDOR BNA',0.30,'8',2604340.50,781302.15,0.00,0.00,0.00,2,164073.45,945375.60,'2022-12-05 13:23:09','2022-12-05 13:23:09','0001',NULL),(89,5563,74,'Correr división metálica para agrandar el sector de producción TIPO DE CAMBIO: 1 USD = 174.75 PESOS ARGENTINOS DOLAR OFICIAL TIPO VENDEDOR BNA',0.30,'8',2611813.50,783544.05,0.00,0.00,0.00,2,164544.25,948088.30,'2022-12-05 13:40:27','2022-12-05 13:40:27','0001',NULL),(90,5563,75,'Instalación eléctrica Gral. TIPO DE CAMBIO: 1 USD = 174.75 PESOS ARGENTINOS DOLAR OFICIAL TIPO VENDEDOR BNA',0.40,'8',2998710.00,1199484.00,0.00,0.00,0.00,2,251891.64,1451375.64,'2022-12-05 13:47:47','2022-12-05 13:47:47','0002',NULL),(91,5563,76,'Cañerías de aire comprimido y cañerías para red de agua. Mano de obra. \nTIPO DE CAMBIO: 1 USD = 174.75 PESOS ARGENTINOS DOLAR OFICIAL TIPO VENDEDOR BNA',1.00,'8',961125.00,961125.00,0.00,0.00,0.00,2,201836.25,1162961.25,'2022-12-05 13:58:21','2022-12-05 13:58:21','0005',NULL),(92,5563,77,'Correr división metálica para agrandar\nel sector de producción TIPO DE\nCAMBIO: 1 USD = 174.25 PESOS\nARGENTINOS DOLAR OFICIAL TIPO\nVENDEDOR BNA',0.30,'8',2604340.50,781302.15,0.00,0.00,0.00,2,164073.45,945375.60,'2022-12-05 14:03:21','2022-12-05 14:03:21','0001',NULL),(93,5563,78,'Eje para rodillos ',25.00,'8',2500.00,62500.00,0.00,0.00,0.00,2,13125.00,75625.00,'2022-12-05 14:21:08','2022-12-05 14:21:08','ER0001',NULL),(94,5563,78,'Mecanizado de tapas diámetro 260mm',20.00,'8',1500.00,30000.00,0.00,0.00,0.00,2,6300.00,36300.00,'2022-12-05 14:21:08','2022-12-05 14:21:08','MP0001',NULL),(95,5563,78,'Mecanizado tapas diámetro 180mm',8.00,'8',1300.00,10400.00,0.00,0.00,0.00,2,2184.00,12584.00,'2022-12-05 14:21:08','2022-12-05 14:21:08','MP0002',NULL),(96,5563,78,'Reparación y mecanizado de piezas. ',1.00,'8',30000.00,30000.00,0.00,0.00,0.00,2,6300.00,36300.00,'2022-12-05 14:21:08','2022-12-05 14:21:08','RMP0001',NULL),(97,5563,79,'Taco de empuje p/traba, clamp de Bolster, prensa\nDanly 2500. KANBAN 2/4.',2.00,'8',93924.04,187848.08,0.00,0.00,0.00,2,39448.10,227296.18,'2022-12-06 13:33:36','2022-12-06 13:33:36','NP12.03.0079',NULL),(98,5563,80,'Taco de empuje p/traba, clamp de Bolster, prensa\nDanly 2500. KANBAN 2/4.',2.00,'8',93924.04,187848.08,0.00,0.00,0.00,2,39448.10,227296.18,'2022-12-06 13:48:13','2022-12-06 13:48:13','NP12.03.0079',NULL),(99,5563,81,'Taco de empuje p/traba, clamp de Bolster, prensa\nDanly 2500. KANBAN 2/4.\nTIPO DE CAMBIO: 1 USD = 169.16 PESOS ARGENTINOS DOLAR DIVISA TIPO VENDEDOR BNA',2.00,'8',101834.32,203668.64,0.00,0.00,0.00,2,42770.41,246439.05,'2022-12-06 14:02:03','2022-12-06 14:02:03','NP12.03.0079',NULL),(100,5563,82,'Perno posicionador WSP G1 4.62*20',50.00,'8',3268.17,163408.50,0.00,0.00,0.00,2,34315.79,197724.29,'2022-12-06 14:24:44','2022-12-06 14:24:44','NP06.20.0231',NULL),(101,5563,82,'Perno Posicionador WSP B2 9,7*35 \nTIPO DE CAMBIO: 1 USD =\n169.16 PESOS ARGENTINOS DOLAR DIVISA TIPO VENDEDOR BNA',50.00,'8',3267.17,163358.50,0.00,0.00,0.00,2,34305.29,197663.79,'2022-12-06 14:24:44','2022-12-06 14:24:44','NP06.20.0258',NULL),(102,5563,83,'Apoyo Rack FORD Lateral derecho -\nizquierdo: cantidad 256. Precio por unidad $6670 + IVA (60% final contraentrega)',0.60,'8',1707520.00,1024512.00,0.00,0.00,0.00,2,215147.52,1239659.52,'2022-12-06 20:12:25','2022-12-06 20:12:25','ARF- 0001',NULL),(103,5563,84,'68 PIEZAS LATERAL (RACK FORD)',0.50,'8',516800.00,258400.00,0.00,0.00,0.00,2,54264.00,312664.00,'2022-12-06 20:34:34','2022-12-06 20:34:34','RFL0001',NULL),(104,5563,84,'68 PIEZAS BASE (RACK FORD)',0.50,'8',503200.00,251600.00,0.00,0.00,0.00,2,52836.00,304436.00,'2022-12-06 20:34:34','2022-12-06 20:34:34','RFL0002',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (105,5563,85,'Servicio de consultoria proceso productivo.\nTIPO DE CAMBIO: 1 USD =\n169.16 PESOS ARGENTINOS DOLAR DIVISA TIPO VENDEDOR BNA',1.00,'8',106266.31,106266.31,0.00,0.00,0.00,2,22315.93,128582.24,'2022-12-06 20:42:32','2022-12-06 20:42:32','309051',NULL),(106,5563,86,'Construcción y automatización de horno de \npintura Kit horno de curado\nANTICIPO DEL 25%',0.25,'8',13055604.38,3263901.10,0.00,0.00,0.00,2,685419.23,3949320.33,'2022-12-07 17:10:30','2022-12-07 17:10:30','309101',NULL),(107,5563,87,'Guía posterior de Aluminio diámetro 8 mm\n\nTIPO DE CAMBIO: 1 USD =\n172.39 PESOS ARGENTINOS DOLAR DIVISA TIPO VENDEDOR BNA',90.00,'8',2801.34,252120.60,0.00,0.00,0.00,2,52945.33,305065.93,'2022-12-17 14:38:50','2022-12-17 14:38:50','95676',NULL),(108,5563,88,'Placa ciega de 1 de espesor por 1516mm de largo y\n685mm de ancho (50% anticipo de OC).',1.00,'8',533820.00,533820.00,0.00,0.00,0.00,2,112102.20,645922.20,'2022-12-19 22:47:50','2022-12-19 22:47:50','95995',NULL),(109,5563,88,'Placa perforada de 1 de espesor por 1516mm de\nlargo y 685mm de ancho (50% anticipo de la OC)\nTIPO DE CAMBIO: 1 USD =\n173.60 PESOS ARGENTINOS DOLAR DIVISA TIPO VENDEDOR BNA',1.00,'8',513856.00,513856.00,0.00,0.00,0.00,2,107909.76,621765.76,'2022-12-19 22:47:50','2022-12-19 22:47:50','95996',NULL),(110,5563,89,'1 RUEDA 200MM SEGÚN PLANO FMR 6726-A3           \nTIPO DE CAMBIO: 1 USD = 180.50 PESOS ARGENTINOS DOLAR OFICIAL TIPO VENDEDOR BNA OC: 20221109.0 SOLICITANTE: BARBARA FIGURA',1.00,'8',26353.00,26353.00,0.00,0.00,0.00,2,5534.13,31887.13,'2022-12-21 16:07:44','2022-12-21 16:07:44','RSP001',NULL),(111,5563,90,'Peines para racks según muestra enviada por el cliente.\n\nValor unitario $12.500+iva\nEntregado según remito 00005-00029 el día 23/12\nForma de pago: de contado.',7.00,'8',12500.00,87500.00,0.00,0.00,0.00,2,18375.00,105875.00,'2022-12-26 11:39:22','2022-12-26 11:39:22','',NULL),(112,5563,91,'Construcción y automatización de horno de pintura Kit horno de curado\n30% INICIO DE OBRA',0.30,'8',13055604.38,3916681.31,0.00,0.00,0.00,2,822503.08,4739184.39,'2023-01-02 15:32:16','2023-01-02 15:32:16','309101',NULL),(113,5563,92,'Instalación eléctrica Gral. TIPO DE\nCAMBIO: 1 USD = 184.75 PESOS ARGENTINOS DOLAR OFICIAL TIPO\nVENDEDOR BNA',0.20,'8',3170310.00,634062.00,0.00,0.00,0.00,2,133153.02,767215.02,'2023-01-02 16:07:29','2023-01-02 16:07:29','0001',NULL),(114,5563,93,'Torres para Idel Station Según croquis',12.00,'8',34074.77,408897.24,0.00,0.00,0.00,2,85868.42,494765.66,'2023-01-02 16:38:00','2023-01-02 16:38:00','94072',NULL),(115,5563,94,'Vulcanizado Ruedas Diam. 200mm x alt. 80mm con Poliuretano color rojo.\nTIPO DE\nCAMBIO: 1 USD = 187.75 PESOS ARGENTINOS DOLAR OFICIAL TIPO\nVENDEDOR BNA',3.00,'8',18024.00,54072.00,0.00,0.00,0.00,2,11355.12,65427.12,'2023-01-13 12:23:37','2023-01-13 12:23:37','VR0001',NULL),(116,5563,95,'Soporte para RACK según muestra. TIPO DE\nCAMBIO: 1 USD = 187.75 PESOS ARGENTINOS DOLAR OFICIAL TIPO\nVENDEDOR BNA',144.00,'8',585.78,84352.32,0.00,0.00,0.00,2,17713.99,102066.31,'2023-01-13 12:29:01','2023-01-13 12:29:01','SR0001',NULL),(117,5563,96,'buje auto lubricado de 8 x 10 mm',100.00,'8',168.00,16800.00,0.00,0.00,0.00,2,3528.00,20328.00,'2023-01-18 14:30:26','2023-01-18 14:30:26','NP06.06.0076',NULL),(118,5563,97,'100 Rodillos de poliuretano con masa de acero, sin rodamiento ni seger. Diámetro 118xdiametro 90x 100mm largo \n50% de OC adelanto.\n\nprecio unitario USD 146\nTIPO DE CAMBIO: 1 Dólar Estadounidense = 183 pesos argentinos',0.50,'8',2671800.00,1335900.00,0.00,0.00,0.00,2,280539.00,1616439.00,'2023-01-19 12:17:09','2023-01-19 12:17:09','RPMA01',NULL),(119,5563,98,'Servicio de instalación de equipos',1.00,'8',532005.00,532005.00,0.00,0.00,0.00,2,111721.05,643726.05,'2023-01-23 13:25:11','2023-01-23 13:25:11','309058',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (120,5563,99,'TRABAJOS ADICIONALES OBRA NUEVO LAYOUT \nMano de obra \nCAMBIO: 1 USD = 191,25 PESOS ARGENTINOS DOLAR OFICIAL TIPO VENDEDOR BNA',1.00,'8',340807.50,340807.50,0.00,0.00,0.00,2,71569.57,412377.07,'2023-01-24 13:16:01','2023-01-24 13:16:01','MO0001',NULL),(121,5563,99,'Materiales para conexión de lava ojos, todo en Aqua System',1.00,'8',89000.00,89000.00,0.00,0.00,0.00,2,18690.00,107690.00,'2023-01-24 13:16:01','2023-01-24 13:16:01','MAT001',NULL),(122,5563,100,'Placa ciega de 1 de espesor por 1516mm de largo y 685mm de ancho\n(50% contraentrega).',1.00,'8',575916.75,575916.75,0.00,0.00,0.00,2,120942.52,696859.27,'2023-02-01 17:19:38','2023-02-01 17:19:38','95995',NULL),(123,5563,100,'Placa perforada de 1 de espesor por 1516mm de largo y 685mm de ancho\n(50% contraentrega OC) \nTIPO DE CAMBIO: 1 USD = 187.29 PESOS ARGENTINOS DOLAR DIVISA TIPO VENDEDOR BNA',1.00,'8',554378.40,554378.40,0.00,0.00,0.00,2,116419.46,670797.86,'2023-02-01 17:19:38','2023-02-01 17:19:38','95996',NULL),(124,5563,101,'FABRICACIÓN DE APOYOS PARA RACKS DE FORD 4 MODELOS x 1280 piezas.\nCAMBIO: 1 USD = 187.29 PESOS ARGENTINOS DOLAR DIVISA TIPO VENDEDOR BNA',0.50,'8',7875169.92,3937584.96,0.00,0.00,0.00,2,826892.84,4764477.80,'2023-02-01 17:37:37','2023-02-01 17:37:37','APRF001',NULL),(125,5563,102,'100 Rodillos de poliuretano con masa\nde acero, sin rodamiento ni seger.\nDiámetro 118xdiametro 90x 100mm\nlargo 50% de OC adelanto. precio\nunitario USD 146 TIPO DE CAMBIO: 1\nDólar Estadounidense = 183 pesos\nargentinos',0.50,'8',2671800.00,1335900.00,0.00,0.00,0.00,2,280539.00,1616439.00,'2023-02-07 21:04:54','2023-02-07 21:04:54','PRMA01',NULL),(126,5563,103,'CORTE LASER ACEROS - con 400 x 400 x 8',4.00,'8',12000.00,48000.00,0.00,0.00,0.00,2,10080.00,58080.00,'2023-02-07 21:42:10','2023-02-07 21:42:10','LCMACERO',NULL),(127,5563,104,'Reposicionar racks según nuevo lay out',1.00,'8',336300.00,336300.00,0.00,0.00,0.00,2,70623.00,406923.00,'2023-02-08 11:04:58','2023-02-08 11:04:58','PR0001',NULL),(128,5563,104,'adicional materiales y mano de obra para colocación de racks doble. ',1.00,'8',27000.00,27000.00,0.00,0.00,0.00,2,5670.00,32670.00,'2023-02-08 11:04:58','2023-02-08 11:04:58','AD0001',NULL),(129,5563,105,'Rodillos de Poliuretano\n(50% contraentrega de la OC)',60.00,'8',28871.50,1732290.00,0.00,0.00,0.00,2,363780.90,2096070.90,'2023-02-13 12:45:53','2023-02-13 12:45:53','RP0001',NULL),(130,5563,106,'Diferencia de tipo de cambio factura 0006-00000059',1.00,'8',1750.15,1750.15,0.00,0.00,0.00,2,367.53,2117.68,'2023-02-17 11:35:23','2023-02-17 11:35:23','00002',NULL),(131,5563,107,'Rodillo de poliuretano Diámetro 118xdiametro 90x 100mm largo (completos)',100.00,'8',26000.00,2600000.00,0.00,0.00,0.00,2,546000.00,3146000.00,'2023-03-01 17:44:07','2023-03-01 17:44:07','RP0001',NULL),(132,5563,108,'Taco de empuje p/traba, clamp de Bolster, prensa\nDanly 2500. KANBAN 2/4.\nTIPO DE CAMBIO: 1 USD = 208.25\nPESOS ARGENTINOS DOLAR\nDIVISA TIPO VENDEDOR BNA',4.00,'8',125366.50,501466.00,0.00,0.00,0.00,2,105307.86,606773.86,'2023-03-13 21:43:36','2023-03-13 21:43:36','NP12.03.0079',NULL),(133,5563,109,'Diferencia en tipo de cambio , sobre la factura 0006-00000065: DOLAR DIVISA Vendedor BNA 1 USD = 201.86 Pesos Argentinos',1.00,'8',15387.65,15387.65,0.00,0.00,0.00,2,3231.41,18619.06,'2023-03-20 11:59:49','2023-03-20 11:59:49','NP12.03.0079',NULL),(134,5563,110,'CONSTRUCCIÓN DE RACKS COMPLETOS.\n',40.00,'8',112500.00,4500000.00,0.00,0.00,0.00,2,945000.00,5445000.00,'2023-03-20 15:50:23','2023-03-20 15:50:23','RK0001',NULL),(135,5563,111,'FABRICACIÓN DE APOYOS PARA RACKS DE FORD 4 MODELOS x 1280\npiezas.\nCAMBIO: 1 USD = 204.53 PESOS ARGENTINOS DOLAR DIVISA TIPO\nVENDEDOR BNA',0.50,'8',8600077.44,4300038.72,0.00,0.00,0.00,2,903008.13,5203046.85,'2023-03-20 15:59:23','2023-03-20 15:59:23','APRF001',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (136,5563,112,'Holas de Servicio de Mantenimiento Eléctrico',196.00,'8',2200.00,431200.00,0.00,0.00,0.00,2,90552.00,521752.00,'2023-03-20 18:30:53','2023-03-20 18:30:53','MOSM01',NULL),(137,5563,113,'98FA1002740 Mesa De Transfe. Estructuras Soportes',0.45,'8',924210.00,415894.50,0.00,0.00,0.00,2,87337.85,503232.35,'2023-03-23 12:09:23','2023-03-23 12:09:23','00010 AR40',NULL),(138,5563,113,'98FA1011264 Cuna captor etanol',0.45,'8',924210.00,415894.50,0.00,0.00,0.00,2,87337.85,503232.35,'2023-03-23 12:09:23','2023-03-23 12:09:23','00020 AR40',NULL),(139,5563,113,'98FA1004905 Carro Abastecimiento en BdL',1.35,'8',287532.00,388168.20,0.00,0.00,0.00,2,81515.32,469683.52,'2023-03-23 12:09:23','2023-03-23 12:09:23','00030 AR40',NULL),(140,5563,113,'98FA1010680 DISPOSITIVO DE FIJACION',1.35,'8',102690.00,138631.50,0.00,0.00,0.00,2,29112.62,167744.12,'2023-03-23 12:09:23','2023-03-23 12:09:23','00040 AR40',NULL),(141,5563,113,'98FA1002740 Mesa De Transfe. Estructuras Soportes\nTIPO DE CAMBIO: 1 USD\n= 205.38 PESOS ARGENTINOS\nDOLAR DIVISA TIPO VENDEDOR\nBNA',0.45,'8',965286.00,434378.70,0.00,0.00,0.00,2,91219.53,525598.23,'2023-03-23 12:09:23','2023-03-23 12:09:23','00050 AR40',NULL),(142,5563,114,'Construcción y automatización de\nhorno de pintura Kit horno de curado -avance de obra',0.07,'8',13055604.38,878253.15,0.00,0.00,0.00,2,184433.16,1062686.31,'2023-03-23 12:52:43','2023-03-23 12:52:43','309101',NULL),(143,5563,115,'Ruedas diam. 200mm\nTipo de cambio 1 USD = 215,50 Pesos Argentinos\nDOLAR OFICIAL TIPO VENDEDOR\nBNA',3.00,'8',9697.50,29092.50,0.00,0.00,0.00,2,6109.43,35201.93,'2023-03-31 13:03:45','2023-03-31 13:03:45','R0200',NULL),(144,5563,116,'Perno Posicionador WSP A2 12,7*25 3003',50.00,'8',4038.07,201903.50,0.00,0.00,0.00,2,42399.74,244303.24,'2023-03-31 18:33:55','2023-03-31 18:33:55','NP06.20.0108',NULL),(145,5563,116,'Perno Posicionador WSP B2 9,7*25',50.00,'8',4038.07,201903.50,0.00,0.00,0.00,2,42399.74,244303.24,'2023-03-31 18:33:55','2023-03-31 18:33:55','NP06.20.0257',NULL),(146,5563,116,'Perno posicionador WSP A3 9,7*25',50.00,'8',4038.07,201903.50,0.00,0.00,0.00,2,42399.74,244303.24,'2023-03-31 18:33:55','2023-03-31 18:33:55','NP06.20.0249',NULL),(147,5563,116,'Perno Posicionador WSP A2 9,7*25',70.00,'8',4038.07,282664.90,0.00,0.00,0.00,2,59359.63,342024.53,'2023-03-31 18:33:55','2023-03-31 18:33:55','NP06.20.0106',NULL),(148,5563,116,'Perno Posicionador WSP A2 6,7*35\nTIPO DE CAMBIO: 1 USD = 209.01\nPESOS ARGENTINOS DOLAR DIVISA\nTIPO VENDEDOR BNA',50.00,'8',4025.53,201276.50,0.00,0.00,0.00,2,42268.07,243544.57,'2023-03-31 18:33:55','2023-03-31 18:33:55','NP06.20.0325',NULL),(149,5563,117,'CONSTRUCCIÓN DE RACKS\nCOMPLETOS.',10.00,'8',112500.00,1125000.00,0.00,0.00,0.00,2,236250.00,1361250.00,'2023-03-31 19:37:10','2023-03-31 19:37:10','RK0001',NULL),(151,5563,119,'CONJUNTO COMPENSADOR\nTIPO DE CAMBIO: 1 USD = 218.53 PESOS ARGENTINOS DOLAR DIVISA TIPO VENDEDOR BNA',10.00,'8',86319.35,863193.50,0.00,0.00,0.00,2,181270.64,1044464.14,'2023-04-24 09:16:52','2023-04-24 09:16:52','CC01',NULL),(152,5563,120,'Vástago de welding - Fabricación - Plano solicitar a\njefe de area\nTIPO DE CAMBIO: 1 USD =\n224.65 PESOS ARGENTINOS DOLAR DIVISA TIPO VENDEDOR BNA',4.00,'8',10109.25,40437.00,0.00,0.00,0.00,2,8491.77,48928.77,'2023-05-05 10:32:09','2023-05-05 10:32:09','97540',NULL),(153,5563,121,'Horas de Servicio de Mantenimiento\nEléctrico',76.00,'8',2200.00,167200.00,0.00,0.00,0.00,2,35112.00,202312.00,'2023-05-05 10:40:29','2023-05-05 10:40:29','MOSM01',NULL),(154,5563,122,'Apoyos de poliuretano para rack de Ford\nCAMBIO: 1 USD = 227.65 PESOS ARGENTINOS DOLAR DIVISA TIPO\nVENDEDOR BNA',800.00,'8',6601.85,5281480.00,0.00,0.00,0.00,2,1109110.80,6390590.80,'2023-05-09 11:45:46','2023-05-09 11:45:46','APRF001',NULL),(155,5563,123,'Paragolpe Trasero Original 500 Fiat \n',1.00,'8',157008.26,157008.26,0.00,0.00,0.00,2,32971.73,189979.99,'2023-05-17 13:37:25','2023-05-17 13:37:25','255545',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (156,5563,123,'Soporte Paragolpe Trasero Fiat 500 Sport Cult Lounge Original ',2.00,'8',15442.15,30884.30,0.00,0.00,0.00,2,6485.70,37370.00,'2023-05-17 13:37:25','2023-05-17 13:37:25','0053134',NULL),(157,5563,123,'Moldura Tapon Paragolpe trasero Fiat 500 Cult Original\n',2.00,'8',9090.91,18181.82,0.00,0.00,0.00,2,3818.18,22000.00,'2023-05-17 13:37:25','2023-05-17 13:37:25','2311450',NULL),(158,5563,123,'Espejo Retrovisor Fiat 500 Sport Cult Lounge Original \n',1.00,'8',125867.77,125867.77,0.00,0.00,0.00,2,26432.23,152300.00,'2023-05-17 13:37:25','2023-05-17 13:37:25','1',NULL),(159,5563,124,'Paragolpe Trasero Original 500 Fiat',1.00,'8',157008.26,157008.26,0.00,0.00,0.00,2,32971.73,189979.99,'2023-05-18 12:02:10','2023-05-18 12:02:10','255545',NULL),(160,5563,124,'Soporte Paragolpe Trasero Fiat 500 Sport Cult Lounge Original',2.00,'8',15442.15,30884.30,0.00,0.00,0.00,2,6485.70,37370.00,'2023-05-18 12:02:10','2023-05-18 12:02:10','0053134',NULL),(161,5563,124,'Moldura Tapon Paragolpe trasero Fiat 500 Cult Original',2.00,'8',9090.91,18181.82,0.00,0.00,0.00,2,3818.18,22000.00,'2023-05-18 12:02:10','2023-05-18 12:02:10','2311450',NULL),(162,5563,124,'Espejo Retrovisor Fiat 500 Sport Cult Lounge Original',1.00,'8',125867.77,125867.77,0.00,0.00,0.00,2,26432.23,152300.00,'2023-05-18 12:02:10','2023-05-18 12:02:10','1',NULL),(165,5563,127,'REPUESTOS VARIOS - SEGUN PRESUPUESTO 0006-00003324 ',1.00,'8',331942.15,331942.15,0.00,0.00,0.00,2,69707.85,401650.00,'2023-05-18 12:37:37','2023-05-18 12:37:37','3324',NULL),(166,5563,128,'AR40 98FA1002740 Mesa De Transfe. Estructuras Soportes',0.20,'8',1038150.00,207630.00,0.00,0.00,0.00,2,43602.30,251232.30,'2023-05-18 14:28:10','2023-05-18 14:28:10','001',NULL),(167,5563,128,'AR40 98FA1011264 Cuna captor etanol',0.20,'8',1038150.00,207630.00,0.00,0.00,0.00,2,43602.30,251232.30,'2023-05-18 14:28:10','2023-05-18 14:28:10','002',NULL),(168,5563,128,'AR40 98FA1004905 Carro\nAbastecimiento en BdL',0.60,'8',322980.00,193788.00,0.00,0.00,0.00,2,40695.48,234483.48,'2023-05-18 14:28:10','2023-05-18 14:28:10','003',NULL),(169,5563,128,'AR40 98FA1010680 DISPOSITIVO DE\nFIJACION',0.60,'8',115350.00,69210.00,0.00,0.00,0.00,2,14534.10,83744.10,'2023-05-18 14:28:10','2023-05-18 14:28:10','004',NULL),(170,5563,128,'AR40 98FA1002740 Mesa De Transfe. Estructuras Soportes',0.20,'8',1084290.00,216858.00,0.00,0.00,0.00,2,45540.18,262398.18,'2023-05-18 14:28:10','2023-05-18 14:28:10','005',NULL),(172,5563,130,'REPUESTOS VARIOS - SEGUN PRESUPUESTO 0006-00003324',1.00,'8',331942.15,331942.15,0.00,0.00,0.00,2,69707.85,401650.00,'2023-05-30 21:52:18','2023-05-30 21:52:18','3324',NULL),(173,5563,131,'Rodillo de poliuretano Diámetro\n118xdiametro 90x 100mm largo (completos)',100.00,'8',26000.00,2600000.00,0.00,0.00,0.00,2,546000.00,3146000.00,'2023-06-05 15:15:52','2023-06-05 15:15:52','RP0001',NULL),(174,5563,132,'Ruedas vulcanizada color amarillo diámetro 61mm x 30mm alto',12.00,'8',7112.00,85344.00,0.00,0.00,0.00,2,17922.24,103266.24,'2023-06-09 11:34:49','2023-06-09 11:34:49','RVA06130',NULL),(175,5563,133,'Construcción y automatización de\nhorno de pintura Kit horno de curado - avance de obra',0.38,'8',13055604.38,4996768.82,0.00,0.00,0.00,2,1049321.45,6046090.27,'2023-06-15 12:36:54','2023-06-15 12:36:54','309101',NULL),(176,5563,134,'Montaje de Horno electrico: desmontaje de horno usado y montaje de horno nuevo.',1.00,'8',600000.00,600000.00,0.00,0.00,0.00,2,126000.00,726000.00,'2023-06-15 18:47:00','2023-06-15 18:47:00','MHR01',NULL),(177,5563,135,'Provisión e instalación de un aparato de izar en el puesto carga de presurizador maquina B-3, que consta de un perfil U o I montado como viga sobre la pared, y un carro con malacate eléctrico de 50 Kg',1.00,'8',89000.00,89000.00,0.00,0.00,0.00,2,18690.00,107690.00,'2023-06-16 15:12:59','2023-06-16 15:12:59','0001',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (178,5563,135,'Quitar el caño de aire comprimido que baja del cielo raso y que se encuentra torcido  ubicado en cercanía a la máquina Promaq. (Importante; Para hacer este trabajo se deberá cerrar aguas arriba la válvula de corte más cercana), desplazar el caño de aire que conecta actualmente a la máquina Promaq junto con los filtros de aire para que la bajada quede pegada a la máquina y los filtros queden debajo de la carga de cartones',1.00,'8',114000.00,114000.00,0.00,0.00,0.00,2,23940.00,137940.00,'2023-06-16 15:12:59','2023-06-16 15:12:59','0002',NULL),(179,5563,135,'Retirar instalaciones electricas aéreas viejas hechas con caño negro para red de alimentación de máquinas que se encuentra en el sector producción. ',1.00,'8',165000.00,165000.00,0.00,0.00,0.00,2,34650.00,199650.00,'2023-06-16 15:12:59','2023-06-16 15:12:59','0004',NULL),(180,5563,135,'Provisión de apoya pie para los puestos Promaq y Cam - Construcción con material metálico y patas con regatones o goma para no rayar el piso. ',4.00,'8',38000.00,152000.00,0.00,0.00,0.00,2,31920.00,183920.00,'2023-06-16 15:12:59','2023-06-16 15:12:59','0005',NULL),(181,5563,135,'Fabricar e instalar paragolpe para ubicar al frente y lateral de la cámara de frío.',1.00,'8',86000.00,86000.00,0.00,0.00,0.00,2,18060.00,104060.00,'2023-06-16 15:12:59','2023-06-16 15:12:59','0006',NULL),(182,5563,135,'ADICIONAL: Reparacion cilindros hidraulico ',1.00,'8',15000.00,15000.00,0.00,0.00,0.00,2,3150.00,18150.00,'2023-06-16 15:12:59','2023-06-16 15:12:59','AD001',NULL),(183,5563,135,'ADICIONAL: Carro de traslado para montacarga\n',1.00,'8',25000.00,25000.00,0.00,0.00,0.00,2,5250.00,30250.00,'2023-06-16 15:12:59','2023-06-16 15:12:59','AD002',NULL),(184,5563,136,'98FA1002324 Construccion de gancheras mecanicas \n(ganchera mecanicas para tren arrier)',0.30,'8',4055860.00,1216758.00,0.00,0.00,0.00,2,255519.18,1472277.18,'2023-07-03 12:22:05','2023-07-03 12:22:05','00020',NULL),(185,5563,136,'98FA1002324 Construccion de gancheras mecanicas\n(Gancheras para motor EB2 Retrofit + caja manual)',0.30,'8',522107.26,156632.18,0.00,0.00,0.00,2,32892.76,189524.94,'2023-07-03 12:22:05','2023-07-03 12:22:05','00010',NULL),(186,5563,137,'Reparaciones Varias: Mano de obra y materiales para reparación de puerta Horno de Cataforesis.',1.00,'8',459900.00,459900.00,0.00,0.00,0.00,2,96579.00,556479.00,'2023-07-03 13:07:07','2023-07-03 13:07:07','111046',NULL),(187,5563,138,'MATERIALES SOLICITADOS: \nA_ RUEDAS. DIAM 100mm x 50mm\n      material : poliureatno \n      cantidad: 4( cuatro)\n\nB- ejes diam 5/8 x 300mm ( roscados).\n      material: acero 1010\n      cantidad: 2(dos)\n\nC- Bujes diam 45mmx34mmx25mm\n      material: acero 1010\n      cantidad: 4( cuatro)\n  \nD- ejes diam 33mmx300mm\n      material: acero1010\n       cantidad: 4(cuatro)\n',1.00,'8',97000.00,97000.00,0.00,0.00,0.00,2,20370.00,117370.00,'2023-07-03 13:26:44','2023-07-03 13:26:44','1',NULL),(188,5563,139,'A- buje de acero (1045), diam 150mmx160mm x 80mm',6.00,'8',45000.00,270000.00,0.00,0.00,0.00,2,56700.00,326700.00,'2023-07-07 13:52:28','2023-07-07 13:52:28','BA1045',NULL),(189,5563,140,'CAMAS Y PLANCHUELAS DE HIERRO RECUBIERTAS EN POLIURETANO DE ALTA PERFORMANCE DUREZA  90 SHORE A',1.00,'8',306000.00,306000.00,0.00,0.00,0.00,2,64260.00,370260.00,'2023-07-07 13:59:55','2023-07-07 13:59:55','RP0001',NULL),(190,5563,141,'REENGOMADO DE RODILLO DIAMETRO 130X150MM EN POLIURETANO 90 SHORE A  ALTA PERFORMANCE.\n',1.00,'8',12000.00,12000.00,0.00,0.00,0.00,2,2520.00,14520.00,'2023-07-07 14:05:38','2023-07-07 14:05:38','RE001',NULL),(191,5563,142,'ATRIL PARA TAREAS DE PRODUCCION\n',7.00,'8',68400.00,478800.00,0.00,0.00,0.00,2,100548.00,579348.00,'2023-07-10 16:51:49','2023-07-10 16:51:49','ATR0001',NULL),(192,5563,143,'ATRIL PARA TAREAS DE\nPRODUCCION',12.00,'8',68400.00,820800.00,0.00,0.00,0.00,2,172368.00,993168.00,'2023-07-25 10:05:46','2023-07-25 10:05:46','ATR0001',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (193,5563,144,'Planchas de 25x10x1000mm \n',5.00,'8',9000.00,45000.00,0.00,0.00,0.00,2,9450.00,54450.00,'2023-08-25 16:16:59','2023-08-25 16:16:59','PL0001',NULL),(194,5563,145,'MECANIZADO DE PIEZAS EN GRILON: Plano TASA QTR AUTOM- JIG 002 – 02.4',8.00,'8',20833.50,166668.00,0.00,0.00,0.00,2,35000.28,201668.28,'2023-08-31 11:54:06','2023-08-31 11:54:06','MPG0001',NULL),(195,5563,145,'MECANIZADO DE PIEZAS EN GRILON: Plano TASA QTR AUTOM- JIG 002 – 02.5.1 Pos 1',8.00,'8',17726.75,141814.00,0.00,0.00,0.00,2,29780.94,171594.94,'2023-08-31 11:54:06','2023-08-31 11:54:06','MPG0002',NULL),(196,5563,146,'Tacos de Poliuretano color Rojo 60x40x80',1.00,'8',4995.00,4995.00,0.00,0.00,0.00,2,1048.95,6043.95,'2023-09-11 16:14:55','2023-09-11 16:14:55','TPR001',NULL),(197,5563,146,'Tacos de Poliuretano color Rojo 60x40x340 ',1.00,'8',16650.00,16650.00,0.00,0.00,0.00,2,3496.50,20146.50,'2023-09-11 16:14:55','2023-09-11 16:14:55','TPR002',NULL),(198,5563,146,'Tacos de Poliuretano color Rojo 60x40x110',1.00,'8',6660.00,6660.00,0.00,0.00,0.00,2,1398.60,8058.60,'2023-09-11 16:14:55','2023-09-11 16:14:55','TPR003',NULL),(199,5563,146,'Tacos de Poliuretano color Rojo 30x45x26',2.00,'8',8325.00,16650.00,0.00,0.00,0.00,2,3496.50,20146.50,'2023-09-11 16:14:55','2023-09-11 16:14:55','TPR004',NULL),(200,5563,146,'Tacos de Poliuretano color Rojo 110x70x40',1.00,'8',6500.00,6500.00,0.00,0.00,0.00,2,1365.00,7865.00,'2023-09-11 16:14:55','2023-09-11 16:14:55','TPR005',NULL),(201,5563,147,'MALACATE ELECTRICO 100/200KG PARA CARGA DE BIDONES',1.00,'8',175440.00,175440.00,0.00,0.00,0.00,2,36842.40,212282.40,'2023-09-13 09:34:37','2023-09-13 09:34:37','MLKE100/200',NULL),(202,5563,148,'Rueda.\nDiam180xdiam 140 x50mm altura.\n',9.00,'8',13523.50,121711.50,0.00,0.00,0.00,2,25559.42,147270.92,'2023-09-26 14:53:12','2023-09-26 14:53:12','R18050',NULL),(203,5563,149,'Servicio de terceros',0.35,'8',1214132.00,424946.20,0.00,0.00,0.00,2,89238.70,514184.90,'2023-09-29 10:51:28','2023-09-29 10:51:28','111095',NULL),(204,5563,150,'Anticipo por Tacos de arrastre',1.00,'8',300000.00,300000.00,0.00,0.00,0.00,2,63000.00,363000.00,'2023-10-04 10:19:54','2023-10-04 10:19:54','TR0001',NULL),(205,5563,151,'PLATAFORMA PARA TOMA DE MUESTRA EN CHIMENEAS',1.00,'8',2339992.00,2339992.00,0.00,0.00,0.00,2,491398.32,2831390.32,'2023-10-19 13:29:21','2023-10-19 13:29:21','PF0001',NULL),(206,5563,152,'PLATAFORMA PARA TOMA DE MUESTRA EN CHIMENEAS',1.00,'8',1403995.20,1403995.20,0.00,0.00,0.00,2,294838.99,1698834.19,'2023-10-20 16:51:16','2023-10-20 16:51:16','PF0001',NULL),(213,5563,159,'Carro balancela de puertas',0.30,'8',34505070.00,10351521.00,0.00,0.00,0.00,2,2173819.41,12525340.41,'2023-10-23 16:44:28','2023-10-23 16:44:28','98FA2000395',NULL),(214,5563,160,'Cunas carrozado motor TT',0.15,'8',9627352.00,1444102.80,0.00,0.00,0.00,2,303261.59,1747364.39,'2023-11-01 11:20:55','2023-11-01 11:20:55','98FA1002964',NULL),(215,5563,161,'Tareas de Mantenimiento - Etapa 2\nAnticipo y avance de obra',1.00,'8',300000.00,300000.00,0.00,0.00,0.00,2,63000.00,363000.00,'2023-11-01 15:13:25','2023-11-01 15:13:25','OTME2',NULL),(216,5563,162,'PLATAFORMA PARA TOMA DE MUESTRA EN CHIMENEAS x 4',0.60,'8',9359968.00,5615980.80,0.00,0.00,0.00,2,1179355.97,6795336.77,'2023-11-01 15:27:48','2023-11-01 15:27:48','PF0001',NULL),(217,5563,163,'Perno Posicionador WSP B2 12,7*35',20.00,'8',9239.14,184782.80,0.00,0.00,0.00,2,38804.39,223587.19,'2023-11-06 10:33:13','2023-11-06 10:33:13','102308',NULL),(218,5563,163,'Perno Posicionado WSP SA2 4.7 largo 42',20.00,'8',9239.14,184782.80,0.00,0.00,0.00,2,38804.39,223587.19,'2023-11-06 10:33:13','2023-11-06 10:33:13','102309',NULL),(219,5563,164,'Fabricar protecciones antichoque en lateral nave productiva lado deposito\n',1.00,'8',210000.00,210000.00,0.00,0.00,0.00,2,44100.00,254100.00,'2023-11-13 11:28:38','2023-11-13 11:28:38','01',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (220,5563,164,'Fabricar 18 estantes según las medidas tomadas ( pueden ser de chapa ), para cubrir la parte baja de los atriles que ya fueron construídos, y puedan ser utilizados para apoyar otras cosas como cajas',6.00,'8',62000.00,372000.00,0.00,0.00,0.00,2,78120.00,450120.00,'2023-11-13 11:28:38','2023-11-13 11:28:38','02',NULL),(221,5563,164,'Fabricar 18 estantes según las medidas tomadas ( pueden ser de chapa ), para cubrir la parte baja de los atriles que ya fueron construídos, y puedan ser utilizados para apoyar otras cosas como cajas',18.00,'8',27000.00,486000.00,0.00,0.00,0.00,2,102060.00,588060.00,'2023-11-13 11:28:38','2023-11-13 11:28:38','03',NULL),(222,5563,164,'Fabricar un atril alto, con las medidas tomadas en planta, para la descarga de pomos de la máquina TEMA ',1.00,'8',123000.00,123000.00,0.00,0.00,0.00,2,25830.00,148830.00,'2023-11-13 11:28:38','2023-11-13 11:28:38','04',NULL),(223,5563,164,'Reformar carro porta tambor, cortar ángulo y parte de uñas que sobresalen en el frente, fijar uñas al dispositivo en nueva posición con tornillos y soldadura',1.00,'8',75000.00,75000.00,0.00,0.00,0.00,2,15750.00,90750.00,'2023-11-13 11:28:38','2023-11-13 11:28:38','05',NULL),(224,5563,164,'Colocar protección acrilica posterior, zona placa de sellado en emblistadora ZED',1.00,'8',38000.00,38000.00,0.00,0.00,0.00,2,7980.00,45980.00,'2023-11-13 11:28:38','2023-11-13 11:28:38','06',NULL),(225,5563,164,'Cambiar acrilico negro de proteccion frontal (dificulta la vision) en maquina Promaq\n',1.00,'8',65000.00,65000.00,0.00,0.00,0.00,2,13650.00,78650.00,'2023-11-13 11:28:38','2023-11-13 11:28:38','07',NULL),(226,5563,164,'Colocar un bastidor simple con cortinas de PVC entrelazadas en la zona por donde pasan las mangueras y cables desde las envasadoras hacia afuera del sector (cantidad 5 )',5.00,'8',18000.00,90000.00,0.00,0.00,0.00,2,18900.00,108900.00,'2023-11-13 11:28:38','2023-11-13 11:28:38','08',NULL),(227,5563,164,'Cambio de policarbonato trslúcido por el actual opaco en las protecciones envolventes que tiene la máquina PROMAQ. El trabajo consiste en remover los cortes actuales de policarbonato opaco que se encuentran pegados a marcos, proveer cortes de policarbonato traslúcido de 4 mm de espesor y reemplazarlos pegandolos con nuestro sellador a los marcos de la máquina. las medidas de los cortes son: 2 de 915 x 310 / 1 de 415 x 300 / 1 de 695 x 315 / 1 de 330 x 320 / 1 de 695 x 165 / 1 de 550 x 320 / 1 de 630 x 140 / 1 de 200 x 320 / 3 de 620 x 305 / 1 de 635 x 300 / 1 de 105 x 160 / 1 de 320 x 350',1.00,'8',368000.00,368000.00,0.00,0.00,0.00,2,77280.00,445280.00,'2023-11-13 11:28:38','2023-11-13 11:28:38','09',NULL),(228,5563,164,'Terminar de armar con recortes de bandejas portacables que tenemos en la planta y algunos soportes, (arcos aéreos ), estos van fijados a las máquinas envasadoras y se despliegan hasta la pared a 2 mts de altura aproximadamente. (Son 4 arcos, uno por máquina, tres están empezados a un 50%, resta terminar el trabajo)',4.00,'8',23500.00,94000.00,0.00,0.00,0.00,2,19740.00,113740.00,'2023-11-13 11:28:38','2023-11-13 11:28:38','10',NULL),(229,5563,164,'Adecuación de artefactos de iluminación en sectores varios de la planta. El trabajo consta de bajar equipos colgantes ya instalados, desarmar los zócalos y reactancias, limpiar la pantalla con desengrasante, y volverlos a armar con tubos LED cableando los zócalos nuevos. Los materiales van a cargo de Anaeróbicos. La cantidad de equipos a realizar este trabajo quedan a definir. Puede cotizarse por equipo',10.00,'8',8900.00,89000.00,0.00,0.00,0.00,2,18690.00,107690.00,'2023-11-13 11:28:38','2023-11-13 11:28:38','11',NULL),(230,5563,164,'descuento de anticipo otorgado',1.00,'8',-300000.00,-300000.00,0.00,0.00,0.00,2,-63000.00,-363000.00,'2023-11-13 11:28:38','2023-11-13 11:28:38','OTME2',NULL),(231,5563,165,'Tacos Vulcanizados',220.00,'8',5406.75,1189485.00,0.00,0.00,0.00,2,249791.85,1439276.85,'2023-12-07 16:20:07','2023-12-07 16:20:07','00001',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (232,5563,165,'Anticipo fc000600000096',1.00,'8',-300000.00,-300000.00,0.00,0.00,0.00,2,-63000.00,-363000.00,'2023-12-07 16:20:07','2023-12-07 16:20:07','adel01',NULL),(233,5563,166,'Carro balancela de puertas',0.15,'8',78988460.00,11848269.00,0.00,0.00,0.00,2,2488136.49,14336405.49,'2023-12-18 14:05:58','2023-12-18 14:05:58','98FA2000395',NULL),(234,5563,167,'Ruedas vulcanizada diámetro 61mm x 30mm alto (12) ',23.00,'8',26838.70,617290.10,0.00,0.00,0.00,2,129630.92,746921.02,'2024-01-08 18:05:23','2024-01-08 18:05:23','RV6130',NULL),(235,5563,167,'Ruedas 180x140diam x50mm altura.',1.00,'8',30839.50,30839.50,0.00,0.00,0.00,2,6476.30,37315.80,'2024-01-08 18:05:23','2024-01-08 18:05:23','R18050',NULL),(236,5563,168,'REPARACION MAQUINA 561C\nCambio de bujes de bronce SAE68. \nAjuste de caja porta rodamiento, no incluye los rodamientos.\nIncluye materiales (bronce), mano de obra necesaria.',0.50,'8',395830.00,197915.00,0.00,0.00,0.00,2,41562.15,239477.15,'2024-01-15 15:21:44','2024-01-15 15:21:44','PM0001',NULL),(237,5563,169,'REPARACION MAQUINA 561C\nCambio de bujes de bronce SAE68.\nAjuste de caja porta rodamiento, no\nincluye los rodamientos.\nIncluye materiales (bronce), mano de\nobra necesaria.',0.50,'8',385825.00,192912.50,0.00,0.00,0.00,2,40511.63,233424.13,'2024-01-18 10:53:36','2024-01-18 10:53:36','PM0001',NULL),(238,5563,170,'PERNO POSICIONADOR WSP B2 9,7*40',20.00,'8',21618.69,432373.80,0.00,0.00,0.00,2,90798.50,523172.30,'2024-01-19 14:16:44','2024-01-19 14:16:44','NP06.20.0459',NULL),(239,5563,170,'EJE CAJA REDUCTORA DE BOLSTER (MATERIAL SAE 1045) CAJA VIEJA PRENSA DANLY 2500 ',4.00,'8',205619.20,822476.80,0.00,0.00,0.00,2,172720.13,995196.93,'2024-01-19 14:16:44','2024-01-19 14:16:44','NP12.10.0006',NULL),(240,5563,170,'PERNO POSICIONADOR WSP B2 9,7*30',20.00,'8',21618.69,432373.80,0.00,0.00,0.00,2,90798.50,523172.30,'2024-01-19 14:16:44','2024-01-19 14:16:44','NP06.20.0454',NULL),(241,5563,171,'Bujes templados cant2\nReparación de maza clavado de bujes nuevos.\nEje diámetro 46 largo 460 mecanizado y templado cant1\nEje diámetro 44 largo 360 mecanizado y templado\nTodos los materiales incluidos  en SAE 8620 \nTratamiento térmico cementado, templado y revenido a 50RHC\n',1.00,'8',290000.00,290000.00,0.00,0.00,0.00,2,60900.00,350900.00,'2024-01-25 11:09:09','2024-01-25 11:09:09','BT001',NULL),(242,5563,172,'98FA1002964 Cunas carrozado motor TT',0.76,'8',2605354.45,1980069.38,0.00,0.00,0.00,2,415814.57,2395883.95,'2024-01-29 15:50:10','2024-01-29 15:50:10','00020',NULL),(243,5563,173,'Rueda Loma Negra diámetro 82mm poliuretano 80 shore A ',4.00,'8',49010.00,196040.00,0.00,0.00,0.00,2,41168.40,237208.40,'2024-01-30 15:49:33','2024-01-30 15:49:33','0001',NULL),(244,5563,174,'AJUSTE POR TIPO DE CAMBIO ',1.00,'8',21706.58,21706.58,0.00,0.00,0.00,2,4558.38,26264.96,'2024-01-31 17:11:51','2024-01-31 17:11:51','AJ001',NULL),(245,5563,175,'50% anticipo - PERNOS Y SEPARADORES\n• Perno fabricado en acero SAE 1045 de Ø100 x 600mm cantidad 2\n• Separador fabricado en acero SAE 1045 Ø160X40mm cantidad 4',0.50,'8',1068480.00,534240.00,0.00,0.00,0.00,2,112190.40,646430.40,'2024-02-05 20:10:40','2024-02-05 20:10:40','PS001',NULL),(246,5563,176,'50% Saldo - PERNOS Y\nSEPARADORES\n• Perno fabricado en acero SAE 1045\nde Ø100 x 600mm cantidad 2\n• Separador fabricado en acero SAE\n1045 Ø160X40mm cantidad 4',0.50,'8',1079190.00,539595.00,0.00,0.00,0.00,2,113314.95,652909.95,'2024-02-21 11:08:53','2024-02-21 11:08:53','PS001',NULL),(247,5563,177,'Tacos de poliuretano con chapa\nmetálica.',2.00,'8',206640.00,413280.00,0.00,0.00,0.00,2,86788.80,500068.80,'2024-02-29 10:10:57','2024-02-29 10:10:57','TPCM0001',NULL),(248,5563,177,'Rueda diámetro 180x50 de altura en poliuretano 95 shore A alta performace.\n',8.00,'8',55965.00,447720.00,0.00,0.00,0.00,2,94021.20,541741.20,'2024-02-29 10:10:57','2024-02-29 10:10:57','RD1805095',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (249,5563,178,'Trabajos Varios:\nEJE de Acero SAE 1045 diam. exterior 58x120mm de largo cant. 1\nBuje de Acero SAE 1045 Diam exterior 75x50mm de largo. Cant 1\nFerodo según muestra Diam. exterior 63x12mm de espesor. cant. 12 material entregado por EMEKA. ',1.00,'8',78000.00,78000.00,0.00,0.00,0.00,2,16380.00,94380.00,'2024-03-01 15:19:09','2024-03-01 15:19:09','TV0001',NULL),(250,5563,179,'Carro balancela de puertas',0.10,'8',83070500.00,8307050.00,0.00,0.00,0.00,2,1744480.50,10051530.50,'2024-03-04 13:38:36','2024-03-04 13:38:36','98FA2000395',NULL),(251,5563,180,'PLATAFORMAS Y MEDIOS BASCULANTES VARIOS',0.35,'8',51184100.00,17914435.00,0.00,0.00,0.00,2,3762031.35,21676466.35,'2024-03-18 15:49:14','2024-03-18 15:49:14','98FA1006717',NULL),(252,5563,181,'Perno Posicionador WSP A2 9.7*30',20.00,'8',25704.00,514080.00,0.00,0.00,0.00,2,107956.80,622036.80,'2024-04-09 14:14:18','2024-04-09 14:14:18','NP06.20.0107',NULL),(253,5563,182,'PERNO POSICIONADOR WSP A2 7,7*30',20.00,'8',25733.75,514675.00,0.00,0.00,0.00,2,108081.75,622756.75,'2024-04-11 14:59:07','2024-04-11 14:59:07','NP06.20.0103',NULL),(254,5563,183,'PLATAFORMAS Y\nMEDIOS\nBASCULANTES\nVARIOS',0.15,'8',52114720.00,7817208.00,0.00,0.00,0.00,2,1641613.68,9458821.68,'2024-04-15 15:51:36','2024-04-15 15:51:36','98FA1006717',NULL),(255,5563,184,'Carro balancela de\npuertas',0.15,'8',85584800.00,12837720.00,0.00,0.00,0.00,2,2695921.20,15533641.20,'2024-04-15 15:57:45','2024-04-15 15:57:45','98FA2000395',NULL),(261,5563,190,'98FA1002964 Cunas\ncarrozado motor TT',0.10,'8',2742062.94,274206.29,0.00,0.00,0.00,2,57583.32,331789.61,'2024-04-17 15:09:22','2024-04-17 15:09:22','00020',NULL),(262,5563,191,'Elastómero amarillo de 30 x 30 x 500 mm, con\nagujero de ø 19 mm',10.00,'8',29665.00,296650.00,0.00,0.00,0.00,2,62296.50,358946.50,'2024-04-24 14:07:06','2024-04-24 14:07:06','NP05.07.0014',NULL),(263,5563,192,'PLATAFORMAS Y MEDIOS BASCULANTES VARIOS',0.15,'8',52940600.00,7941090.00,0.00,0.00,0.00,2,1667628.90,9608718.90,'2024-05-02 11:17:18','2024-05-02 11:17:18','98FA1006717',NULL),(265,5563,194,'MEDIOS BASCULANTES\nVARIOS',0.15,'8',52940600.00,7941090.00,0.00,0.00,0.00,2,1667628.90,9608718.90,'2024-05-07 10:55:58','2024-05-07 10:55:58','98FA1006717',NULL),(274,5563,203,'PLATAFORMAS Y\nMEDIOS BASCULANTES\nVARIOS',0.15,'8',52625060.00,7893759.00,0.00,0.00,0.00,2,1657689.39,9551448.39,'2024-05-07 11:09:33','2024-05-07 11:09:33','98FA1006717',NULL),(275,5563,204,'TRM 1000 - Reparación olla por perdida',1.00,'8',2400000.00,2400000.00,0.00,0.00,0.00,2,504000.00,2904000.00,'2024-05-07 13:45:00','2024-05-07 13:45:00','00001',NULL),(276,5563,205,'Molino Ext PVC - Ablandar martillos',1.00,'8',365000.00,365000.00,0.00,0.00,0.00,2,76650.00,441650.00,'2024-05-07 13:49:27','2024-05-07 13:49:27','00001',NULL),(277,5563,206,'Diseño, Proyecto y mano de obra de montaje de estructura metálica. ',1.00,'8',1834710.74,1834710.74,0.00,0.00,0.00,2,385289.26,2220000.00,'2024-05-16 10:32:14','2024-05-16 10:32:14','001',NULL),(278,5563,207,'Avance de Obra. Montaje de Partes existentes y fabricación de partes faltantes según cotización N° 001426.',1.00,'8',2481394.22,2481394.22,0.00,0.00,0.00,2,521092.79,3002487.01,'2024-05-29 14:30:10','2024-05-29 14:30:10','0001',NULL),(279,5563,208,'Final de Obra. Montaje de Partes existentes y fabricación de partes faltantes según cotización N° 001426',1.00,'8',946698.00,946698.00,0.00,0.00,0.00,2,198806.58,1145504.58,'2024-05-29 14:38:34','2024-05-29 14:38:34','0001',NULL),(280,5563,209,'Mano de obra en montaje de estructuras metálicas. ',1.00,'8',1240000.00,1240000.00,0.00,0.00,0.00,2,260400.00,1500400.00,'2024-06-08 11:15:36','2024-06-08 11:15:36','001',NULL),(281,5563,210,'Fabricación de Techo alero salida de jardín en sito en la calle Entre Ríos  777, San Fernando, Bs. As.',1.00,'8',165289.26,165289.26,0.00,0.00,0.00,2,34710.74,200000.00,'2024-06-10 15:41:47','2024-06-10 15:41:47','001',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (282,5563,211,'Carro balancela de puertas',0.20,'8',88937200.00,17787440.00,0.00,0.00,0.00,2,3735362.40,21522802.40,'2024-06-10 16:01:58','2024-06-10 16:01:58','98FA2000395',NULL),(283,5563,212,'PLATAFORMAS Y MEDIOS BASCULANTES VARIOS',0.20,'8',54756480.00,10951296.00,0.00,0.00,0.00,2,2299772.16,13251068.16,'2024-07-01 12:26:15','2024-07-01 12:26:15','98FA1006717',NULL),(284,5563,213,'Avance de Obra para planta PSA - trabajos de Montaje',1.00,'8',5000000.00,5000000.00,0.00,0.00,0.00,2,1050000.00,6050000.00,'2024-07-08 17:34:09','2024-07-08 17:34:09','0001',NULL),(285,5563,214,'Mano de obra en montaje de\nestructuras metálicas.',1.00,'8',1652892.56,1652892.56,0.00,0.00,0.00,2,347107.44,2000000.00,'2024-07-19 13:42:41','2024-07-19 13:42:41','001',NULL),(286,5563,215,'Alquiler de Roscadora',1.00,'8',160544.00,160544.00,0.00,0.00,0.00,2,33714.24,194258.24,'2024-07-25 10:35:57','2024-07-25 10:35:57','0001',NULL),(287,5563,216,'Revestimiento cañeria',1.00,'8',2300000.00,2300000.00,0.00,0.00,0.00,2,483000.00,2783000.00,'2024-07-25 10:38:32','2024-07-25 10:38:32','0001',NULL),(288,5563,217,'98FA1002324 Construcción de gancheras mecánicas',0.40,'8',14836200.00,5934480.00,0.00,0.00,0.00,2,1246240.80,7180720.80,'2024-08-12 14:04:32','2024-08-12 14:04:32','00010 AR40',NULL),(289,5563,217,'98FA1002324 Construcción de gancheras mecánicas',0.40,'8',1909850.88,763940.35,0.00,0.00,0.00,2,160427.47,924367.82,'2024-08-12 14:04:32','2024-08-12 14:04:32','00020 AR40',NULL),(290,5563,218,'RODILLO PARA CUNA Ø165 X 160MM ALTURA. Adelanto 50%.',84.00,'8',184808.25,15523893.00,0.00,0.00,0.00,2,3260017.53,18783910.53,'2024-08-13 17:21:00','2024-08-13 17:21:00','0001',NULL),(291,5563,219,'RODILLO PARA CUNA Ø165 X\n160MM ALTURA. Adelanto 50%',84.00,'8',184808.25,15523893.00,0.00,0.00,0.00,2,3260017.53,18783910.53,'2024-08-13 17:29:35','2024-08-13 17:29:35','0001',NULL),(292,5563,220,'RODILLO PARA CUNA Ø165 X\n160MM ALTURA. Adelanto 50%.',84.00,'8',188345.25,15821001.00,0.00,0.00,0.00,2,3322410.21,19143411.21,'2024-08-13 17:32:52','2024-08-13 17:32:52','0001',NULL),(293,5563,221,'BAJAR Y LUEGO CONECTAR MOTOR',1.00,'8',900000.00,900000.00,0.00,0.00,0.00,2,189000.00,1089000.00,'2024-08-14 09:44:30','2024-08-14 09:44:30','TRM 1000',NULL),(294,5563,222,'Avance de Obra para planta PSA - trabajos de Montaje',1.00,'8',3500000.00,3500000.00,0.00,0.00,0.00,2,735000.00,4235000.00,'2024-08-20 12:39:33','2024-08-20 12:39:33','0001',NULL),(295,5563,223,'Cambio cañeria enfriamiento - Sector Iny',0.40,'8',9483624.00,3793449.60,0.00,0.00,0.00,2,796624.42,4590074.02,'2024-08-21 10:25:34','2024-08-21 10:25:34','0001',NULL),(296,5563,224,'Cambio cañeria enfriamiento -\nSector Iny',0.40,'8',9483624.00,3793449.60,0.00,0.00,0.00,2,796624.42,4590074.02,'2024-08-21 14:15:24','2024-08-21 14:15:24','0001',NULL),(297,5563,225,'Cambio cañeria enfriamiento -\nSector Iny',0.40,'8',9301436.00,3720574.40,0.00,0.00,0.00,2,781320.62,4501895.02,'2024-08-21 14:20:20','2024-08-21 14:20:20','0001',NULL),(298,5563,226,'Soportes Luminaria Obra Puerto',1.00,'8',1041616.67,1041616.67,0.00,0.00,0.00,2,218739.50,1260356.17,'2024-09-03 14:14:34','2024-09-03 14:14:34','0001',NULL),(299,5563,227,'Cambio cañeria\nenfriamiento -\nSector Iny',0.40,'8',9301436.00,3720574.40,0.00,0.00,0.00,2,781320.62,4501895.02,'2024-09-19 14:19:02','2024-09-19 14:19:02','0001',NULL),(300,5563,228,'Cambio cañeria\nenfriamiento -\nSector Iny',0.40,'8',9301436.00,3720574.40,0.00,0.00,0.00,2,781320.62,4501895.02,'2024-09-19 14:24:21','2024-09-19 14:24:21','0001',NULL),(301,5563,229,'Cambio cañeria\nenfriamiento -\nSector Iny',0.60,'8',9488548.00,5693128.80,0.00,0.00,0.00,2,1195557.05,6888685.85,'2024-09-19 14:30:37','2024-09-19 14:30:37','0001',NULL),(302,5563,230,'Carro balancela de puertas',0.10,'8',95247600.00,9524760.00,0.00,0.00,0.00,2,2000199.60,11524959.60,'2024-09-23 16:36:08','2024-09-23 16:36:08','98FA2000395',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (303,5563,231,'Molino Ext PVC - Reparación Chimango',1.00,'8',1261000.00,1261000.00,0.00,0.00,0.00,2,264810.00,1525810.00,'2024-09-30 11:01:40','2024-09-30 11:01:40','00001',NULL),(304,5563,232,'TRM 1000 - Rep eje porta palas',1.00,'8',2154510.00,2154510.00,0.00,0.00,0.00,2,452447.10,2606957.10,'2024-10-01 14:27:04','2024-10-01 14:27:04','0001',NULL),(305,5563,233,'RODILLO PARA CUNA\nØ165 X\n160MM ALTURA.',84.00,'8',194633.25,16349193.00,0.00,0.00,0.00,2,3433330.53,19782523.53,'2024-10-01 14:35:26','2024-10-01 14:35:26','0001',NULL),(306,5563,234,'Mano de obra local Wendys Flores',1.00,'8',2000000.00,2000000.00,0.00,0.00,0.00,2,420000.00,2420000.00,'2024-10-02 09:56:08','2024-10-02 09:56:08','001',NULL),(307,5563,235,'Anillo mecánico diámetro 104mm color rojo. poliuretano 90 shore A',200.00,'8',6788.35,1357670.00,0.00,0.00,0.00,2,285110.70,1642780.70,'2024-10-02 18:13:20','2024-10-02 18:13:20','0001',NULL),(308,5563,235,'Recubrimiento en poliuretanos blanco dureza 90 shore A empujados para  Johnson & Johnson. ',6.00,'8',14369.50,86217.00,0.00,0.00,0.00,2,18105.57,104322.57,'2024-10-02 18:13:20','2024-10-02 18:13:20','0002',NULL),(309,5563,236,'Reparación tapa tanque hidráulico, triple costura de soldadura en ambos lados.',1.00,'8',180000.00,180000.00,0.00,0.00,0.00,2,37800.00,217800.00,'2024-10-04 15:52:14','2024-10-04 15:52:14','0001',NULL),(310,5563,237,'Mano de Obra Cubierta Techo Wendy de Flores.',1.00,'8',2000000.00,2000000.00,0.00,0.00,0.00,2,420000.00,2420000.00,'2024-10-15 12:18:11','2024-10-15 12:18:11','0001',NULL),(311,5563,238,'TRM 1000 - Desarme, cambio de aspas',1.00,'8',3704673.50,3704673.50,0.00,0.00,0.00,2,777981.44,4482654.94,'2024-10-21 11:21:15','2024-10-21 11:21:15','00001',NULL),(312,5563,239,'PLATAFORMAS Y MEDIOS BASCULANTES VARIOS',0.15,'8',59559680.00,8933952.00,0.00,0.00,0.00,2,1876129.92,10810081.92,'2024-11-01 07:47:38','2024-11-01 07:47:38','98FA1006717',NULL),(313,5563,240,' Recubrimiento en poliuretano alta performance 224,00\n90Shore A color rojo en ruedas Ø200x80mm de altura\nPRESUPUESTO N° 0000-01469\n(NP 4675-24-2784)\n',4.00,'8',57008.00,228032.00,0.00,0.00,0.00,2,47886.72,275918.72,'2024-11-12 15:22:52','2024-11-12 15:22:52','0001',NULL),(314,5563,241,'Rodillo de arrastre diámetro 130mm x 140mm de altura en poliuretano 90 Shore A. ',1.00,'8',25575.00,25575.00,0.00,0.00,0.00,2,5370.75,30945.75,'2024-11-20 13:07:45','2024-11-20 13:07:45','0001',NULL),(315,5563,242,'Rodillo',1.00,'8',700.00,700.00,0.00,0.00,0.00,2,147.00,847.00,'2024-11-20 13:24:50','2024-11-20 13:24:50','0001',NULL),(316,5563,243,'Rueda transporte diámetro 200mm altura 50mm con tope. Poliuretano alta performance 90 Shore A color rojo.',8.00,'8',48316.00,386528.00,0.00,0.00,0.00,2,81170.88,467698.88,'2024-11-27 16:34:10','2024-11-27 16:34:10','0001',NULL),(317,5563,244,'Rueda policarb',2.00,'8',363.00,726.00,0.00,0.00,0.00,2,152.46,878.46,'2024-11-28 18:21:56','2024-11-28 18:21:56','0002',NULL),(318,5563,245,'Cambio olla turbo TRM700 plasmec - anticipo',1.00,'8',1701768.00,1701768.00,0.00,0.00,0.00,2,357371.28,2059139.28,'2024-12-02 15:54:49','2024-12-02 15:54:49','0010',NULL),(319,5563,246,'Mano de Obra Cubierta Techo\nWendy de Flores.',1.00,'8',1652892.56,1652892.56,0.00,0.00,0.00,2,347107.44,2000000.00,'2024-12-04 16:48:40','2024-12-04 16:48:40','0001',NULL),(320,5563,247,'Mano de Obra especializada, materiales, alquiler de plataforma y medios de elevación para trabajos varios.',1.00,'8',11300000.00,11300000.00,0.00,0.00,0.00,2,2373000.00,13673000.00,'2024-12-06 16:18:36','2024-12-06 16:18:36','00001',NULL),(321,5563,248,' Cambio cañeria de inyección 2\"',1.00,'8',2969572.50,2969572.50,0.00,0.00,0.00,2,623610.22,3593182.72,'2024-12-11 14:14:02','2024-12-11 14:14:02','00001',NULL),(322,5563,249,'Cambio de cañería de inyección 2\" ',1.00,'8',2969572.50,2969572.50,0.00,0.00,0.00,2,623610.22,3593182.72,'2024-12-12 12:46:08','2024-12-12 12:46:08','00001',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (323,5563,250,' Cambio cañeria de inyección 2\"',1.00,'8',2915137.50,2915137.50,0.00,0.00,0.00,2,612178.88,3527316.38,'2024-12-12 12:50:30','2024-12-12 12:50:30','0001',NULL),(324,5563,251,'Arandelas ',10.00,'8',82.00,820.00,0.00,0.00,0.00,2,172.20,992.20,'2024-12-18 09:15:01','2024-12-18 09:15:01','0001',NULL),(325,5563,252,'Reparación y Mantenimientos Varios en Local Wendy´s Flores por apertura.',1.00,'8',2000000.00,2000000.00,0.00,0.00,0.00,2,420000.00,2420000.00,'2024-12-27 12:23:22','2024-12-27 12:23:22','0001',NULL),(326,5563,253,'Ajuste Rodillo',1.00,'8',750.00,750.00,0.00,0.00,0.00,2,157.50,907.50,'2024-12-28 06:57:12','2024-12-28 06:57:12','0001',NULL),(327,5563,254,'Torneado tuerca según plano - muestra',1.00,'8',788.00,788.00,0.00,0.00,0.00,2,165.48,953.48,'2024-12-29 10:21:57','2024-12-29 10:21:57','001',NULL),(328,5563,255,'Mano de Obra especializada, materiales, alquiler de plataforma y medios de elevación para trabajos varios.',1.00,'8',2000000.00,2000000.00,0.00,0.00,0.00,2,420000.00,2420000.00,'2024-12-30 09:10:40','2024-12-30 09:10:40','0001',NULL),(329,5563,256,'Cambio olla turbo TRM700 plasmec - Saldo',1.00,'8',2602832.50,2602832.50,0.00,0.00,0.00,2,546594.82,3149427.32,'2024-12-30 09:49:12','2024-12-30 09:49:12','0001',NULL),(330,5563,257,'Racks',39.00,'8',120000.00,4680000.00,0.00,0.00,0.00,2,982800.00,5662800.00,'2024-12-30 09:53:10','2024-12-30 09:53:10','0001',NULL);

--
