INSERT INTO `cta_cte_cliente` VALUES (1097,11297,0,NULL,NULL,3,40740,40985,57,31669,2,0,'2025-11-04','2025-11-18',24018.50,1,1.00,'Factura A N°: 0005-00000382',NULL,NULL,'2025-11-18 12:28:06','2025-11-18 12:28:06',NULL),(1098,11297,0,NULL,NULL,3,40740,40971,57,31669,2,0,'2025-11-04','2025-11-18',800000.00,1,1.00,'Factura A N°: 0003-00000228',NULL,NULL,'2025-11-18 12:29:06','2025-11-18 12:30:48','2025-11-18 12:30:48'),(1099,11297,0,NULL,NULL,3,40740,40971,57,31669,2,0,'2025-11-04','2025-11-18',800000.00,1,1.00,'Factura A N°: 0003-00000228',NULL,NULL,'2025-11-18 12:32:18','2025-11-18 12:33:34','2025-11-18 12:33:34'),(1100,11297,0,NULL,NULL,3,40740,40971,57,31669,2,0,'2025-11-04','2025-11-18',800000.00,1,1.00,'Factura C N°: 0003-00000228',NULL,NULL,'2025-11-18 12:35:11','2025-11-18 12:35:11',NULL),(1101,11297,0,NULL,NULL,3,40740,40826,57,31669,2,0,'2025-11-10','2025-11-18',18605.08,1,1.00,'Factura A N°: 0007-00026204',NULL,NULL,'2025-11-18 12:37:55','2025-11-18 12:37:55',NULL),(1102,11297,0,NULL,NULL,3,40740,40834,57,31669,2,0,'2025-11-04','2025-11-18',1161600.00,1,1.00,'Factura A N°: 0005-00000643',NULL,NULL,'2025-11-18 12:42:22','2025-11-18 12:42:22',NULL),(1103,11297,0,NULL,NULL,3,40740,40986,57,31669,2,0,'2025-11-06','2025-11-18',633007.31,1,1.00,'Factura A N°: 0002-00065491',NULL,NULL,'2025-11-18 12:44:41','2025-11-18 12:44:41',NULL),(1104,11297,0,NULL,NULL,3,40740,40924,57,31669,2,0,'2025-11-06','2025-11-18',679683.23,1,1.00,'Factura A N°: 0002-00042871',NULL,NULL,'2025-11-18 12:46:58','2025-11-18 12:46:58',NULL),(1105,11297,0,NULL,NULL,3,40740,40832,57,31669,2,0,'2025-11-03','2025-11-18',51361.88,1,1.00,'Factura A N°: 0001-00118276',NULL,NULL,'2025-11-18 12:48:14','2025-11-18 12:48:14',NULL),(1106,11297,0,NULL,NULL,3,40740,40951,57,31669,2,0,'2025-11-10','2025-11-20',123074.18,1,1.00,'Tique Factura A N°: 0017-00009031',NULL,NULL,'2025-11-20 11:05:26','2025-11-20 11:05:26',NULL),(1107,11297,0,NULL,NULL,3,40740,40951,57,31669,2,0,'2025-11-10','2025-11-20',82008.17,1,1.00,'Tique Factura A N°: 0017-00009009',NULL,NULL,'2025-11-20 11:06:27','2025-11-20 11:06:27',NULL),(1108,11297,0,NULL,NULL,3,40740,40836,57,31669,2,0,'2025-11-11','2025-11-20',4025.63,1,1.00,'Factura A N°: 0005-00008275',NULL,NULL,'2025-11-20 11:08:32','2025-11-20 11:08:32',NULL),(1109,11297,0,NULL,NULL,3,40740,40837,57,31669,2,0,'2025-11-11','2025-11-20',16350.00,1,1.00,'Factura A N°: 0012-00005151',NULL,NULL,'2025-11-20 11:11:55','2025-11-20 11:11:55',NULL),(1110,11297,0,NULL,NULL,3,40740,40753,57,31669,2,0,'2025-11-13','2025-11-20',70000.01,1,1.00,'Tique Factura A N°: 0004-00049049',NULL,NULL,'2025-11-20 11:14:22','2025-11-20 11:14:22',NULL),(1111,11297,0,NULL,NULL,3,40740,40753,57,31669,2,0,'2025-11-10','2025-11-20',83025.00,1,1.00,'Tique Factura A N°: 0003-00086026',NULL,NULL,'2025-11-20 11:15:34','2025-11-20 11:15:34',NULL),(1112,11297,0,NULL,NULL,3,40740,40753,57,31669,2,0,'2025-11-10','2025-11-20',82006.00,1,1.00,'Tique Factura A N°: 0003-00086014',NULL,NULL,'2025-11-20 11:16:38','2025-11-20 11:16:38',NULL),(1113,11297,0,NULL,NULL,3,40740,40753,57,31669,2,0,'2025-11-11','2025-11-20',69001.99,1,1.00,'Tique Factura A N°: 0003-00086057',NULL,NULL,'2025-11-20 11:17:43','2025-11-20 11:17:43',NULL),(1114,11297,0,NULL,NULL,3,40740,40902,57,31669,2,0,'2025-11-11','2025-11-20',747546.63,1,1.00,'Factura A N°: 0020-00262689',NULL,NULL,'2025-11-20 11:33:03','2025-11-20 11:33:03',NULL),(1115,11297,0,NULL,NULL,3,40740,40943,57,31669,2,0,'2025-11-10','2025-11-20',1360000.05,1,1.00,'Factura A N°: 0024-00001383',NULL,NULL,'2025-11-20 15:20:06','2025-11-20 15:20:06',NULL),(1116,11297,0,NULL,NULL,3,40740,40919,57,31669,2,0,'2025-11-08','2025-11-20',13600.00,1,1.00,'Factura A N°: 0010-00002785',NULL,NULL,'2025-11-20 15:21:02','2025-11-20 15:21:02',NULL),(1117,11297,0,NULL,NULL,3,40740,40826,57,31669,2,0,'2025-11-05','2025-11-20',2373.87,1,1.00,'Factura A N°: 0007-00026125',NULL,NULL,'2025-11-20 15:22:01','2025-11-20 15:22:01',NULL);
INSERT INTO `cta_cte_cliente` VALUES (1118,11297,0,NULL,NULL,3,40740,40823,57,31669,2,0,'2025-11-04','2025-11-20',32002.01,1,1.00,'Factura A N°: 0001-00008549',NULL,NULL,'2025-11-20 15:23:02','2025-11-20 15:23:02',NULL),(1119,11297,0,NULL,NULL,3,40740,40917,57,31669,2,0,'2025-11-11','2025-11-20',217800.00,1,1.00,'Factura A N°: 0004-00000582',NULL,NULL,'2025-11-20 15:31:20','2025-11-20 15:31:20',NULL),(1120,11297,0,NULL,NULL,3,40740,40918,57,31669,2,0,'2025-11-13','2025-11-20',194600.00,1,1.00,'Factura A N°: 0006-00016771',NULL,NULL,'2025-11-20 15:33:03','2025-11-20 15:33:03',NULL),(1121,11297,0,NULL,NULL,3,40740,40958,57,31669,2,0,'2025-11-04','2025-11-20',9628377.34,1,1.00,'Factura A N°: 0011-00021856',NULL,NULL,'2025-11-20 15:35:48','2025-11-20 15:35:48',NULL),(1122,11297,0,NULL,NULL,3,40740,40958,57,31669,1,0,'2025-11-04','2025-11-20',9433467.34,1,1.00,'Nota de crédito A N°: 0011-00003070',NULL,NULL,'2025-11-20 15:48:47','2025-11-20 15:48:47',NULL),(1123,11297,0,NULL,NULL,3,40740,40958,57,31669,1,0,'2025-11-04','2025-11-20',9628377.34,1,1.00,'Nota de crédito A N°: 0011-00003068',NULL,NULL,'2025-11-20 15:50:14','2025-11-20 15:50:14',NULL);

--
-- Table structure for table `cta_cte_cliente_details`
--

CREATE TABLE `cta_cte_cliente_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `tipo_asiento_id` int(10) unsigned NOT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `monto` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_cliente_details_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `cta_cte_cliente_details_person_id_foreign` (`person_id`),
  KEY `cta_cte_cliente_details_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `cta_cte_cliente_details_period_id_foreign` (`period_id`),
  KEY `cta_cte_cliente_details_tipo_asiento_id_foreign` (`tipo_asiento_id`),
  KEY `cta_cte_cliente_details_saldo_id_foreign` (`saldo_id`),
  KEY `cta_cte_cliente_details_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `cta_cte_cliente_details_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `cta_cte_cliente_details_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_cliente_details_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `cta_cte_cliente_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_cliente_details_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_cliente_details_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`),
  CONSTRAINT `cta_cte_cliente_details_tipo_asiento_id_foreign` FOREIGN KEY (`tipo_asiento_id`) REFERENCES `conta_tipo_asientos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_cliente_details`
--


--
-- Table structure for table `cta_cte_cliente_pivot_receipt`
--

CREATE TABLE `cta_cte_cliente_pivot_receipt` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id` int(10) unsigned NOT NULL,
  `receipt_id` int(11) DEFAULT NULL,
  `importe` decimal(16,2) DEFAULT NULL,
  `is_a_cuenta` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `cccpr_a_cuenta_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 `fk_cccpr_a_cuenta_id` (`cccpr_a_cuenta_id`),
  CONSTRAINT `fk_cccpr_a_cuenta_id` FOREIGN KEY (`cccpr_a_cuenta_id`) REFERENCES `cta_cte_cliente_pivot_receipt` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1124 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1,NULL,1,1,NULL,0,NULL,'2024-10-29 15:13:14','2024-10-29 15:13:14',NULL),(2,NULL,2,2,NULL,0,NULL,'2024-10-29 15:13:14','2024-10-29 15:13:14',NULL),(3,NULL,3,3,NULL,0,NULL,'2024-10-29 15:13:14','2024-10-29 15:13:14',NULL),(4,NULL,4,4,NULL,0,NULL,'2024-10-29 15:13:14','2024-10-29 15:13:14',NULL),(5,NULL,5,5,NULL,0,NULL,'2024-10-29 15:13:14','2024-10-29 15:13:14',NULL),(6,NULL,6,6,NULL,0,NULL,'2024-10-29 15:13:14','2024-10-29 15:13:14',NULL),(7,NULL,7,7,NULL,0,NULL,'2024-10-29 15:13:14','2024-10-29 15:13:14',NULL),(8,NULL,8,8,NULL,0,NULL,'2024-10-29 15:13:14','2024-10-29 15:13:14',NULL),(9,NULL,9,9,NULL,0,NULL,'2024-10-29 15:13:14','2024-10-29 15:13:14',NULL),(10,NULL,10,10,NULL,0,NULL,'2024-10-29 15:13:14','2024-10-29 15:13:14',NULL),(11,NULL,11,11,NULL,0,NULL,'2024-10-29 15:13:14','2024-10-29 15:13:14',NULL),(12,NULL,12,12,NULL,0,NULL,'2024-10-29 15:13:14','2024-10-29 15:13:14',NULL),(13,NULL,13,13,NULL,0,NULL,'2024-10-29 15:13:14','2024-10-29 15:13:14',NULL),(14,NULL,14,14,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(15,NULL,15,15,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(16,NULL,16,16,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(17,NULL,17,17,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(18,NULL,18,18,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(19,NULL,19,19,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(20,NULL,20,20,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(21,NULL,21,21,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(22,NULL,22,22,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(23,NULL,23,23,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(24,NULL,24,24,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(25,NULL,25,25,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(26,NULL,26,26,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(27,NULL,27,27,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(28,NULL,28,28,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(29,NULL,29,29,NULL,0,NULL,'2024-10-29 15:13:15','2024-10-29 15:13:15',NULL),(30,NULL,30,30,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(31,NULL,31,31,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(32,NULL,32,32,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(33,NULL,33,33,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(34,NULL,34,34,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(35,NULL,35,35,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(36,NULL,36,36,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(37,NULL,37,37,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(38,NULL,38,38,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(39,NULL,39,39,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(40,NULL,40,40,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(41,NULL,41,41,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(42,NULL,42,42,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(43,NULL,43,43,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(44,NULL,44,44,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(45,NULL,45,45,NULL,0,NULL,'2024-10-29 15:13:16','2024-10-29 15:13:16',NULL),(46,NULL,46,46,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(47,NULL,47,47,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(48,NULL,48,48,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(49,NULL,49,49,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(50,NULL,50,50,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(51,NULL,51,51,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(52,NULL,52,52,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (53,NULL,53,53,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(54,NULL,54,54,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(55,NULL,55,55,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(56,NULL,56,56,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(57,NULL,57,57,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(58,NULL,58,58,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(59,NULL,59,59,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(60,NULL,60,60,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(61,NULL,61,61,NULL,0,NULL,'2024-10-29 15:13:17','2024-10-29 15:13:17',NULL),(62,8165,62,62,NULL,0,NULL,'2024-10-30 10:26:29','2024-10-30 10:26:29',NULL),(63,8165,63,63,NULL,0,NULL,'2024-10-30 10:26:29','2024-10-30 10:26:29',NULL),(64,8165,64,64,NULL,0,NULL,'2024-10-30 10:26:29','2024-10-30 10:26:29',NULL),(65,8165,65,65,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(66,8165,66,66,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(67,8165,67,67,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(68,8165,68,68,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(69,8165,69,69,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(70,8165,70,70,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(71,8165,71,71,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(72,8165,72,72,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(73,8165,73,73,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(74,8165,74,74,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(75,8165,75,75,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(76,8165,76,76,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(77,8165,77,77,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(78,8165,78,78,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(79,8165,79,79,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(80,8165,80,80,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(81,8165,81,81,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(82,8165,82,82,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(83,8165,83,83,NULL,0,NULL,'2024-10-30 10:26:30','2024-10-30 10:26:30',NULL),(84,8165,84,84,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(85,8165,85,85,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(86,8165,86,86,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(87,8165,87,87,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(88,8165,88,88,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(89,8165,89,89,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(90,8165,90,90,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(91,8165,91,91,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(92,8165,92,92,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(93,8165,93,93,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(94,8165,94,94,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(95,8165,95,95,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(96,8165,96,96,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(97,8165,97,97,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(98,8165,98,98,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(99,8165,99,99,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(100,8165,100,100,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(101,8165,101,101,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(102,8165,102,102,NULL,0,NULL,'2024-10-30 10:26:31','2024-10-30 10:26:31',NULL),(103,8165,103,103,NULL,0,NULL,'2024-10-30 10:26:32','2024-10-30 10:26:32',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (104,8165,104,104,NULL,0,NULL,'2024-10-30 10:26:32','2024-10-30 10:26:32',NULL),(105,8165,105,105,NULL,0,NULL,'2024-10-30 10:26:32','2024-10-30 10:26:32',NULL),(106,8165,106,106,NULL,0,NULL,'2024-10-30 10:26:32','2024-10-30 10:26:32',NULL),(107,8165,107,107,NULL,0,NULL,'2024-10-30 10:26:32','2024-10-30 10:26:32',NULL),(108,8165,108,108,NULL,0,NULL,'2024-10-30 10:26:32','2024-10-30 10:26:32',NULL),(109,8165,109,109,NULL,0,NULL,'2024-10-30 10:26:32','2024-10-30 10:26:32',NULL),(110,8165,110,110,NULL,0,NULL,'2024-10-30 10:26:32','2024-10-30 10:26:32',NULL),(111,11297,111,111,NULL,0,NULL,'2025-03-06 14:28:59','2025-03-06 14:28:59',NULL),(112,11297,112,112,NULL,0,NULL,'2025-03-06 15:06:42','2025-03-06 15:06:42',NULL),(113,11297,113,113,NULL,0,NULL,'2025-03-06 16:45:49','2025-03-06 16:45:49',NULL),(114,11297,114,114,NULL,0,NULL,'2025-03-06 16:55:29','2025-03-06 16:55:29',NULL),(115,11297,115,115,NULL,0,NULL,'2025-03-13 12:31:26','2025-03-13 12:31:26',NULL),(116,11297,116,116,NULL,0,NULL,'2025-03-13 14:11:03','2025-03-13 14:11:03',NULL),(117,11297,117,117,NULL,0,NULL,'2025-03-13 14:13:04','2025-03-13 14:13:04',NULL),(118,11297,118,118,NULL,0,NULL,'2025-03-17 09:30:35','2025-03-17 09:30:35',NULL),(119,11297,119,119,NULL,0,NULL,'2025-03-17 09:53:04','2025-03-17 09:53:04',NULL),(120,11297,120,120,NULL,0,NULL,'2025-03-17 13:54:50','2025-03-17 13:54:50',NULL),(121,11297,121,121,NULL,0,NULL,'2025-03-17 13:58:55','2025-03-17 13:58:55',NULL),(122,11297,122,122,NULL,0,NULL,'2025-03-17 14:03:36','2025-03-17 14:03:36',NULL),(123,11297,123,123,NULL,0,NULL,'2025-03-17 14:06:11','2025-03-17 14:06:11',NULL),(124,11297,124,124,NULL,0,NULL,'2025-03-17 14:13:21','2025-03-17 14:13:21',NULL),(125,11297,125,125,NULL,0,NULL,'2025-03-17 16:50:11','2025-03-17 16:50:11',NULL),(126,11297,126,126,NULL,0,NULL,'2025-03-17 16:53:44','2025-03-17 16:53:44',NULL),(127,11297,127,127,NULL,0,NULL,'2025-03-18 09:34:24','2025-03-18 09:34:24',NULL),(128,11297,128,128,NULL,0,NULL,'2025-03-18 09:40:26','2025-03-18 09:40:26',NULL),(129,11297,129,129,NULL,0,NULL,'2025-03-18 12:22:35','2025-03-18 12:22:35',NULL),(130,11297,130,130,NULL,0,NULL,'2025-03-18 12:24:13','2025-03-18 12:24:13',NULL),(131,11297,131,131,NULL,0,NULL,'2025-03-18 12:28:07','2025-03-18 12:28:07',NULL),(132,11297,132,132,NULL,0,NULL,'2025-03-18 15:46:41','2025-03-18 15:46:41',NULL),(133,11297,133,133,NULL,0,NULL,'2025-03-18 15:51:02','2025-03-18 15:51:02',NULL),(134,11297,134,134,NULL,0,NULL,'2025-03-18 15:52:26','2025-03-18 15:52:26',NULL),(135,11297,135,135,NULL,0,NULL,'2025-03-18 15:54:00','2025-03-18 15:54:00',NULL),(136,11297,136,136,NULL,0,NULL,'2025-03-18 15:55:28','2025-03-18 15:55:28',NULL),(137,11297,137,137,NULL,0,NULL,'2025-03-18 15:56:52','2025-03-18 15:56:52',NULL),(138,11297,138,138,NULL,0,NULL,'2025-03-18 15:58:54','2025-03-18 15:58:54',NULL),(139,11297,139,139,NULL,0,NULL,'2025-03-18 16:02:28','2025-03-18 16:02:28',NULL),(140,11297,140,140,NULL,0,NULL,'2025-03-18 16:08:06','2025-03-18 16:08:06',NULL),(141,11297,141,141,NULL,0,NULL,'2025-03-18 16:12:52','2025-03-18 16:12:52',NULL),(142,11297,142,142,NULL,0,NULL,'2025-03-18 16:15:56','2025-03-18 16:15:56',NULL),(143,11297,143,143,NULL,0,NULL,'2025-03-18 16:21:20','2025-03-18 16:21:20',NULL),(144,11297,144,144,NULL,0,NULL,'2025-04-01 10:40:08','2025-04-01 10:40:08',NULL),(145,11297,145,145,NULL,0,NULL,'2025-04-01 10:44:24','2025-04-01 10:44:24',NULL),(146,11297,146,146,NULL,0,NULL,'2025-04-01 10:50:20','2025-04-01 10:50:20',NULL),(147,11297,147,147,NULL,0,NULL,'2025-04-01 10:57:50','2025-04-01 10:57:50',NULL),(148,11297,148,148,NULL,0,NULL,'2025-04-01 10:59:36','2025-04-01 10:59:36',NULL),(149,11297,149,149,NULL,0,NULL,'2025-04-01 11:02:19','2025-04-01 11:02:19',NULL),(150,11297,150,150,NULL,0,NULL,'2025-04-01 12:19:00','2025-04-01 12:19:00',NULL),(151,11297,151,151,NULL,0,NULL,'2025-04-01 12:23:21','2025-04-01 12:23:21',NULL),(152,11297,152,152,NULL,0,NULL,'2025-04-01 12:26:49','2025-04-01 12:26:49',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (153,11297,153,153,NULL,0,NULL,'2025-04-01 12:38:31','2025-04-01 12:38:31',NULL),(154,11297,154,154,NULL,0,NULL,'2025-04-01 12:39:47','2025-04-01 12:39:47',NULL),(155,11297,155,155,NULL,0,NULL,'2025-04-01 12:41:29','2025-04-01 12:41:29',NULL),(156,11297,156,156,NULL,0,NULL,'2025-04-01 12:43:17','2025-04-01 12:43:17',NULL),(157,11297,157,157,NULL,0,NULL,'2025-04-01 12:44:44','2025-04-01 12:44:44',NULL),(158,11297,158,158,NULL,0,NULL,'2025-04-01 12:46:33','2025-04-01 12:46:33',NULL),(159,11297,159,159,NULL,0,NULL,'2025-04-01 12:49:37','2025-04-01 12:49:37',NULL),(160,11297,160,160,NULL,0,NULL,'2025-04-01 14:15:13','2025-04-01 14:15:13',NULL),(161,11297,161,161,NULL,0,NULL,'2025-04-01 16:58:58','2025-04-01 16:58:58',NULL),(162,11297,162,162,NULL,0,NULL,'2025-04-04 15:38:29','2025-04-04 15:38:29',NULL),(163,11297,163,163,NULL,0,NULL,'2025-04-04 15:39:43','2025-04-04 15:39:43',NULL),(164,11297,164,164,NULL,0,NULL,'2025-04-04 15:41:53','2025-04-04 15:41:53',NULL),(165,11297,165,165,NULL,0,NULL,'2025-04-04 15:44:11','2025-04-04 15:44:11',NULL),(166,11297,166,166,NULL,0,NULL,'2025-04-04 15:45:27','2025-04-04 15:45:27',NULL),(167,11297,167,167,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(168,11297,168,168,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(169,11297,169,169,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(170,11297,170,170,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(171,11297,171,171,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(172,11297,172,172,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(173,11297,173,173,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(174,11297,174,174,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(175,11297,175,175,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(176,11297,176,176,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(177,11297,177,177,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(178,11297,178,178,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(179,11297,179,179,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(180,11297,180,180,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(181,11297,181,181,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(182,11297,182,182,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(183,11297,183,183,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(184,11297,184,184,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(185,11297,185,185,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(186,11297,186,186,NULL,0,NULL,'2025-04-04 15:54:08','2025-04-04 15:54:08',NULL),(187,11297,187,187,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(188,11297,188,188,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(189,11297,189,189,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(190,11297,190,190,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(191,11297,191,191,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(192,11297,192,192,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(193,11297,193,193,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(194,11297,194,194,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(195,11297,195,195,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(196,11297,196,196,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(197,11297,197,197,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(198,11297,198,198,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(199,11297,199,199,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(200,11297,200,200,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(201,11297,201,201,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (202,11297,202,202,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(203,11297,203,203,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(204,11297,204,204,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(205,11297,205,205,NULL,0,NULL,'2025-04-04 15:54:09','2025-04-04 15:54:09',NULL),(206,11297,206,206,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(207,11297,207,207,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(208,11297,208,208,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(209,11297,209,209,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(210,11297,210,210,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(211,11297,211,211,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(212,11297,212,212,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(213,11297,213,213,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(214,11297,214,214,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(215,11297,215,215,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(216,11297,216,216,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(217,11297,217,217,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(218,11297,218,218,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(219,11297,219,219,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(220,11297,220,220,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(221,11297,221,221,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(222,11297,222,222,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(223,11297,223,223,NULL,0,NULL,'2025-04-04 15:54:10','2025-04-04 15:54:10',NULL),(224,11297,224,224,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(225,11297,225,225,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(226,11297,226,226,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(227,11297,227,227,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(228,11297,228,228,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(229,11297,229,229,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(230,11297,230,230,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(231,11297,231,231,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(232,11297,232,232,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(233,11297,233,233,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(234,11297,234,234,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(235,11297,235,235,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(236,11297,236,236,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(237,11297,237,237,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(238,11297,238,238,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(239,11297,239,239,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(240,11297,240,240,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(241,11297,241,241,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(242,11297,242,242,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(243,11297,243,243,NULL,0,NULL,'2025-04-04 15:54:11','2025-04-04 15:54:11',NULL),(244,11297,244,244,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(245,11297,245,245,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(246,11297,246,246,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(247,11297,247,247,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(248,11297,248,248,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(249,11297,249,249,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(250,11297,250,250,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (251,11297,251,251,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(252,11297,252,252,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(253,11297,253,253,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(254,11297,254,254,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(255,11297,255,255,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(256,11297,256,256,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(257,11297,257,257,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(258,11297,258,258,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(259,11297,259,259,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(260,11297,260,260,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(261,11297,261,261,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(262,11297,262,262,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(263,11297,263,263,NULL,0,NULL,'2025-04-04 15:54:12','2025-04-04 15:54:12',NULL),(264,11297,264,264,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(265,11297,265,265,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(266,11297,266,266,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(267,11297,267,267,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(268,11297,268,268,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(269,11297,269,269,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(270,11297,270,270,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(271,11297,271,271,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(272,11297,272,272,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(273,11297,273,273,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(274,11297,274,274,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(275,11297,275,275,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(276,11297,276,276,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(277,11297,277,277,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(278,11297,278,278,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(279,11297,279,279,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(280,11297,280,280,NULL,0,NULL,'2025-04-04 15:54:13','2025-04-04 15:54:13',NULL),(281,11297,281,281,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(282,11297,282,282,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(283,11297,283,283,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(284,11297,284,284,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(285,11297,285,285,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(286,11297,286,286,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(287,11297,287,287,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(288,11297,288,288,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(289,11297,289,289,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(290,11297,290,290,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(291,11297,291,291,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(292,11297,292,292,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(293,11297,293,293,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(294,11297,294,294,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(295,11297,295,295,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(296,11297,296,296,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(297,11297,297,297,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(298,11297,298,298,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL),(299,11297,299,299,NULL,0,NULL,'2025-04-04 15:54:14','2025-04-04 15:54:14',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (300,11297,300,300,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(301,11297,301,301,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(302,11297,302,302,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(303,11297,303,303,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(304,11297,304,304,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(305,11297,305,305,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(306,11297,306,306,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(307,11297,307,307,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(308,11297,308,308,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(309,11297,309,309,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(310,11297,310,310,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(311,11297,311,311,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(312,11297,312,312,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(313,11297,313,313,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(314,11297,314,314,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(315,11297,315,315,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(316,11297,316,316,NULL,0,NULL,'2025-04-04 15:54:15','2025-04-04 15:54:15',NULL),(317,11297,317,317,NULL,0,NULL,'2025-04-04 15:54:16','2025-04-04 15:54:16',NULL),(318,11297,318,318,NULL,0,NULL,'2025-04-04 15:54:16','2025-04-04 15:54:16',NULL),(319,11297,319,319,NULL,0,NULL,'2025-04-04 15:54:16','2025-04-04 15:54:16',NULL),(320,11297,320,320,NULL,0,NULL,'2025-04-04 15:54:16','2025-04-04 15:54:16',NULL),(321,11297,321,321,NULL,0,NULL,'2025-04-04 15:54:16','2025-04-04 15:54:16',NULL),(322,11297,322,322,NULL,0,NULL,'2025-04-04 15:54:16','2025-04-04 15:54:16',NULL),(323,11297,323,323,NULL,0,NULL,'2025-04-04 15:54:16','2025-04-04 15:54:16',NULL),(324,11297,324,324,NULL,0,NULL,'2025-04-04 15:54:16','2025-04-04 15:54:16',NULL),(325,11297,325,325,NULL,0,NULL,'2025-04-04 15:54:16','2025-04-04 15:54:16',NULL),(326,11297,326,326,NULL,0,NULL,'2025-04-04 15:54:16','2025-04-04 15:54:16',NULL),(327,11297,327,327,NULL,0,NULL,'2025-04-04 15:54:16','2025-04-04 15:54:16',NULL),(328,11297,328,328,NULL,0,NULL,'2025-04-04 15:54:16','2025-04-04 15:54:16',NULL),(329,11297,329,329,NULL,0,NULL,'2025-04-04 15:54:17','2025-04-04 15:54:17',NULL),(330,11297,330,330,NULL,0,NULL,'2025-04-04 15:54:17','2025-04-04 15:54:17',NULL),(331,11297,331,331,NULL,0,NULL,'2025-04-04 15:54:17','2025-04-04 15:54:17',NULL),(332,11297,332,332,NULL,0,NULL,'2025-04-04 15:54:17','2025-04-04 15:54:17',NULL),(333,11297,333,333,NULL,0,NULL,'2025-04-04 15:54:17','2025-04-04 15:54:17',NULL),(334,11297,334,334,NULL,0,NULL,'2025-04-04 15:54:17','2025-04-04 15:54:17',NULL),(335,11297,335,335,NULL,0,NULL,'2025-04-04 15:54:17','2025-04-04 15:54:17',NULL),(336,11297,336,336,NULL,0,NULL,'2025-04-04 15:54:17','2025-04-04 15:54:17',NULL),(337,11297,337,337,NULL,0,NULL,'2025-04-04 15:54:17','2025-04-04 15:54:17',NULL),(338,11297,338,338,NULL,0,NULL,'2025-04-04 15:54:17','2025-04-04 15:54:17',NULL),(339,11297,339,339,NULL,0,NULL,'2025-04-04 15:54:17','2025-04-04 15:54:17',NULL),(340,11297,340,340,NULL,0,NULL,'2025-04-04 15:54:18','2025-04-04 15:54:18',NULL),(341,11297,341,341,NULL,0,NULL,'2025-04-04 15:54:18','2025-04-04 15:54:18',NULL),(342,11297,342,342,NULL,0,NULL,'2025-04-04 15:54:18','2025-04-04 15:54:18',NULL),(343,11297,343,343,NULL,0,NULL,'2025-04-04 15:54:18','2025-04-04 15:54:18',NULL),(344,11297,344,344,NULL,0,NULL,'2025-04-04 15:54:18','2025-04-04 15:54:18',NULL),(345,11297,345,345,NULL,0,NULL,'2025-04-04 15:54:18','2025-04-04 15:54:18',NULL),(346,11297,346,346,NULL,0,NULL,'2025-04-04 15:54:18','2025-04-04 15:54:18',NULL),(347,11297,347,347,NULL,0,NULL,'2025-04-04 15:54:18','2025-04-04 15:54:18',NULL),(348,11297,348,348,NULL,0,NULL,'2025-04-04 15:54:18','2025-04-04 15:54:18',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (349,11297,349,349,NULL,0,NULL,'2025-04-04 15:54:18','2025-04-04 15:54:18',NULL),(350,11297,350,350,NULL,0,NULL,'2025-04-04 15:54:18','2025-04-04 15:54:18',NULL),(351,11297,351,351,NULL,0,NULL,'2025-04-04 15:54:18','2025-04-04 15:54:18',NULL),(352,11297,352,352,NULL,0,NULL,'2025-04-04 15:54:18','2025-04-04 15:54:18',NULL),(353,11297,353,353,NULL,0,NULL,'2025-04-04 15:54:19','2025-04-04 15:54:19',NULL),(354,11297,354,354,NULL,0,NULL,'2025-04-04 15:54:19','2025-04-04 15:54:19',NULL),(355,11297,355,355,NULL,0,NULL,'2025-04-04 15:54:19','2025-04-04 15:54:19',NULL),(356,11297,356,356,NULL,0,NULL,'2025-04-04 15:54:19','2025-04-04 15:54:19',NULL),(357,11297,357,357,NULL,0,NULL,'2025-04-04 15:54:19','2025-04-04 15:54:19',NULL),(358,11297,358,358,NULL,0,NULL,'2025-04-04 15:54:19','2025-04-04 15:54:19',NULL),(359,11297,359,359,NULL,0,NULL,'2025-04-04 15:54:19','2025-04-04 15:54:19',NULL),(360,11297,360,360,NULL,0,NULL,'2025-04-04 15:54:19','2025-04-04 15:54:19',NULL),(361,11297,361,361,NULL,0,NULL,'2025-04-04 15:54:19','2025-04-04 15:54:19',NULL),(362,11297,362,362,NULL,0,NULL,'2025-04-04 15:54:19','2025-04-04 15:54:19',NULL),(363,11297,363,363,NULL,0,NULL,'2025-04-04 15:54:19','2025-04-04 15:54:19',NULL),(364,11297,364,364,NULL,0,NULL,'2025-04-04 15:54:19','2025-04-04 15:54:19',NULL),(365,11297,365,365,NULL,0,NULL,'2025-04-04 15:54:20','2025-04-04 15:54:20',NULL),(366,11297,366,366,NULL,0,NULL,'2025-04-04 15:54:20','2025-04-04 15:54:20',NULL),(367,11297,367,367,NULL,0,NULL,'2025-04-04 15:54:20','2025-04-04 15:54:20',NULL),(368,11297,368,368,NULL,0,NULL,'2025-04-04 15:54:20','2025-04-04 15:54:20',NULL),(369,11297,369,369,NULL,0,NULL,'2025-04-04 15:54:20','2025-04-04 15:54:20',NULL),(370,11297,370,370,NULL,0,NULL,'2025-04-04 15:54:20','2025-04-04 15:54:20',NULL),(371,11297,371,371,NULL,0,NULL,'2025-04-04 15:54:20','2025-04-04 15:54:20',NULL),(372,11297,372,372,NULL,0,NULL,'2025-04-04 15:54:20','2025-04-04 15:54:20',NULL),(373,11297,373,373,NULL,0,NULL,'2025-04-04 15:54:20','2025-04-04 15:54:20',NULL),(374,11297,374,374,NULL,0,NULL,'2025-04-04 15:54:20','2025-04-04 15:54:20',NULL),(375,11297,375,375,NULL,0,NULL,'2025-04-04 15:54:20','2025-04-04 15:54:20',NULL),(376,11297,376,376,NULL,0,NULL,'2025-04-04 15:54:21','2025-04-04 15:54:21',NULL),(377,11297,377,377,NULL,0,NULL,'2025-04-04 15:54:21','2025-04-04 15:54:21',NULL),(378,11297,378,378,NULL,0,NULL,'2025-04-04 15:54:21','2025-04-04 15:54:21',NULL),(379,11297,379,379,NULL,0,NULL,'2025-04-04 15:54:21','2025-04-04 15:54:21',NULL),(380,11297,380,380,NULL,0,NULL,'2025-04-04 15:54:21','2025-04-04 15:54:21',NULL),(381,11297,381,381,NULL,0,NULL,'2025-04-04 15:54:21','2025-04-04 15:54:21',NULL),(382,11297,382,382,NULL,0,NULL,'2025-04-04 15:54:21','2025-04-04 15:54:21',NULL),(383,11297,383,383,NULL,0,NULL,'2025-04-04 15:54:21','2025-04-04 15:54:21',NULL),(384,11297,384,384,NULL,0,NULL,'2025-04-04 15:54:21','2025-04-04 15:54:21',NULL),(385,11297,385,385,NULL,0,NULL,'2025-04-04 15:54:21','2025-04-04 15:54:21',NULL),(386,11297,386,386,NULL,0,NULL,'2025-04-04 15:54:21','2025-04-04 15:54:21',NULL),(387,11297,387,387,NULL,0,NULL,'2025-04-04 15:54:21','2025-04-04 15:54:21',NULL),(388,11297,388,388,NULL,0,NULL,'2025-04-04 15:54:21','2025-04-04 15:54:21',NULL),(389,11297,389,389,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL),(390,11297,390,390,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL),(391,11297,391,391,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL),(392,11297,392,392,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL),(393,11297,393,393,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL),(394,11297,394,394,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL),(395,11297,395,395,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL),(396,11297,396,396,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL),(397,11297,397,397,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (398,11297,398,398,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL),(399,11297,399,399,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL),(400,11297,400,400,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL),(401,11297,401,401,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL),(402,11297,402,402,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL),(403,11297,403,403,NULL,0,NULL,'2025-04-04 15:54:22','2025-04-04 15:54:22',NULL),(404,11297,404,404,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(405,11297,405,405,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(406,11297,406,406,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(407,11297,407,407,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(408,11297,408,408,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(409,11297,409,409,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(410,11297,410,410,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(411,11297,411,411,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(412,11297,412,412,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(413,11297,413,413,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(414,11297,414,414,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(415,11297,415,415,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(416,11297,416,416,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(417,11297,417,417,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(418,11297,418,418,NULL,0,NULL,'2025-04-04 15:54:23','2025-04-04 15:54:23',NULL),(419,11297,419,419,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(420,11297,420,420,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(421,11297,421,421,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(422,11297,422,422,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(423,11297,423,423,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(424,11297,424,424,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(425,11297,425,425,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(426,11297,426,426,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(427,11297,427,427,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(428,11297,428,428,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(429,11297,429,429,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(430,11297,430,430,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(431,11297,431,431,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(432,11297,432,432,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(433,11297,433,433,NULL,0,NULL,'2025-04-04 15:54:24','2025-04-04 15:54:24',NULL),(434,11297,434,434,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(435,11297,435,435,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(436,11297,436,436,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(437,11297,437,437,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(438,11297,438,438,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(439,11297,439,439,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(440,11297,440,440,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(441,11297,441,441,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(442,11297,442,442,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(443,11297,443,443,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(444,11297,444,444,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(445,11297,445,445,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(446,11297,446,446,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (447,11297,447,447,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(448,11297,448,448,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(449,11297,449,449,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(450,11297,450,450,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(451,11297,451,451,NULL,0,NULL,'2025-04-04 15:54:25','2025-04-04 15:54:25',NULL),(452,11297,452,452,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(453,11297,453,453,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(454,11297,454,454,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(455,11297,455,455,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(456,11297,456,456,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(457,11297,457,457,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(458,11297,458,458,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(459,11297,459,459,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(460,11297,460,460,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(461,11297,461,461,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(462,11297,462,462,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(463,11297,463,463,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(464,11297,464,464,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(465,11297,465,465,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(466,11297,466,466,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(467,11297,467,467,NULL,0,NULL,'2025-04-04 15:54:26','2025-04-04 15:54:26',NULL),(468,11297,468,468,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(469,11297,469,469,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(470,11297,470,470,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(471,11297,471,471,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(472,11297,472,472,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(473,11297,473,473,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(474,11297,474,474,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(475,11297,475,475,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(476,11297,476,476,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(477,11297,477,477,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(478,11297,478,478,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(479,11297,479,479,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(480,11297,480,480,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(481,11297,481,481,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(482,11297,482,482,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(483,11297,483,483,NULL,0,NULL,'2025-04-04 15:54:27','2025-04-04 15:54:27',NULL),(484,11297,484,484,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(485,11297,485,485,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(486,11297,486,486,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(487,11297,487,487,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(488,11297,488,488,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(489,11297,489,489,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(490,11297,490,490,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(491,11297,491,491,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(492,11297,492,492,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(493,11297,493,493,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(494,11297,494,494,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(495,11297,495,495,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (496,11297,496,496,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(497,11297,497,497,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(498,11297,498,498,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(499,11297,499,499,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(500,11297,500,500,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(501,11297,501,501,NULL,0,NULL,'2025-04-04 15:54:28','2025-04-04 15:54:28',NULL),(502,11297,502,502,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(503,11297,503,503,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(504,11297,504,504,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(505,11297,505,505,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(506,11297,506,506,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(507,11297,507,507,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(508,11297,508,508,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(509,11297,509,509,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(510,11297,510,510,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(511,11297,511,511,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(512,11297,512,512,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(513,11297,513,513,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(514,11297,514,514,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(515,11297,515,515,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(516,11297,516,516,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(517,11297,517,517,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(518,11297,518,518,NULL,0,NULL,'2025-04-04 15:54:29','2025-04-04 15:54:29',NULL),(519,11297,519,519,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(520,11297,520,520,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(521,11297,521,521,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(522,11297,522,522,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(523,11297,523,523,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(524,11297,524,524,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(525,11297,525,525,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(526,11297,526,526,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(527,11297,527,527,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(528,11297,528,528,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(529,11297,529,529,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(530,11297,530,530,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(531,11297,531,531,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(532,11297,532,532,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(533,11297,533,533,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(534,11297,534,534,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(535,11297,535,535,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(536,11297,536,536,NULL,0,NULL,'2025-04-04 15:54:30','2025-04-04 15:54:30',NULL),(537,11297,537,537,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(538,11297,538,538,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(539,11297,539,539,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(540,11297,540,540,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(541,11297,541,541,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(542,11297,542,542,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(543,11297,543,543,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(544,11297,544,544,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (545,11297,545,545,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(546,11297,546,546,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(547,11297,547,547,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(548,11297,548,548,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(549,11297,549,549,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(550,11297,550,550,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(551,11297,551,551,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(552,11297,552,552,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(553,11297,553,553,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(554,11297,554,554,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(555,11297,555,555,NULL,0,NULL,'2025-04-04 15:54:31','2025-04-04 15:54:31',NULL),(556,11297,556,556,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(557,11297,557,557,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(558,11297,558,558,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(559,11297,559,559,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(560,11297,560,560,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(561,11297,561,561,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(562,11297,562,562,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(563,11297,563,563,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(564,11297,564,564,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(565,11297,565,565,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(566,11297,566,566,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(567,11297,567,567,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(568,11297,568,568,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(569,11297,569,569,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(570,11297,570,570,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(571,11297,571,571,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(572,11297,572,572,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(573,11297,573,573,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(574,11297,574,574,NULL,0,NULL,'2025-04-04 15:54:32','2025-04-04 15:54:32',NULL),(575,11297,575,575,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(576,11297,576,576,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(577,11297,577,577,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(578,11297,578,578,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(579,11297,579,579,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(580,11297,580,580,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(581,11297,581,581,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(582,11297,582,582,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(583,11297,583,583,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(584,11297,584,584,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(585,11297,585,585,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(586,11297,586,586,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(587,11297,587,587,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(588,11297,588,588,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(589,11297,589,589,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(590,11297,590,590,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(591,11297,591,591,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(592,11297,592,592,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(593,11297,593,593,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (594,11297,594,594,NULL,0,NULL,'2025-04-04 15:54:33','2025-04-04 15:54:33',NULL),(595,11297,595,595,NULL,0,NULL,'2025-04-04 15:54:34','2025-04-04 15:54:34',NULL),(596,11297,596,596,NULL,0,NULL,'2025-04-04 15:54:34','2025-04-04 15:54:34',NULL),(597,11297,597,597,NULL,0,NULL,'2025-04-04 15:54:34','2025-04-04 15:54:34',NULL),(598,11297,598,598,NULL,0,NULL,'2025-04-04 15:54:34','2025-04-04 15:54:34',NULL),(599,11297,599,599,NULL,0,NULL,'2025-04-04 16:06:17','2025-04-04 16:06:17',NULL),(600,11297,600,600,NULL,0,NULL,'2025-04-09 11:52:06','2025-04-09 11:52:06',NULL),(601,11297,601,601,NULL,0,NULL,'2025-04-10 10:49:34','2025-04-10 10:49:34',NULL),(602,11297,602,602,NULL,0,NULL,'2025-04-10 10:50:57','2025-04-10 10:50:57',NULL),(603,11297,603,603,NULL,0,NULL,'2025-04-11 11:11:38','2025-04-11 11:11:38',NULL),(604,11297,604,604,NULL,0,NULL,'2025-04-11 11:13:40','2025-04-11 11:13:40',NULL),(605,11297,605,605,NULL,0,NULL,'2025-04-11 11:16:31','2025-04-11 11:16:31',NULL),(606,11297,606,606,NULL,0,NULL,'2025-04-11 15:51:37','2025-04-11 15:51:37',NULL),(607,11297,607,607,NULL,0,NULL,'2025-04-11 16:13:26','2025-04-11 16:13:26',NULL),(608,11297,608,608,NULL,0,NULL,'2025-04-14 08:57:00','2025-04-14 08:57:00',NULL),(609,11297,609,609,NULL,0,NULL,'2025-04-14 10:49:39','2025-04-14 10:49:39',NULL),(610,11297,610,610,NULL,0,NULL,'2025-04-14 10:51:05','2025-04-14 10:51:05',NULL),(611,11297,611,611,NULL,0,NULL,'2025-04-14 10:52:36','2025-04-14 10:52:36',NULL),(612,11297,612,612,NULL,0,NULL,'2025-04-14 10:53:34','2025-04-14 10:53:34',NULL),(613,11297,613,613,NULL,0,NULL,'2025-04-15 09:40:24','2025-04-15 09:40:24',NULL),(614,11297,614,614,NULL,0,NULL,'2025-04-15 09:44:29','2025-04-15 09:44:29',NULL),(615,11297,615,615,NULL,0,NULL,'2025-04-15 09:46:40','2025-04-15 09:46:40',NULL),(616,11297,616,616,NULL,0,NULL,'2025-04-15 15:34:02','2025-04-15 15:34:02',NULL),(617,11297,617,617,NULL,0,NULL,'2025-04-15 16:05:02','2025-04-15 16:05:02',NULL),(618,11297,618,618,NULL,0,NULL,'2025-04-15 16:06:49','2025-04-15 16:06:49',NULL),(619,11297,619,619,NULL,0,NULL,'2025-04-15 16:17:10','2025-04-15 16:17:10',NULL),(620,11297,620,620,NULL,0,NULL,'2025-04-21 09:59:23','2025-04-21 09:59:23',NULL),(621,11297,621,621,NULL,0,NULL,'2025-04-21 10:01:46','2025-04-21 10:01:46',NULL),(622,11297,622,622,NULL,0,NULL,'2025-04-21 12:52:36','2025-04-21 12:52:36',NULL),(623,11297,623,623,NULL,0,NULL,'2025-04-21 12:54:51','2025-04-21 12:54:51',NULL),(624,11297,624,624,NULL,0,NULL,'2025-04-21 16:54:51','2025-04-21 16:54:51',NULL),(625,11297,625,625,NULL,0,NULL,'2025-04-22 09:59:40','2025-04-22 09:59:40',NULL),(626,11297,626,626,NULL,0,NULL,'2025-04-22 10:01:45','2025-04-22 10:01:45',NULL),(627,11297,627,627,NULL,0,NULL,'2025-04-22 10:04:27','2025-04-22 10:04:27',NULL),(628,11297,628,628,NULL,0,NULL,'2025-04-22 14:49:18','2025-04-22 14:49:18',NULL),(629,11297,629,629,NULL,0,NULL,'2025-04-22 14:50:32','2025-04-22 14:50:32',NULL),(630,11297,630,630,NULL,0,NULL,'2025-04-22 15:52:25','2025-04-22 15:52:25',NULL),(631,11297,631,631,NULL,0,NULL,'2025-04-24 10:44:24','2025-04-24 10:44:24',NULL),(632,11297,632,632,NULL,0,NULL,'2025-04-28 11:14:29','2025-04-28 11:14:29',NULL),(633,11297,633,633,NULL,0,NULL,'2025-04-28 11:15:52','2025-04-28 11:15:52',NULL),(634,11297,634,634,NULL,0,NULL,'2025-04-28 11:18:46','2025-04-28 11:18:46',NULL),(635,11297,635,635,NULL,0,NULL,'2025-04-28 11:20:07','2025-04-28 11:20:07',NULL),(636,11297,636,636,NULL,0,NULL,'2025-04-28 11:21:44','2025-04-28 11:21:44',NULL),(637,11297,637,637,NULL,0,NULL,'2025-04-28 11:24:18','2025-04-28 11:24:18',NULL),(638,11297,638,638,NULL,0,NULL,'2025-04-28 16:41:28','2025-04-28 16:41:28',NULL),(639,11297,639,639,NULL,0,NULL,'2025-04-29 10:43:29','2025-04-29 10:43:29',NULL),(640,11297,640,640,NULL,0,NULL,'2025-04-29 11:36:45','2025-04-29 11:36:45',NULL),(641,11297,641,641,NULL,0,NULL,'2025-04-29 11:41:08','2025-04-29 11:41:08',NULL),(642,11297,642,642,NULL,0,NULL,'2025-04-29 11:46:29','2025-04-29 11:46:29',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (643,11297,643,643,NULL,0,NULL,'2025-04-29 11:53:52','2025-04-29 11:53:52',NULL),(644,11297,644,644,NULL,0,NULL,'2025-04-29 11:58:39','2025-04-29 11:58:39',NULL),(645,11297,645,645,NULL,0,NULL,'2025-04-29 12:03:46','2025-04-29 12:03:46',NULL),(646,11297,646,646,NULL,0,NULL,'2025-04-29 12:09:17','2025-04-29 12:09:17',NULL),(647,11297,647,647,NULL,0,NULL,'2025-04-29 12:13:02','2025-04-29 12:13:02',NULL),(648,11297,648,648,NULL,0,NULL,'2025-04-29 12:15:20','2025-04-29 12:15:20',NULL),(649,11297,649,649,NULL,0,NULL,'2025-04-29 12:16:45','2025-04-29 12:16:45',NULL),(650,11297,650,650,NULL,0,NULL,'2025-04-29 12:18:25','2025-04-29 12:18:25',NULL),(651,11297,651,651,NULL,0,NULL,'2025-04-29 12:21:23','2025-04-29 12:21:23',NULL),(652,11297,652,652,NULL,0,NULL,'2025-04-29 13:48:43','2025-04-29 13:48:43',NULL),(653,11297,653,653,NULL,0,NULL,'2025-04-30 08:16:59','2025-04-30 08:16:59',NULL),(654,11297,654,654,NULL,0,NULL,'2025-04-30 09:00:21','2025-04-30 09:00:21',NULL),(655,11297,655,655,NULL,0,NULL,'2025-06-03 11:08:24','2025-06-03 11:08:24',NULL),(656,11297,656,656,NULL,0,NULL,'2025-06-03 11:10:02','2025-06-03 11:10:02',NULL),(657,11297,657,657,NULL,0,NULL,'2025-06-03 11:11:15','2025-06-03 11:11:15',NULL),(658,11297,658,658,NULL,0,NULL,'2025-06-03 11:12:32','2025-06-03 11:12:32',NULL),(659,11297,659,659,NULL,0,NULL,'2025-06-03 11:13:31','2025-06-03 11:13:31',NULL),(660,11297,660,660,NULL,0,NULL,'2025-06-03 11:14:53','2025-06-03 11:14:53',NULL),(661,11297,661,661,NULL,0,NULL,'2025-06-03 11:15:58','2025-06-03 11:15:58',NULL),(662,11297,662,662,NULL,0,NULL,'2025-06-03 11:16:58','2025-06-03 11:16:58',NULL),(663,11297,663,663,NULL,0,NULL,'2025-06-03 11:18:16','2025-06-03 11:18:16',NULL),(664,11297,664,664,NULL,0,NULL,'2025-06-03 11:22:22','2025-06-03 11:22:22',NULL),(665,11297,665,665,NULL,0,NULL,'2025-06-03 11:25:37','2025-06-03 11:25:37',NULL),(666,11297,666,666,NULL,0,NULL,'2025-06-03 11:28:54','2025-06-03 11:28:54',NULL),(667,11297,667,667,NULL,0,NULL,'2025-06-03 11:30:19','2025-06-03 11:30:19',NULL),(668,11297,668,668,NULL,0,NULL,'2025-06-03 11:31:44','2025-06-03 11:31:44',NULL),(669,11297,669,669,NULL,0,NULL,'2025-06-03 11:33:02','2025-06-03 11:33:02',NULL),(670,11297,670,670,NULL,0,NULL,'2025-06-03 11:33:57','2025-06-03 11:33:57',NULL),(671,11297,671,671,NULL,0,NULL,'2025-06-03 11:35:51','2025-06-03 11:35:51',NULL),(672,11297,672,672,NULL,0,NULL,'2025-06-03 11:36:33','2025-06-03 11:36:33',NULL),(673,11297,673,673,NULL,0,NULL,'2025-06-03 11:39:43','2025-06-03 11:39:43',NULL),(674,11297,674,674,NULL,0,NULL,'2025-06-03 11:40:49','2025-06-03 11:40:49',NULL),(675,11297,675,675,NULL,0,NULL,'2025-06-03 11:42:25','2025-06-03 11:42:25',NULL),(676,11297,676,676,NULL,0,NULL,'2025-06-03 11:43:05','2025-06-03 11:43:05',NULL),(677,11297,677,677,NULL,0,NULL,'2025-06-03 11:43:46','2025-06-03 11:43:46',NULL),(678,11297,678,678,NULL,0,NULL,'2025-06-03 11:45:08','2025-06-03 11:45:08',NULL),(679,11297,679,679,NULL,0,NULL,'2025-06-03 11:45:51','2025-06-03 11:45:51',NULL),(680,11297,680,680,NULL,0,NULL,'2025-06-03 11:58:00','2025-06-03 11:58:00',NULL),(681,11297,681,681,NULL,0,NULL,'2025-06-03 12:01:25','2025-06-03 12:01:25',NULL),(682,11297,682,682,NULL,0,NULL,'2025-06-03 12:04:21','2025-06-03 12:04:21',NULL),(683,11297,683,683,NULL,0,NULL,'2025-06-03 12:05:47','2025-06-03 12:05:47',NULL),(684,11297,684,684,NULL,0,NULL,'2025-06-03 12:08:52','2025-06-03 12:08:52',NULL),(685,11297,685,685,NULL,0,NULL,'2025-06-03 12:10:58','2025-06-03 12:10:58',NULL),(686,11297,686,686,NULL,0,NULL,'2025-06-03 12:12:37','2025-06-03 12:12:37',NULL),(687,11297,687,687,NULL,0,NULL,'2025-06-03 12:31:57','2025-06-03 12:31:57',NULL),(688,11297,688,688,NULL,0,NULL,'2025-06-03 12:34:16','2025-06-03 12:34:16',NULL),(689,11297,689,689,NULL,0,NULL,'2025-06-03 12:36:49','2025-06-03 12:36:49',NULL),(690,11297,690,690,NULL,0,NULL,'2025-07-16 14:49:02','2025-07-16 14:49:02',NULL),(691,11297,691,691,NULL,0,NULL,'2025-07-16 14:56:37','2025-07-16 14:56:37',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (692,11297,692,692,NULL,0,NULL,'2025-07-16 14:57:46','2025-07-16 14:57:46',NULL),(693,11297,693,693,NULL,0,NULL,'2025-07-16 15:01:16','2025-07-16 15:01:16',NULL),(694,11297,694,694,NULL,0,NULL,'2025-07-16 15:02:06','2025-07-16 15:02:06',NULL),(695,11297,695,695,NULL,0,NULL,'2025-07-16 15:04:13','2025-07-16 15:04:13',NULL),(696,11297,696,696,NULL,0,NULL,'2025-07-16 15:04:57','2025-07-16 15:04:57',NULL),(697,11297,697,697,NULL,0,NULL,'2025-07-16 15:10:25','2025-07-16 15:10:25',NULL),(698,11297,698,698,NULL,0,NULL,'2025-07-16 15:14:04','2025-07-16 15:14:04',NULL),(699,11297,699,699,NULL,0,NULL,'2025-07-16 15:22:14','2025-07-16 15:22:14',NULL),(700,11297,700,700,NULL,0,NULL,'2025-07-16 15:23:45','2025-07-16 15:23:45',NULL),(701,11297,701,701,NULL,0,NULL,'2025-07-16 15:25:37','2025-07-16 15:25:37',NULL),(702,11297,702,702,NULL,0,NULL,'2025-07-16 15:28:27','2025-07-16 15:28:27',NULL),(703,11297,703,703,NULL,0,NULL,'2025-07-16 15:30:59','2025-07-16 15:30:59',NULL),(704,11297,704,704,NULL,0,NULL,'2025-07-16 15:31:42','2025-07-16 15:31:42',NULL),(705,11297,705,705,NULL,0,NULL,'2025-07-16 15:32:14','2025-07-16 15:32:14',NULL),(706,11297,706,706,NULL,0,NULL,'2025-07-16 15:33:46','2025-07-16 15:33:46',NULL),(707,11297,707,707,NULL,0,NULL,'2025-07-16 15:36:13','2025-07-16 15:36:13',NULL),(708,11297,708,708,NULL,0,NULL,'2025-07-16 15:38:21','2025-07-16 15:38:21',NULL),(709,11297,709,709,NULL,0,NULL,'2025-07-16 15:40:24','2025-07-16 15:40:24',NULL),(710,11297,710,710,NULL,0,NULL,'2025-07-16 15:41:50','2025-07-16 15:41:50',NULL),(711,11297,711,711,NULL,0,NULL,'2025-07-16 15:44:05','2025-07-16 15:44:05',NULL),(712,11297,712,712,NULL,0,NULL,'2025-07-16 15:50:02','2025-07-16 15:50:02',NULL),(713,11297,713,713,NULL,0,NULL,'2025-07-16 15:56:04','2025-07-16 15:56:04',NULL),(714,11297,714,714,NULL,0,NULL,'2025-07-16 15:58:20','2025-07-16 15:58:20',NULL),(715,11297,715,715,NULL,0,NULL,'2025-07-16 16:08:49','2025-07-16 16:08:49',NULL),(716,11297,716,716,NULL,0,NULL,'2025-07-16 16:11:25','2025-07-16 16:11:25',NULL),(717,11297,717,717,NULL,0,NULL,'2025-07-16 16:12:40','2025-07-16 16:12:40',NULL),(718,11297,718,718,NULL,0,NULL,'2025-07-16 16:13:39','2025-07-16 16:13:39',NULL),(719,11297,719,719,NULL,0,NULL,'2025-07-16 16:15:27','2025-07-16 16:15:27',NULL),(720,11297,720,720,NULL,0,NULL,'2025-07-16 16:16:36','2025-07-16 16:16:36',NULL),(721,11297,721,721,NULL,0,NULL,'2025-07-16 16:18:30','2025-07-16 16:18:30',NULL),(722,11297,722,722,NULL,0,NULL,'2025-07-16 16:20:41','2025-07-16 16:20:41',NULL),(723,11297,723,723,NULL,0,NULL,'2025-07-16 16:21:49','2025-07-16 16:21:49',NULL),(724,11297,724,724,NULL,0,NULL,'2025-07-16 16:23:14','2025-07-16 16:23:14',NULL),(725,11297,725,725,NULL,0,NULL,'2025-07-16 16:24:25','2025-07-16 16:24:25',NULL),(726,11297,726,726,NULL,0,NULL,'2025-07-16 16:25:33','2025-07-16 16:25:33',NULL),(727,11297,727,727,NULL,0,NULL,'2025-07-16 16:28:03','2025-07-16 16:28:03',NULL),(728,11297,728,728,NULL,0,NULL,'2025-07-16 16:29:15','2025-07-16 16:29:15',NULL),(729,11297,729,729,NULL,0,NULL,'2025-07-16 16:31:29','2025-07-16 16:31:29',NULL),(730,11297,730,730,NULL,0,NULL,'2025-07-16 16:32:53','2025-07-16 16:32:53',NULL),(731,11297,731,731,NULL,0,NULL,'2025-07-16 16:34:23','2025-07-16 16:34:23',NULL),(732,11297,732,732,NULL,0,NULL,'2025-07-16 16:35:40','2025-07-16 16:35:40',NULL),(733,11297,733,733,NULL,0,NULL,'2025-07-16 16:36:47','2025-07-16 16:36:47',NULL),(734,11297,734,734,NULL,0,NULL,'2025-07-16 16:37:50','2025-07-16 16:37:50',NULL),(735,11297,735,735,NULL,0,NULL,'2025-07-16 16:38:46','2025-07-16 16:38:46',NULL),(736,11297,736,736,NULL,0,NULL,'2025-07-16 16:40:02','2025-07-16 16:40:02',NULL),(737,11297,737,737,NULL,0,NULL,'2025-08-11 14:08:06','2025-08-11 14:08:06',NULL),(738,11297,738,738,NULL,0,NULL,'2025-08-11 14:10:54','2025-08-11 14:10:54',NULL),(739,11297,739,739,NULL,0,NULL,'2025-08-11 14:12:55','2025-08-11 14:12:55',NULL),(740,11297,740,740,NULL,0,NULL,'2025-08-11 14:14:11','2025-08-11 14:14:11',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (741,11297,741,741,NULL,0,NULL,'2025-08-11 14:16:59','2025-08-11 14:16:59',NULL),(742,11297,742,742,NULL,0,NULL,'2025-08-11 14:21:04','2025-08-11 14:21:04',NULL),(743,11297,743,743,NULL,0,NULL,'2025-08-11 14:21:58','2025-08-11 14:21:58',NULL),(744,11297,744,744,NULL,0,NULL,'2025-08-11 14:22:55','2025-08-11 14:22:55',NULL),(745,11297,745,745,NULL,0,NULL,'2025-08-11 14:23:58','2025-08-11 14:23:58',NULL),(746,11297,746,746,NULL,0,NULL,'2025-08-11 14:24:50','2025-08-11 14:24:50',NULL),(747,11297,747,747,NULL,0,NULL,'2025-08-11 14:26:43','2025-08-11 14:26:43',NULL),(748,11297,748,748,NULL,0,NULL,'2025-08-11 14:28:37','2025-08-11 14:28:37',NULL),(749,11297,749,749,NULL,0,NULL,'2025-08-11 14:32:10','2025-08-11 14:32:10',NULL),(750,11297,750,750,NULL,0,NULL,'2025-08-11 14:33:07','2025-08-11 14:33:07',NULL),(751,11297,751,751,NULL,0,NULL,'2025-08-11 14:33:49','2025-08-11 14:33:49',NULL),(752,11297,752,752,NULL,0,NULL,'2025-08-11 14:35:41','2025-08-11 14:35:41',NULL),(753,11297,753,753,NULL,0,NULL,'2025-08-11 14:39:11','2025-08-11 14:39:11',NULL),(754,11297,754,754,NULL,0,NULL,'2025-08-11 14:41:31','2025-08-11 14:41:31',NULL),(755,11297,755,755,NULL,0,NULL,'2025-08-11 14:43:21','2025-08-11 14:43:21',NULL),(756,11297,756,756,NULL,0,NULL,'2025-08-11 14:44:32','2025-08-11 14:44:32',NULL),(757,11297,757,757,NULL,0,NULL,'2025-08-11 14:45:29','2025-08-11 14:45:29',NULL),(758,11297,758,758,NULL,0,NULL,'2025-08-11 14:47:10','2025-08-11 14:47:10',NULL),(759,11297,759,759,NULL,0,NULL,'2025-08-11 14:48:08','2025-08-11 14:48:08',NULL),(760,11297,760,760,NULL,0,NULL,'2025-08-11 14:48:57','2025-08-11 14:48:57',NULL),(761,11297,761,761,NULL,0,NULL,'2025-08-11 14:53:09','2025-08-11 14:53:09',NULL),(762,11297,762,762,NULL,0,NULL,'2025-08-11 14:54:19','2025-08-11 14:54:19',NULL),(763,11297,763,763,NULL,0,NULL,'2025-08-11 14:55:57','2025-08-11 14:55:57',NULL),(764,11297,764,764,NULL,0,NULL,'2025-08-11 15:00:25','2025-08-11 15:00:25',NULL),(765,11297,765,765,NULL,0,NULL,'2025-08-11 15:03:15','2025-08-11 15:03:15',NULL),(766,11297,766,766,NULL,0,NULL,'2025-08-11 15:05:27','2025-08-11 15:05:27',NULL),(767,11297,767,767,NULL,0,NULL,'2025-08-11 15:06:55','2025-08-11 15:06:55',NULL),(768,11297,768,768,NULL,0,NULL,'2025-08-11 15:08:52','2025-08-11 15:08:52',NULL),(769,11297,769,769,NULL,0,NULL,'2025-08-11 15:10:48','2025-08-11 15:10:48',NULL),(770,11297,770,770,NULL,0,NULL,'2025-08-11 15:12:23','2025-08-11 15:12:23',NULL),(771,11297,771,771,NULL,0,NULL,'2025-08-11 15:14:19','2025-08-11 15:14:19',NULL),(772,11297,772,772,NULL,0,NULL,'2025-08-11 15:15:54','2025-08-11 15:15:54',NULL),(773,11297,773,773,NULL,0,NULL,'2025-08-11 15:17:47','2025-08-11 15:17:47',NULL),(774,11297,774,774,NULL,0,NULL,'2025-08-11 15:40:36','2025-08-11 15:40:36',NULL),(775,11297,775,775,NULL,0,NULL,'2025-08-11 15:42:27','2025-08-11 15:42:27',NULL),(776,11297,776,776,NULL,0,NULL,'2025-08-12 08:28:23','2025-08-12 08:28:23',NULL),(777,11297,777,777,NULL,0,NULL,'2025-08-12 08:30:24','2025-08-12 08:30:24',NULL),(778,11297,778,778,NULL,0,NULL,'2025-08-12 08:32:37','2025-08-12 08:32:37',NULL),(779,11297,779,779,NULL,0,NULL,'2025-08-12 08:35:27','2025-08-12 08:35:27',NULL),(780,11297,780,780,NULL,0,NULL,'2025-08-12 08:43:10','2025-08-12 08:43:10',NULL),(781,11297,781,781,NULL,0,NULL,'2025-08-12 08:48:55','2025-08-12 08:48:55',NULL),(782,11297,782,782,NULL,0,NULL,'2025-08-12 08:53:27','2025-08-12 08:53:27',NULL),(783,11297,783,783,NULL,0,NULL,'2025-08-12 08:55:08','2025-08-12 08:55:08',NULL),(784,11297,784,784,NULL,0,NULL,'2025-08-12 08:56:48','2025-08-12 08:56:48',NULL),(785,11297,785,785,NULL,0,NULL,'2025-08-12 09:01:19','2025-08-12 09:01:19',NULL),(786,11297,786,786,NULL,0,NULL,'2025-08-12 09:07:17','2025-08-12 09:07:17',NULL),(787,11297,787,787,NULL,0,NULL,'2025-08-12 09:09:14','2025-08-12 09:09:14',NULL),(788,11297,788,788,NULL,0,NULL,'2025-08-12 09:10:34','2025-08-12 09:10:34',NULL),(789,11297,789,789,NULL,0,NULL,'2025-08-12 09:12:00','2025-08-12 09:12:00',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (790,11297,790,790,NULL,0,NULL,'2025-08-12 09:14:38','2025-08-12 09:14:38',NULL),(791,11297,791,791,NULL,0,NULL,'2025-08-12 09:15:44','2025-08-12 09:15:44',NULL),(792,11297,792,792,NULL,0,NULL,'2025-08-12 09:16:45','2025-08-12 09:16:45',NULL),(793,11297,793,793,NULL,0,NULL,'2025-08-12 09:17:57','2025-08-12 09:17:57',NULL),(794,11297,794,794,NULL,0,NULL,'2025-08-12 09:19:02','2025-08-12 09:19:02',NULL),(795,11297,795,795,NULL,0,NULL,'2025-08-12 09:20:51','2025-08-12 09:20:51',NULL),(796,11297,796,796,NULL,0,NULL,'2025-08-12 09:21:52','2025-08-12 09:21:52',NULL),(797,11297,797,797,NULL,0,NULL,'2025-08-12 09:24:23','2025-08-12 09:24:23',NULL),(798,11297,798,798,NULL,0,NULL,'2025-08-12 09:25:42','2025-08-12 09:25:42',NULL),(799,11297,799,799,NULL,0,NULL,'2025-08-12 09:28:01','2025-08-12 09:28:01',NULL),(800,11297,800,800,NULL,0,NULL,'2025-08-12 09:29:35','2025-08-12 09:29:35',NULL),(801,11297,801,801,NULL,0,NULL,'2025-08-12 09:33:56','2025-08-12 09:33:56',NULL),(802,11297,802,802,NULL,0,NULL,'2025-08-12 09:36:36','2025-08-12 09:36:36',NULL),(803,11297,803,803,NULL,0,NULL,'2025-08-12 09:42:09','2025-08-12 09:42:09',NULL),(804,11297,804,804,NULL,0,NULL,'2025-08-12 09:47:14','2025-08-12 09:47:14',NULL),(805,11297,805,805,NULL,0,NULL,'2025-08-12 09:49:20','2025-08-12 09:49:20',NULL),(806,11297,806,806,NULL,0,NULL,'2025-08-12 09:53:29','2025-08-12 09:53:29',NULL),(807,11297,807,807,NULL,0,NULL,'2025-08-12 09:56:31','2025-08-12 09:56:31',NULL),(808,11297,808,808,NULL,0,NULL,'2025-08-12 09:58:48','2025-08-12 09:58:48',NULL),(809,11297,809,809,NULL,0,NULL,'2025-08-12 10:07:03','2025-08-12 10:07:03',NULL),(810,11297,810,810,NULL,0,NULL,'2025-08-12 10:09:05','2025-08-12 10:09:05',NULL),(811,11297,811,811,NULL,0,NULL,'2025-09-10 09:37:57','2025-09-10 09:37:57',NULL),(812,11297,812,812,NULL,0,NULL,'2025-09-10 09:45:39','2025-09-10 09:45:39',NULL),(813,11297,813,813,NULL,0,NULL,'2025-09-10 09:47:38','2025-09-10 09:47:38',NULL),(814,11297,814,814,NULL,0,NULL,'2025-09-10 09:49:13','2025-09-10 09:49:13',NULL),(815,11297,815,815,NULL,0,NULL,'2025-09-10 09:50:43','2025-09-10 09:50:43',NULL),(816,11297,816,816,NULL,0,NULL,'2025-09-10 10:11:58','2025-09-10 10:11:58',NULL),(817,11297,817,817,NULL,0,NULL,'2025-09-10 10:14:17','2025-09-10 10:14:17',NULL),(818,11297,818,818,NULL,0,NULL,'2025-09-10 10:21:00','2025-09-10 10:21:00',NULL),(819,11297,819,819,NULL,0,NULL,'2025-09-10 10:23:40','2025-09-10 10:23:40',NULL),(820,11297,820,820,NULL,0,NULL,'2025-09-10 10:27:17','2025-09-10 10:27:17',NULL),(821,11297,821,821,NULL,0,NULL,'2025-09-10 10:55:35','2025-09-10 10:55:35',NULL),(822,11297,822,822,NULL,0,NULL,'2025-09-10 10:57:23','2025-09-10 10:57:23',NULL),(823,11297,823,823,NULL,0,NULL,'2025-09-10 10:58:52','2025-09-10 10:58:52',NULL),(824,11297,824,824,NULL,0,NULL,'2025-09-10 11:00:22','2025-09-10 11:00:22',NULL),(825,11297,825,825,NULL,0,NULL,'2025-09-10 11:02:32','2025-09-10 11:02:32',NULL),(826,11297,826,826,NULL,0,NULL,'2025-09-10 11:03:50','2025-09-10 11:03:50',NULL),(827,11297,827,827,NULL,0,NULL,'2025-09-10 11:05:48','2025-09-10 11:05:48',NULL),(828,11297,828,828,NULL,0,NULL,'2025-09-10 11:09:00','2025-09-10 11:09:00',NULL),(829,11297,829,829,NULL,0,NULL,'2025-09-10 11:10:41','2025-09-10 11:10:41',NULL),(830,11297,830,830,NULL,0,NULL,'2025-09-10 11:52:34','2025-09-10 11:52:34',NULL),(831,11297,831,831,NULL,0,NULL,'2025-09-10 11:53:22','2025-09-10 11:53:22',NULL),(832,11297,832,832,NULL,0,NULL,'2025-09-10 11:55:27','2025-09-10 11:55:27',NULL),(833,11297,833,833,NULL,0,NULL,'2025-09-10 11:56:54','2025-09-10 11:56:54',NULL),(834,11297,834,834,NULL,0,NULL,'2025-09-10 11:58:51','2025-09-10 11:58:51',NULL),(835,11297,835,835,NULL,0,NULL,'2025-09-10 12:36:59','2025-09-10 12:36:59',NULL),(836,11297,836,836,NULL,0,NULL,'2025-09-10 12:37:46','2025-09-10 12:37:46',NULL),(837,11297,837,837,NULL,0,NULL,'2025-09-10 12:42:30','2025-09-10 12:42:30',NULL),(838,11297,838,838,NULL,0,NULL,'2025-09-10 12:44:44','2025-09-10 12:44:44',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (839,11297,839,839,NULL,0,NULL,'2025-09-10 12:46:34','2025-09-10 12:46:34',NULL),(840,11297,840,840,NULL,0,NULL,'2025-09-10 12:47:45','2025-09-10 12:47:45',NULL),(841,11297,841,841,NULL,0,NULL,'2025-09-10 12:53:42','2025-09-10 12:53:42',NULL),(842,11297,842,842,NULL,0,NULL,'2025-09-10 12:54:37','2025-09-10 12:54:37',NULL),(843,11297,843,843,NULL,0,NULL,'2025-09-10 14:09:55','2025-09-10 14:09:55',NULL),(844,11297,844,844,NULL,0,NULL,'2025-09-10 14:10:32','2025-09-10 14:10:32',NULL),(845,11297,845,845,NULL,0,NULL,'2025-09-10 14:11:30','2025-09-10 14:11:30',NULL),(846,11297,846,846,NULL,0,NULL,'2025-09-10 14:12:13','2025-09-10 14:12:13',NULL),(847,11297,847,847,NULL,0,NULL,'2025-09-10 14:12:55','2025-09-10 14:12:55',NULL),(848,11297,848,848,NULL,0,NULL,'2025-09-10 14:13:44','2025-09-10 14:13:44',NULL),(849,11297,849,849,NULL,0,NULL,'2025-09-10 14:14:19','2025-09-10 14:14:19',NULL),(850,11297,850,850,NULL,0,NULL,'2025-09-10 14:14:59','2025-09-10 14:14:59',NULL),(851,11297,851,851,NULL,0,NULL,'2025-09-10 14:18:20','2025-09-10 14:18:20',NULL),(852,11297,852,852,NULL,0,NULL,'2025-09-10 14:21:20','2025-09-10 14:21:20',NULL),(853,11297,853,853,NULL,0,NULL,'2025-09-10 14:22:47','2025-09-10 14:22:47',NULL),(854,11297,854,854,NULL,0,NULL,'2025-09-10 14:25:43','2025-09-10 14:25:43',NULL),(855,11297,855,855,NULL,0,NULL,'2025-09-10 14:27:25','2025-09-10 14:27:25',NULL),(856,11297,856,856,NULL,0,NULL,'2025-09-10 14:28:55','2025-09-10 14:28:55',NULL),(857,11297,857,857,NULL,0,NULL,'2025-09-10 14:29:53','2025-09-10 14:29:53',NULL),(858,11297,858,858,NULL,0,NULL,'2025-09-10 14:32:11','2025-09-10 14:32:11',NULL),(859,11297,859,859,NULL,0,NULL,'2025-09-10 14:33:52','2025-09-10 14:33:52',NULL),(860,11297,860,860,NULL,0,NULL,'2025-09-10 14:35:08','2025-09-10 14:35:08',NULL),(861,11297,861,861,NULL,0,NULL,'2025-09-10 14:36:56','2025-09-10 14:36:56',NULL),(862,11297,862,862,NULL,0,NULL,'2025-09-10 14:37:48','2025-09-10 14:37:48',NULL),(863,11297,863,863,NULL,0,NULL,'2025-09-10 14:39:57','2025-09-10 14:39:57',NULL),(864,11297,864,864,NULL,0,NULL,'2025-09-10 14:41:30','2025-09-10 14:41:30',NULL),(865,11297,865,865,NULL,0,NULL,'2025-09-10 14:42:49','2025-09-10 14:42:49',NULL),(866,11297,866,866,NULL,0,NULL,'2025-09-10 14:44:17','2025-09-10 14:44:17',NULL),(867,11297,867,867,NULL,0,NULL,'2025-09-10 14:46:24','2025-09-10 14:46:24',NULL),(868,11297,868,868,NULL,0,NULL,'2025-09-10 14:47:56','2025-09-10 14:47:56',NULL),(869,11297,869,869,NULL,0,NULL,'2025-09-10 14:50:23','2025-09-10 14:50:23',NULL),(870,11297,870,870,NULL,0,NULL,'2025-09-10 14:55:59','2025-09-10 14:55:59',NULL),(871,11297,871,871,NULL,0,NULL,'2025-09-10 14:57:30','2025-09-10 14:57:30',NULL),(872,11297,872,872,NULL,0,NULL,'2025-09-10 15:00:07','2025-09-10 15:00:07',NULL),(873,11297,873,873,NULL,0,NULL,'2025-09-10 15:01:14','2025-09-10 15:01:14',NULL),(874,11297,874,874,NULL,0,NULL,'2025-09-10 15:02:44','2025-09-10 15:02:44',NULL),(875,11297,875,875,NULL,0,NULL,'2025-09-10 15:03:52','2025-09-10 15:03:52',NULL),(876,11297,876,876,NULL,0,NULL,'2025-09-10 15:05:38','2025-09-10 15:05:38',NULL),(877,11297,877,877,NULL,0,NULL,'2025-09-10 15:07:02','2025-09-10 15:07:02',NULL),(878,11297,878,878,NULL,0,NULL,'2025-09-10 15:09:01','2025-09-10 15:09:01',NULL),(879,11297,879,879,NULL,0,NULL,'2025-09-11 09:05:04','2025-09-11 09:05:04',NULL),(880,11297,880,880,NULL,0,NULL,'2025-09-11 09:06:10','2025-09-11 09:06:10',NULL),(881,11297,881,881,NULL,0,NULL,'2025-09-11 12:14:25','2025-09-11 12:14:25',NULL),(882,11297,882,882,NULL,0,NULL,'2025-09-11 12:15:55','2025-09-11 12:15:55',NULL),(883,11297,883,883,NULL,0,NULL,'2025-09-11 12:17:11','2025-09-11 12:17:11',NULL),(884,11297,884,884,NULL,0,NULL,'2025-09-11 12:18:17','2025-09-11 12:18:17',NULL),(885,11297,885,885,NULL,0,NULL,'2025-09-11 12:19:27','2025-09-11 12:19:27',NULL),(886,11297,886,886,NULL,0,NULL,'2025-09-11 12:20:31','2025-09-11 12:20:31',NULL),(887,11297,887,887,NULL,0,NULL,'2025-09-11 12:23:17','2025-09-11 12:27:00','2025-09-11 12:27:00');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (888,11297,888,887,NULL,0,NULL,'2025-09-11 12:27:00','2025-09-11 12:28:48','2025-09-11 12:28:48'),(889,11297,889,887,NULL,0,NULL,'2025-09-11 12:28:48','2025-09-11 12:28:48',NULL),(890,11297,890,888,NULL,0,NULL,'2025-09-11 12:32:32','2025-09-11 12:32:32',NULL),(891,11297,891,889,NULL,0,NULL,'2025-09-11 12:33:37','2025-09-11 12:33:37',NULL),(892,11297,892,890,NULL,0,NULL,'2025-09-11 13:57:45','2025-09-11 13:57:45',NULL),(893,11297,893,891,NULL,0,NULL,'2025-09-11 13:58:54','2025-09-11 13:58:54',NULL),(894,11297,894,892,NULL,0,NULL,'2025-09-11 14:01:15','2025-09-11 14:01:15',NULL),(895,11297,895,893,NULL,0,NULL,'2025-09-26 10:01:48','2025-09-26 10:01:48',NULL),(896,11297,896,894,NULL,0,NULL,'2025-09-26 10:04:25','2025-09-26 10:04:25',NULL),(897,11297,897,895,NULL,0,NULL,'2025-09-26 10:12:41','2025-09-26 10:12:41',NULL),(898,11297,898,896,NULL,0,NULL,'2025-09-26 10:14:17','2025-09-26 10:14:17',NULL),(899,11297,899,897,NULL,0,NULL,'2025-09-26 10:28:01','2025-09-26 10:28:01',NULL),(900,11297,900,898,NULL,0,NULL,'2025-09-26 10:29:16','2025-09-26 10:29:16',NULL),(901,11297,901,899,NULL,0,NULL,'2025-09-26 10:31:41','2025-09-26 10:31:41',NULL),(902,11297,902,900,NULL,0,NULL,'2025-09-26 10:36:48','2025-09-26 10:36:48',NULL),(903,11297,903,901,NULL,0,NULL,'2025-09-26 10:53:27','2025-09-26 10:53:27',NULL),(904,11297,904,902,NULL,0,NULL,'2025-09-26 11:33:29','2025-09-26 11:33:29',NULL),(905,11297,905,903,NULL,0,NULL,'2025-09-26 12:04:52','2025-09-26 12:04:52',NULL),(906,11297,906,904,NULL,0,NULL,'2025-09-26 12:07:48','2025-09-26 12:07:48',NULL),(907,11297,907,905,NULL,0,NULL,'2025-09-26 12:10:05','2025-09-26 12:10:05',NULL),(908,11297,908,906,NULL,0,NULL,'2025-09-26 12:14:13','2025-09-26 12:14:13',NULL),(909,11297,909,907,NULL,0,NULL,'2025-09-26 12:18:40','2025-09-26 12:18:40',NULL),(910,11297,910,908,NULL,0,NULL,'2025-09-26 12:25:58','2025-09-26 12:25:58',NULL),(911,11297,911,909,NULL,0,NULL,'2025-09-30 14:21:18','2025-09-30 14:21:18',NULL),(912,11297,912,910,NULL,0,NULL,'2025-09-30 14:22:55','2025-09-30 14:22:55',NULL),(913,11297,913,911,NULL,0,NULL,'2025-09-30 14:24:48','2025-09-30 14:24:48',NULL),(914,11297,914,912,NULL,0,NULL,'2025-09-30 14:28:26','2025-09-30 14:28:26',NULL),(915,11297,915,913,NULL,0,NULL,'2025-09-30 14:29:36','2025-09-30 14:29:36',NULL),(916,11297,916,914,NULL,0,NULL,'2025-09-30 14:34:21','2025-09-30 14:34:21',NULL),(917,11297,917,915,NULL,0,NULL,'2025-09-30 14:48:00','2025-09-30 14:48:00',NULL),(918,11297,918,916,NULL,0,NULL,'2025-09-30 14:49:50','2025-09-30 14:49:50',NULL),(919,11297,919,917,NULL,0,NULL,'2025-09-30 14:52:37','2025-09-30 14:52:37',NULL),(920,11297,920,918,NULL,0,NULL,'2025-09-30 14:53:56','2025-09-30 14:53:56',NULL),(921,11297,921,919,NULL,0,NULL,'2025-09-30 14:54:57','2025-09-30 14:54:57',NULL),(922,11297,922,920,NULL,0,NULL,'2025-09-30 14:56:03','2025-09-30 14:56:03',NULL),(923,11297,923,921,NULL,0,NULL,'2025-09-30 14:59:17','2025-09-30 14:59:17',NULL),(924,11297,924,922,NULL,0,NULL,'2025-09-30 15:00:50','2025-09-30 15:00:50',NULL),(925,11297,925,923,NULL,0,NULL,'2025-09-30 15:01:46','2025-09-30 15:01:46',NULL),(926,11297,926,924,NULL,0,NULL,'2025-09-30 15:02:39','2025-09-30 15:02:39',NULL),(927,11297,927,925,NULL,0,NULL,'2025-09-30 15:05:29','2025-09-30 15:05:29',NULL),(928,11297,928,926,NULL,0,NULL,'2025-09-30 15:06:56','2025-09-30 15:06:56',NULL),(929,11297,929,927,NULL,0,NULL,'2025-09-30 15:08:59','2025-09-30 15:08:59',NULL),(930,11297,930,928,NULL,0,NULL,'2025-09-30 15:10:20','2025-09-30 15:10:20',NULL),(931,11297,931,929,NULL,0,NULL,'2025-09-30 15:11:58','2025-09-30 15:11:58',NULL),(932,11297,932,930,NULL,0,NULL,'2025-09-30 15:18:05','2025-09-30 15:18:05',NULL),(933,11297,933,931,NULL,0,NULL,'2025-09-30 15:19:00','2025-09-30 15:19:00',NULL),(934,11297,934,932,NULL,0,NULL,'2025-09-30 15:19:47','2025-09-30 15:19:47',NULL),(935,11297,935,933,NULL,0,NULL,'2025-09-30 15:20:44','2025-09-30 15:20:44',NULL),(936,11297,936,934,NULL,0,NULL,'2025-09-30 15:21:53','2025-09-30 15:21:53',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (937,11297,937,935,NULL,0,NULL,'2025-09-30 15:22:45','2025-09-30 15:22:45',NULL),(938,11297,938,936,NULL,0,NULL,'2025-09-30 15:23:31','2025-09-30 15:23:31',NULL),(939,11297,939,937,NULL,0,NULL,'2025-09-30 15:24:30','2025-09-30 15:24:30',NULL),(940,11297,940,938,NULL,0,NULL,'2025-09-30 15:25:27','2025-09-30 15:25:27',NULL),(941,11297,941,939,NULL,0,NULL,'2025-09-30 15:26:58','2025-09-30 15:26:58',NULL),(942,11297,942,940,NULL,0,NULL,'2025-09-30 15:27:47','2025-09-30 15:27:47',NULL),(943,11297,943,941,NULL,0,NULL,'2025-09-30 15:28:55','2025-09-30 15:28:55',NULL),(944,11297,944,942,NULL,0,NULL,'2025-09-30 15:31:07','2025-09-30 15:31:07',NULL),(945,11297,945,943,NULL,0,NULL,'2025-09-30 15:33:39','2025-09-30 15:33:39',NULL),(946,11297,946,944,NULL,0,NULL,'2025-09-30 15:37:20','2025-09-30 15:37:20',NULL),(947,11297,947,945,NULL,0,NULL,'2025-09-30 15:42:29','2025-09-30 15:42:29',NULL),(948,11297,948,946,NULL,0,NULL,'2025-09-30 15:44:35','2025-09-30 15:44:35',NULL),(949,11297,949,947,NULL,0,NULL,'2025-09-30 15:45:56','2025-09-30 15:45:56',NULL),(950,11297,950,948,NULL,0,NULL,'2025-09-30 15:47:38','2025-09-30 15:47:38',NULL),(951,11297,951,949,NULL,0,NULL,'2025-09-30 15:48:17','2025-09-30 15:48:17',NULL),(952,11297,952,950,NULL,0,NULL,'2025-09-30 15:48:57','2025-09-30 15:48:57',NULL),(953,11297,953,951,NULL,0,NULL,'2025-09-30 15:50:27','2025-09-30 15:50:27',NULL),(954,11297,954,952,NULL,0,NULL,'2025-09-30 16:11:39','2025-09-30 16:11:39',NULL),(955,11297,955,953,NULL,0,NULL,'2025-10-01 09:33:19','2025-10-01 09:33:19',NULL),(956,11297,956,954,NULL,0,NULL,'2025-10-01 09:35:22','2025-10-01 09:35:22',NULL),(957,11297,957,955,NULL,0,NULL,'2025-10-01 09:37:17','2025-10-01 09:37:17',NULL),(958,11297,958,956,NULL,0,NULL,'2025-10-01 09:38:46','2025-10-01 09:38:46',NULL),(959,11297,959,957,NULL,0,NULL,'2025-10-01 09:40:47','2025-10-01 09:40:47',NULL),(960,11297,960,958,NULL,0,NULL,'2025-10-01 09:42:05','2025-10-01 09:42:05',NULL),(961,11297,961,959,NULL,0,NULL,'2025-10-01 09:44:06','2025-10-01 09:44:06',NULL),(962,11297,962,960,NULL,0,NULL,'2025-10-01 09:45:02','2025-10-01 09:45:02',NULL),(963,11297,963,961,NULL,0,NULL,'2025-10-01 09:46:17','2025-10-01 09:46:17',NULL),(964,11297,964,962,NULL,0,NULL,'2025-10-01 09:47:48','2025-10-01 09:47:48',NULL),(965,11297,965,963,NULL,0,NULL,'2025-10-01 09:51:05','2025-10-01 09:51:05',NULL),(966,11297,966,964,NULL,0,NULL,'2025-10-01 09:53:11','2025-10-01 09:53:11',NULL),(967,11297,967,965,NULL,0,NULL,'2025-10-01 09:54:15','2025-10-01 09:54:15',NULL),(968,11297,968,966,NULL,0,NULL,'2025-10-06 16:00:10','2025-10-06 16:00:10',NULL),(969,11297,969,967,NULL,0,NULL,'2025-10-06 16:02:22','2025-10-06 16:02:22',NULL),(970,11297,970,968,NULL,0,NULL,'2025-10-06 16:03:27','2025-10-06 16:03:27',NULL),(971,11297,971,969,NULL,0,NULL,'2025-10-06 16:05:23','2025-10-06 16:05:23',NULL),(972,11297,972,970,NULL,0,NULL,'2025-10-06 16:06:23','2025-10-06 16:06:23',NULL),(973,11297,973,971,NULL,0,NULL,'2025-10-06 16:07:43','2025-10-06 16:07:43',NULL),(974,11297,974,972,NULL,0,NULL,'2025-10-06 16:09:20','2025-10-06 16:09:20',NULL),(975,11297,975,973,NULL,0,NULL,'2025-10-06 16:10:25','2025-10-06 16:10:25',NULL),(976,11297,976,974,NULL,0,NULL,'2025-10-06 16:11:40','2025-10-06 16:11:40',NULL),(977,11297,977,975,NULL,0,NULL,'2025-10-06 16:14:17','2025-10-06 16:14:17',NULL),(978,11297,978,976,NULL,0,NULL,'2025-10-06 16:16:21','2025-10-06 16:16:21',NULL),(979,11297,979,977,NULL,0,NULL,'2025-10-06 16:17:31','2025-10-06 16:17:31',NULL),(980,11297,980,978,NULL,0,NULL,'2025-10-06 16:19:51','2025-10-06 16:19:51',NULL),(981,11297,981,979,NULL,0,NULL,'2025-10-06 16:20:49','2025-10-06 16:20:49',NULL),(982,11297,982,980,NULL,0,NULL,'2025-10-06 16:23:20','2025-10-06 16:23:20',NULL),(983,11297,983,981,NULL,0,NULL,'2025-10-06 16:24:49','2025-10-06 16:24:49',NULL),(984,11297,984,982,NULL,0,NULL,'2025-10-06 16:27:06','2025-10-06 16:27:06',NULL),(985,11297,985,983,NULL,0,NULL,'2025-10-06 16:31:59','2025-10-06 16:31:59',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (986,11297,986,984,NULL,0,NULL,'2025-10-06 16:47:52','2025-10-06 16:47:52',NULL),(987,11297,987,985,NULL,0,NULL,'2025-10-06 16:49:35','2025-10-06 16:49:35',NULL),(988,11297,988,986,NULL,0,NULL,'2025-10-06 16:51:03','2025-10-06 16:51:03',NULL),(989,11297,989,987,NULL,0,NULL,'2025-10-06 16:53:29','2025-10-06 16:53:29',NULL),(990,11297,990,988,NULL,0,NULL,'2025-10-06 16:58:55','2025-10-06 16:58:55',NULL),(991,11297,991,989,NULL,0,NULL,'2025-10-07 08:36:52','2025-10-07 08:36:52',NULL),(992,11297,992,990,NULL,0,NULL,'2025-10-07 08:37:59','2025-10-07 08:37:59',NULL),(993,11297,993,991,NULL,0,NULL,'2025-10-07 08:50:03','2025-10-07 08:50:03',NULL),(994,11297,994,992,NULL,0,NULL,'2025-10-07 08:51:35','2025-10-07 08:51:35',NULL),(995,11297,995,993,NULL,0,NULL,'2025-10-07 09:03:46','2025-10-07 09:03:46',NULL),(996,11297,996,994,NULL,0,NULL,'2025-10-07 09:07:24','2025-10-07 09:07:24',NULL),(997,11297,997,995,NULL,0,NULL,'2025-10-07 09:08:24','2025-10-07 09:08:24',NULL),(998,11297,998,996,NULL,0,NULL,'2025-10-07 09:09:37','2025-10-07 09:09:37',NULL),(999,11297,999,997,NULL,0,NULL,'2025-10-07 09:10:31','2025-10-07 09:10:31',NULL),(1000,11297,1000,998,NULL,0,NULL,'2025-10-17 09:10:09','2025-10-17 09:10:09',NULL),(1001,11297,1001,999,NULL,0,NULL,'2025-10-17 09:12:25','2025-10-17 09:12:25',NULL),(1002,11297,1002,1000,NULL,0,NULL,'2025-10-17 09:14:08','2025-10-17 09:14:08',NULL),(1003,11297,1003,1001,NULL,0,NULL,'2025-10-17 09:15:33','2025-10-17 09:15:33',NULL),(1004,11297,1004,1002,NULL,0,NULL,'2025-10-17 09:17:32','2025-10-17 09:17:32',NULL),(1005,11297,1005,1003,NULL,0,NULL,'2025-10-17 09:19:15','2025-10-17 09:19:15',NULL),(1006,11297,1006,1004,NULL,0,NULL,'2025-10-17 09:21:01','2025-10-17 09:21:01',NULL),(1007,11297,1007,1005,NULL,0,NULL,'2025-10-17 09:22:12','2025-10-17 09:22:12',NULL),(1008,11297,1008,1006,NULL,0,NULL,'2025-10-17 09:25:03','2025-10-17 09:25:03',NULL),(1009,11297,1009,1007,NULL,0,NULL,'2025-10-17 09:26:48','2025-10-17 09:26:48',NULL),(1010,11297,1010,1008,NULL,0,NULL,'2025-10-17 09:28:42','2025-10-17 09:28:42',NULL),(1011,11297,1011,1009,NULL,0,NULL,'2025-10-17 09:31:52','2025-10-17 09:31:52',NULL),(1012,11297,1012,1010,NULL,0,NULL,'2025-10-17 09:34:50','2025-10-17 09:34:50',NULL),(1013,11297,1013,1011,NULL,0,NULL,'2025-10-17 09:35:42','2025-10-17 09:35:42',NULL),(1014,11297,1014,1012,NULL,0,NULL,'2025-10-17 09:36:54','2025-10-17 09:36:54',NULL),(1015,11297,1015,1013,NULL,0,NULL,'2025-10-17 09:37:43','2025-10-17 09:37:43',NULL),(1016,11297,1016,1014,NULL,0,NULL,'2025-10-17 09:39:23','2025-10-17 09:39:23',NULL),(1017,11297,1017,1015,NULL,0,NULL,'2025-10-17 09:40:20','2025-10-17 09:40:20',NULL),(1018,11297,1018,1016,NULL,0,NULL,'2025-10-17 09:41:27','2025-10-17 09:41:27',NULL),(1019,11297,1019,1017,NULL,0,NULL,'2025-10-17 09:43:06','2025-10-17 09:43:06',NULL),(1020,11297,1020,1018,NULL,0,NULL,'2025-10-17 09:44:10','2025-10-17 09:44:10',NULL),(1021,11297,1021,1019,NULL,0,NULL,'2025-11-12 15:54:04','2025-11-12 15:54:04',NULL),(1022,11297,1022,1020,NULL,0,NULL,'2025-11-12 16:01:27','2025-11-12 16:01:27',NULL),(1023,11297,1023,1021,NULL,0,NULL,'2025-11-12 16:03:22','2025-11-12 16:03:22',NULL),(1024,11297,1024,1022,NULL,0,NULL,'2025-11-12 16:07:17','2025-11-12 16:07:17',NULL),(1025,11297,1025,1023,NULL,0,NULL,'2025-11-12 16:08:39','2025-11-12 16:08:39',NULL),(1026,11297,1026,1024,NULL,0,NULL,'2025-11-12 16:09:59','2025-11-12 16:09:59',NULL),(1027,11297,1027,1025,NULL,0,NULL,'2025-11-12 16:11:16','2025-11-12 16:11:16',NULL),(1028,11297,1028,1026,NULL,0,NULL,'2025-11-12 16:13:31','2025-11-12 16:13:31',NULL),(1029,11297,1029,1027,NULL,0,NULL,'2025-11-12 16:15:15','2025-11-12 16:15:15',NULL),(1030,11297,1030,1028,NULL,0,NULL,'2025-11-12 16:17:51','2025-11-12 16:17:51',NULL),(1031,11297,1031,1029,NULL,0,NULL,'2025-11-12 16:20:36','2025-11-12 16:20:36',NULL),(1032,11297,1032,1030,NULL,0,NULL,'2025-11-12 16:21:53','2025-11-12 16:21:53',NULL),(1033,11297,1033,1031,NULL,0,NULL,'2025-11-12 16:23:17','2025-11-12 16:23:17',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1034,11297,1034,1032,NULL,0,NULL,'2025-11-12 16:25:13','2025-11-12 16:25:13',NULL),(1035,11297,1035,1033,NULL,0,NULL,'2025-11-12 16:26:27','2025-11-12 16:26:27',NULL),(1036,11297,1036,1034,NULL,0,NULL,'2025-11-12 16:28:46','2025-11-12 16:28:46',NULL),(1037,11297,1037,1035,NULL,0,NULL,'2025-11-12 16:30:46','2025-11-12 16:30:46',NULL),(1038,11297,1038,1036,NULL,0,NULL,'2025-11-12 16:33:17','2025-11-12 16:33:17',NULL),(1039,11297,1039,1037,NULL,0,NULL,'2025-11-12 16:34:40','2025-11-12 16:34:40',NULL),(1040,11297,1040,1038,NULL,0,NULL,'2025-11-12 16:41:27','2025-11-12 16:41:27',NULL),(1041,11297,1041,1039,NULL,0,NULL,'2025-11-12 16:50:27','2025-11-12 16:50:27',NULL),(1042,11297,1042,1040,NULL,0,NULL,'2025-11-13 12:12:15','2025-11-13 12:12:15',NULL),(1043,11297,1043,1041,NULL,0,NULL,'2025-11-13 12:21:42','2025-11-13 12:21:42',NULL),(1044,11297,1044,1042,NULL,0,NULL,'2025-11-13 16:07:57','2025-11-13 16:07:57',NULL),(1045,11297,1045,1043,NULL,0,NULL,'2025-11-13 16:15:19','2025-11-13 16:15:19',NULL),(1046,11297,1046,1044,NULL,0,NULL,'2025-11-13 16:17:11','2025-11-13 16:17:11',NULL),(1047,11297,1047,1045,NULL,0,NULL,'2025-11-13 16:18:53','2025-11-13 16:18:53',NULL),(1048,11297,1048,1046,NULL,0,NULL,'2025-11-13 16:21:20','2025-11-13 16:21:20',NULL),(1049,11297,1049,1047,NULL,0,NULL,'2025-11-13 16:30:20','2025-11-13 16:30:20',NULL),(1050,11297,1050,1048,NULL,0,NULL,'2025-11-13 16:31:54','2025-11-13 16:31:54',NULL),(1051,11297,1051,1049,NULL,0,NULL,'2025-11-13 16:33:22','2025-11-13 16:33:22',NULL),(1052,11297,1052,1050,NULL,0,NULL,'2025-11-13 16:42:20','2025-11-13 16:42:20',NULL),(1053,11297,1053,1051,NULL,0,NULL,'2025-11-13 16:49:58','2025-11-13 16:49:58',NULL),(1054,11297,1054,1052,NULL,0,NULL,'2025-11-14 08:51:32','2025-11-14 08:51:32',NULL),(1055,11297,1055,1053,NULL,0,NULL,'2025-11-14 08:52:42','2025-11-14 08:52:42',NULL),(1056,11297,1056,1054,NULL,0,NULL,'2025-11-14 08:53:27','2025-11-14 08:53:27',NULL),(1057,11297,1057,1055,NULL,0,NULL,'2025-11-14 08:55:02','2025-11-14 08:55:02',NULL),(1058,11297,1058,1056,NULL,0,NULL,'2025-11-14 08:56:16','2025-11-14 08:56:16',NULL),(1059,11297,1059,1057,NULL,0,NULL,'2025-11-14 08:57:02','2025-11-14 08:57:02',NULL),(1060,11297,1060,1058,NULL,0,NULL,'2025-11-14 08:57:50','2025-11-14 08:57:50',NULL),(1061,11297,1061,1059,NULL,0,NULL,'2025-11-14 08:58:59','2025-11-14 08:58:59',NULL),(1062,11297,1062,1060,NULL,0,NULL,'2025-11-14 08:59:56','2025-11-14 08:59:56',NULL),(1063,11297,1063,1061,NULL,0,NULL,'2025-11-14 11:33:28','2025-11-14 11:33:28',NULL),(1064,11297,1064,1062,NULL,0,NULL,'2025-11-14 11:34:46','2025-11-14 11:34:46',NULL),(1065,11297,1065,1063,NULL,0,NULL,'2025-11-14 11:36:11','2025-11-14 11:36:11',NULL),(1066,11297,1066,1064,NULL,0,NULL,'2025-11-14 11:38:50','2025-11-14 11:38:50',NULL),(1067,11297,1067,1065,NULL,0,NULL,'2025-11-14 11:40:12','2025-11-14 11:40:12',NULL),(1068,11297,1068,1066,NULL,0,NULL,'2025-11-14 11:44:30','2025-11-14 11:44:30',NULL),(1069,11297,1069,1067,NULL,0,NULL,'2025-11-14 11:47:30','2025-11-14 11:47:30',NULL),(1070,11297,1070,1068,NULL,0,NULL,'2025-11-14 11:48:48','2025-11-14 11:48:48',NULL),(1071,11297,1071,1069,NULL,0,NULL,'2025-11-14 11:49:40','2025-11-14 11:49:40',NULL),(1072,11297,1072,1070,NULL,0,NULL,'2025-11-14 11:50:37','2025-11-14 11:50:37',NULL),(1073,11297,1073,1071,NULL,0,NULL,'2025-11-14 11:51:45','2025-11-14 11:51:45',NULL),(1074,11297,1074,1072,NULL,0,NULL,'2025-11-14 12:04:31','2025-11-14 12:04:31',NULL),(1075,11297,1075,1073,NULL,0,NULL,'2025-11-14 12:06:45','2025-11-14 12:06:45',NULL),(1076,11297,1076,1074,NULL,0,NULL,'2025-11-14 12:08:31','2025-11-14 12:08:31',NULL),(1077,11297,1077,1075,NULL,0,NULL,'2025-11-14 14:22:16','2025-11-14 14:22:16',NULL),(1078,11297,1078,1076,NULL,0,NULL,'2025-11-14 14:23:07','2025-11-14 14:23:07',NULL),(1079,11297,1079,1077,NULL,0,NULL,'2025-11-14 14:24:33','2025-11-14 14:24:33',NULL),(1080,11297,1080,1078,NULL,0,NULL,'2025-11-14 14:26:23','2025-11-14 14:26:23',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1081,11297,1081,1079,NULL,0,NULL,'2025-11-14 14:28:13','2025-11-14 14:28:13',NULL),(1082,11297,1082,1080,NULL,0,NULL,'2025-11-14 14:29:01','2025-11-14 14:29:01',NULL),(1083,11297,1083,1081,NULL,0,NULL,'2025-11-14 14:29:39','2025-11-14 14:29:39',NULL),(1084,11297,1084,1082,NULL,0,NULL,'2025-11-14 14:31:39','2025-11-14 14:31:39',NULL),(1085,11297,1085,1083,NULL,0,NULL,'2025-11-14 14:33:21','2025-11-14 14:33:21',NULL),(1086,11297,1086,1084,NULL,0,NULL,'2025-11-14 14:34:35','2025-11-14 14:34:35',NULL),(1087,11297,1087,1085,NULL,0,NULL,'2025-11-18 11:19:03','2025-11-18 11:19:03',NULL),(1088,11297,1088,1086,NULL,0,NULL,'2025-11-18 11:21:29','2025-11-18 11:21:29',NULL),(1089,11297,1089,1087,NULL,0,NULL,'2025-11-18 11:23:05','2025-11-18 11:23:05',NULL),(1090,11297,1090,1088,NULL,0,NULL,'2025-11-18 11:24:12','2025-11-18 11:24:12',NULL),(1091,11297,1091,1089,NULL,0,NULL,'2025-11-18 11:25:07','2025-11-18 11:25:07',NULL),(1092,11297,1092,1090,NULL,0,NULL,'2025-11-18 11:27:24','2025-11-18 11:27:24',NULL),(1093,11297,1093,1091,NULL,0,NULL,'2025-11-18 12:13:59','2025-11-18 12:13:59',NULL),(1094,11297,1094,1092,NULL,0,NULL,'2025-11-18 12:20:42','2025-11-18 12:20:42',NULL),(1095,11297,1095,1093,NULL,0,NULL,'2025-11-18 12:25:52','2025-11-18 12:25:52',NULL),(1096,11297,1096,1094,NULL,0,NULL,'2025-11-18 12:27:01','2025-11-18 12:27:01',NULL),(1097,11297,1097,1095,NULL,0,NULL,'2025-11-18 12:28:06','2025-11-18 12:28:06',NULL),(1098,11297,1098,1096,NULL,0,NULL,'2025-11-18 12:29:06','2025-11-18 12:29:06',NULL),(1099,11297,1099,1097,NULL,0,NULL,'2025-11-18 12:32:18','2025-11-18 12:32:18',NULL),(1100,11297,1100,1098,NULL,0,NULL,'2025-11-18 12:35:11','2025-11-18 12:35:11',NULL),(1101,11297,1101,1099,NULL,0,NULL,'2025-11-18 12:37:55','2025-11-18 12:37:55',NULL),(1102,11297,1102,1100,NULL,0,NULL,'2025-11-18 12:42:22','2025-11-18 12:42:22',NULL),(1103,11297,1103,1101,NULL,0,NULL,'2025-11-18 12:44:41','2025-11-18 12:44:41',NULL),(1104,11297,1104,1102,NULL,0,NULL,'2025-11-18 12:46:58','2025-11-18 12:46:58',NULL),(1105,11297,1105,1103,NULL,0,NULL,'2025-11-18 12:48:14','2025-11-18 12:48:14',NULL),(1106,11297,1106,1104,NULL,0,NULL,'2025-11-20 11:05:26','2025-11-20 11:05:26',NULL),(1107,11297,1107,1105,NULL,0,NULL,'2025-11-20 11:06:27','2025-11-20 11:06:27',NULL),(1108,11297,1108,1106,NULL,0,NULL,'2025-11-20 11:08:32','2025-11-20 11:08:32',NULL),(1109,11297,1109,1107,NULL,0,NULL,'2025-11-20 11:11:55','2025-11-20 11:11:55',NULL),(1110,11297,1110,1108,NULL,0,NULL,'2025-11-20 11:14:22','2025-11-20 11:14:22',NULL),(1111,11297,1111,1109,NULL,0,NULL,'2025-11-20 11:15:34','2025-11-20 11:15:34',NULL),(1112,11297,1112,1110,NULL,0,NULL,'2025-11-20 11:16:38','2025-11-20 11:16:38',NULL),(1113,11297,1113,1111,NULL,0,NULL,'2025-11-20 11:17:43','2025-11-20 11:17:43',NULL),(1114,11297,1114,1112,NULL,0,NULL,'2025-11-20 11:33:03','2025-11-20 11:33:03',NULL),(1115,11297,1115,1113,NULL,0,NULL,'2025-11-20 15:20:06','2025-11-20 15:20:06',NULL),(1116,11297,1116,1114,NULL,0,NULL,'2025-11-20 15:21:02','2025-11-20 15:21:02',NULL),(1117,11297,1117,1115,NULL,0,NULL,'2025-11-20 15:22:01','2025-11-20 15:22:01',NULL),(1118,11297,1118,1116,NULL,0,NULL,'2025-11-20 15:23:02','2025-11-20 15:23:02',NULL),(1119,11297,1119,1117,NULL,0,NULL,'2025-11-20 15:31:20','2025-11-20 15:31:20',NULL),(1120,11297,1120,1118,NULL,0,NULL,'2025-11-20 15:33:03','2025-11-20 15:33:03',NULL),(1121,11297,1121,1119,NULL,0,NULL,'2025-11-20 15:35:48','2025-11-20 15:35:48',NULL),(1122,11297,1122,1120,NULL,0,NULL,'2025-11-20 15:48:47','2025-11-20 15:48:47',NULL),(1123,11297,1123,1121,NULL,0,NULL,'2025-11-20 15:50:14','2025-11-20 15:50:14',NULL);

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

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


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

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


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

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


--
-- 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:59:49',NULL),(5,NULL,'PERCEPCIONES EFECTUADAS',1,NULL,'2024-05-26 20:59:49',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=757 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:28:53',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:17:43','2023-03-20 23:17:43'),(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:17:43','2023-03-20 23:17:43'),(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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:58:01',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:58:01',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:54',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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:28:55',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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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


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

CREATE TABLE `ctacte_cheques` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `asiento_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cuenta_conta_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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

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

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

CREATE TABLE `ctactegastos_cuenta_tipo` (
  `idCuentaTipo` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `idTipo` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`idCuentaTipo`),
  KEY `ctactegastos_cuenta_tipo_idtipo_foreign` (`idTipo`),
  KEY `ctactegastos_cuenta_tipo_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `ctactegastos_cuenta_tipo_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_cuenta_tipo_idtipo_foreign` FOREIGN KEY (`idTipo`) REFERENCES `ctactegastos_tiposdegastos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

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

CREATE TABLE `ctactegastos_mensuales` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `CuentaTipo_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL DEFAULT '13',
  `TipoDeGasto_id` int(10) unsigned NOT NULL,
  `CentroCosto_id` int(10) unsigned NOT NULL,
  `gasto_cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL DEFAULT '13',
  `monto` decimal(16,2) DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ctactegastos_mensuales_cuentatipo_id_foreign` (`CuentaTipo_id`),
  KEY `ctactegastos_mensuales_tipodegasto_id_foreign` (`TipoDeGasto_id`),
  KEY `ctactegastos_mensuales_centrocosto_id_foreign` (`CentroCosto_id`),
  KEY `ctactegastos_mensuales_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `ctactegastos_mensuales_gasto_cta_cte_tesoreria_cuenta_id_foreign` (`gasto_cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `ctactegastos_mensuales_centrocosto_id_foreign` FOREIGN KEY (`CentroCosto_id`) REFERENCES `ctactegastos_centrocosto` (`id`),
  CONSTRAINT `ctactegastos_mensuales_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_mensuales_cuentatipo_id_foreign` FOREIGN KEY (`CuentaTipo_id`) REFERENCES `ctactegastos_cuenta_tipo` (`idCuentaTipo`),
  CONSTRAINT `ctactegastos_mensuales_gasto_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`gasto_cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_mensuales_tipodegasto_id_foreign` FOREIGN KEY (`TipoDeGasto_id`) REFERENCES `ctactegastos_tiposdegastos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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

INSERT INTO `dc_estados` VALUES (1,NULL,'BORRADOR',1,NULL,'2023-08-07 00:10:05',NULL),(2,NULL,'TERMINADO',1,NULL,'2023-08-07 00:10:05',NULL),(3,NULL,'ELIMINADO',1,NULL,'2023-08-13 09:23:56',NULL),(4,NULL,'PAGADO',1,NULL,'2023-08-07 00:10:05','2023-08-07 00:10:05'),(5,NULL,'CONCILIADO',1,NULL,'2023-08-07 00:10:05','2023-08-07 00:10:05');

--
-- 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:10:05',NULL),(2,NULL,'RECHAZADO',1,1,0,1,NULL,'2023-08-07 00:10:05',NULL),(3,NULL,'ACEPTADO',1,0,0,1,NULL,'2023-08-07 00:10:05',NULL),(4,NULL,'FALTAN FIRMAS',0,0,1,1,'2023-08-07 00:10:05','2023-08-07 00:10:05',NULL),(5,NULL,'EMITIDO',1,0,0,1,'2023-10-12 08:19:51','2023-10-12 08:19:51',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:39:47',
  `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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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


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

CREATE TABLE `dc_ordenes_facturada` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned DEFAULT NULL,
  `fact_elec_receipt_id` int(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:31:50',NULL),(3,NULL,'Deposito','App\\Models\\Inventario\\InvDeposito',1,1,NULL,'2024-05-07 20:14:40',NULL),(4,NULL,'Empleado','App\\Models\\SyJEmpleado',0,0,NULL,'2023-07-03 22:14:18',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-11-29 09:46:38',NULL),(2,NULL,'ORDEN DE VENTAS',NULL,1,NULL,'2022-11-29 09:46:38',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:33:13',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:39:47','2023-09-28 16:39:47',NULL),(11,NULL,'ANULACION REQUERIMIENTOS',NULL,1,'2024-04-02 23:36:00','2024-04-02 23:36:00',NULL),(12,NULL,'ANULACION COMPRAS PRODUCTOS',NULL,1,'2024-04-02 23:36:00','2024-04-02 23:36:00',NULL),(13,NULL,'ANULACION COMPRAS SERVICIOS',NULL,1,'2024-04-02 23:36:00','2024-04-02 23:36:00',NULL),(14,NULL,'REMITO DE GASTO',NULL,1,'2024-05-07 20:14:40','2024-05-07 20:14:40',NULL),(15,NULL,'COTIZACIONES',NULL,1,'2024-06-26 07:50:11','2024-06-26 07:50:11',NULL),(16,NULL,'REMITO INGRESO-DEVOLUCION',NULL,1,'2024-09-02 13:15:37','2024-09-02 13:15:37',NULL),(17,NULL,'REMITO EGRESO-DEVOLUCION',NULL,1,'2024-10-17 08:49:44','2024-10-17 08:49:44',NULL),(18,NULL,'REMITO','Es un remito de servicio, que no tiene ni ingreso ni egreso',1,'2024-12-03 21:41:55','2024-12-03 21:41:55',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:01:49',
  `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;

--
