-- 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,
  `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=1404 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,8399,1,1,NULL,'2023-01-24 14:00:41','2023-01-24 14:00:41',NULL),(2,8399,2,2,NULL,'2023-01-24 14:00:41','2023-01-24 14:00:41',NULL),(3,8399,3,3,NULL,'2023-01-24 14:00:41','2023-01-24 14:00:41',NULL),(4,8399,4,4,NULL,'2023-01-24 14:00:41','2023-01-24 14:00:41',NULL),(5,8399,5,5,NULL,'2023-01-24 14:00:41','2023-01-24 14:00:41',NULL),(6,8399,6,6,NULL,'2023-01-24 14:00:41','2023-01-24 14:00:41',NULL),(7,8399,7,7,NULL,'2023-01-24 14:00:41','2023-01-24 14:00:41',NULL),(8,8399,8,8,NULL,'2023-01-24 14:00:41','2023-01-24 14:00:41',NULL),(9,8399,9,9,NULL,'2023-01-24 14:00:41','2023-01-24 14:00:41',NULL),(10,8399,10,10,NULL,'2023-01-24 14:00:41','2023-01-24 14:00:41',NULL),(11,8399,11,11,NULL,'2023-01-27 17:24:05','2023-01-27 17:24:05',NULL),(12,8399,12,12,NULL,'2023-01-27 17:25:23','2023-01-27 22:24:49','2023-01-27 22:24:49'),(13,8399,13,13,NULL,'2023-01-27 17:25:23','2023-01-27 17:25:23',NULL),(14,8399,14,14,NULL,'2023-01-27 17:26:14','2023-01-27 17:26:14',NULL),(15,8399,15,15,NULL,'2023-01-27 17:26:14','2023-01-27 17:26:14',NULL),(16,8399,16,16,NULL,'2023-01-27 17:26:14','2023-01-27 17:26:14',NULL),(17,8399,17,17,NULL,'2023-01-27 17:26:14','2023-01-27 17:26:14',NULL),(18,8399,18,18,NULL,'2023-01-27 17:27:17','2023-01-27 17:27:17',NULL),(19,8399,19,19,NULL,'2023-01-27 17:27:17','2023-01-27 22:25:21','2023-01-27 22:25:21'),(20,8399,20,20,NULL,'2023-01-27 17:27:17','2023-01-27 17:27:17',NULL),(21,8399,21,21,NULL,'2023-01-27 17:28:10','2023-01-27 17:28:10',NULL),(22,8399,22,22,NULL,'2023-01-27 17:28:10','2023-01-27 17:28:10',NULL),(23,8399,23,23,NULL,'2023-01-27 17:29:53','2023-01-27 17:29:53',NULL),(24,8399,24,24,NULL,'2023-01-27 17:29:53','2023-01-27 17:29:53',NULL),(25,8399,25,25,NULL,'2023-01-27 17:29:53','2023-01-27 17:29:53',NULL),(26,8399,26,26,NULL,'2023-01-27 17:29:53','2023-01-27 17:29:53',NULL),(27,8399,27,27,NULL,'2023-01-27 17:30:38','2023-01-27 17:30:38',NULL),(28,8399,28,28,NULL,'2023-01-27 17:30:38','2023-01-27 17:30:38',NULL),(29,8399,29,29,NULL,'2023-01-27 17:30:38','2023-01-27 17:30:38',NULL),(30,8399,30,30,NULL,'2023-01-27 17:30:38','2023-01-27 17:30:38',NULL),(31,8399,31,31,NULL,'2023-01-27 17:30:38','2023-01-27 17:30:38',NULL),(32,8399,32,32,NULL,'2023-01-27 17:31:32','2023-01-27 17:31:32',NULL),(33,8399,33,33,NULL,'2023-01-27 17:31:32','2023-01-27 17:31:32',NULL),(34,8399,34,34,NULL,'2023-01-27 17:31:32','2023-01-27 17:31:32',NULL),(35,8399,35,35,NULL,'2023-01-27 17:32:27','2023-01-27 17:32:27',NULL),(36,8399,36,36,NULL,'2023-01-27 17:32:27','2023-01-27 17:32:27',NULL),(37,8399,37,37,NULL,'2023-01-27 17:32:27','2023-01-27 17:32:27',NULL),(38,8399,38,38,NULL,'2023-01-27 17:32:27','2023-01-27 17:32:27',NULL),(39,8399,39,39,NULL,'2023-01-27 17:33:13','2023-01-27 17:33:13',NULL),(40,8399,40,40,NULL,'2023-01-27 17:33:13','2023-01-27 17:33:13',NULL),(41,8399,41,41,NULL,'2023-01-27 17:33:13','2023-01-27 17:33:13',NULL),(42,8399,42,42,NULL,'2023-01-27 17:33:13','2023-01-27 17:33:13',NULL),(43,8399,43,43,NULL,'2023-01-27 17:33:13','2023-01-27 17:33:13',NULL),(44,8399,44,44,NULL,'2023-01-27 17:33:13','2023-01-27 17:33:13',NULL),(45,8399,45,45,NULL,'2023-01-27 17:34:25','2023-01-27 17:34:25',NULL),(46,8399,46,46,NULL,'2023-01-27 17:34:25','2023-01-27 17:34:25',NULL),(47,8399,47,47,NULL,'2023-01-27 17:34:25','2023-01-27 17:34:25',NULL),(48,8399,48,48,NULL,'2023-01-27 17:34:25','2023-01-27 17:34:25',NULL),(49,8399,49,49,NULL,'2023-01-27 17:34:25','2023-01-27 17:34:25',NULL),(50,8399,50,50,NULL,'2023-01-27 17:34:25','2023-01-27 17:34:25',NULL),(51,8399,51,51,NULL,'2023-01-27 17:34:25','2023-01-27 17:34:25',NULL),(52,8399,52,52,NULL,'2023-01-27 17:34:25','2023-01-27 17:34:25',NULL),(53,8399,53,53,NULL,'2023-01-27 17:34:25','2023-01-27 17:34:25',NULL),(54,8399,54,54,NULL,'2023-01-27 17:34:26','2023-01-27 17:34:26',NULL),(55,8399,55,55,NULL,'2023-01-27 17:34:38','2023-01-27 22:24:15','2023-01-27 22:24:15'),(56,8399,56,56,NULL,'2023-01-27 17:34:38','2023-01-27 22:23:43','2023-01-27 22:23:43');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (57,8399,57,57,NULL,'2023-01-27 17:34:38','2023-01-27 17:34:38',NULL),(58,8399,58,58,NULL,'2023-01-27 17:34:38','2023-01-27 17:34:38',NULL),(59,8399,59,59,NULL,'2023-01-27 17:34:38','2023-01-27 17:34:38',NULL),(60,8399,60,60,NULL,'2023-01-27 17:34:38','2023-01-27 22:22:58','2023-01-27 22:22:58'),(61,8399,61,61,NULL,'2023-01-27 17:34:38','2023-01-27 22:22:25','2023-01-27 22:22:25'),(62,8399,62,62,NULL,'2023-01-27 17:38:04','2023-01-27 17:38:04',NULL),(63,8399,63,63,NULL,'2023-01-27 17:38:04','2023-01-27 17:38:04',NULL),(64,8399,64,64,NULL,'2023-01-27 17:38:04','2023-01-27 17:38:04',NULL),(65,8399,65,65,NULL,'2023-01-27 17:38:04','2023-01-27 17:38:04',NULL),(66,8399,66,66,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(67,8399,67,67,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(68,8399,68,68,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(69,8399,69,69,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(70,8399,70,70,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(71,8399,71,71,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(72,8399,72,72,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(73,8399,73,73,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(74,8399,74,74,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(75,8399,75,75,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(76,8399,76,76,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(77,8399,77,77,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(78,8399,78,78,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(79,8399,79,79,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(80,8399,80,80,NULL,'2023-01-27 17:38:05','2023-01-27 17:38:05',NULL),(81,8399,81,81,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(82,8399,82,82,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(83,8399,83,83,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(84,8399,84,84,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(85,8399,85,85,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(86,8399,86,86,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(87,8399,87,87,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(88,8399,88,88,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(89,8399,89,89,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(90,8399,90,90,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(91,8399,91,91,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(92,8399,92,92,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(93,8399,93,93,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(94,8399,94,94,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(95,8399,95,95,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(96,8399,96,96,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(97,8399,97,97,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(98,8399,98,98,NULL,'2023-01-27 17:52:39','2023-01-27 17:52:39',NULL),(99,8399,99,99,NULL,'2023-01-27 17:52:56','2023-01-27 17:52:56',NULL),(100,8399,100,100,NULL,'2023-01-27 17:52:56','2023-01-27 17:52:56',NULL),(101,8399,101,101,NULL,'2023-01-27 17:52:56','2023-01-27 17:52:56',NULL),(102,8399,102,102,NULL,'2023-01-27 17:52:56','2023-01-27 17:52:56',NULL),(103,8399,103,103,NULL,'2023-01-27 17:52:56','2023-01-27 17:52:56',NULL),(104,8399,104,104,NULL,'2023-01-27 17:52:56','2023-01-27 17:52:56',NULL),(105,8399,105,105,NULL,'2023-01-27 17:52:56','2023-01-27 17:52:56',NULL),(106,8399,106,106,NULL,'2023-01-27 17:52:56','2023-01-27 17:52:56',NULL),(107,8399,107,107,NULL,'2023-01-27 17:52:56','2023-01-27 17:52:56',NULL),(108,8399,108,108,NULL,'2023-01-27 17:52:57','2023-01-27 17:52:57',NULL),(109,8399,109,109,NULL,'2023-01-27 17:52:57','2023-01-27 17:52:57',NULL),(110,8399,110,110,NULL,'2023-01-27 17:52:57','2023-01-27 17:52:57',NULL),(111,8399,111,111,NULL,'2023-01-27 17:52:57','2023-01-27 17:52:57',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (112,8399,112,112,NULL,'2023-01-27 17:52:57','2023-01-27 17:52:57',NULL),(113,8399,113,113,NULL,'2023-01-27 17:52:57','2023-01-27 17:52:57',NULL),(114,8399,114,114,NULL,'2023-01-27 17:52:57','2023-01-27 17:52:57',NULL),(115,8399,115,115,NULL,'2023-01-27 17:52:57','2023-01-27 17:52:57',NULL),(116,8399,116,116,NULL,'2023-01-27 17:52:57','2023-01-27 17:52:57',NULL),(117,8399,117,117,NULL,'2023-01-27 17:52:57','2023-01-27 17:52:57',NULL),(118,8399,118,118,NULL,'2023-01-27 17:52:57','2023-01-27 17:52:57',NULL),(119,8399,119,119,NULL,'2023-01-27 17:52:57','2023-01-27 17:52:57',NULL),(120,8399,120,120,NULL,'2023-01-27 17:52:57','2023-01-27 17:52:57',NULL),(121,8399,121,121,NULL,'2023-01-27 17:53:09','2023-01-27 17:53:09',NULL),(122,8399,122,122,NULL,'2023-01-27 17:53:09','2023-01-27 17:53:09',NULL),(123,8399,123,123,NULL,'2023-01-27 17:53:09','2023-01-27 17:53:09',NULL),(124,8399,124,124,NULL,'2023-01-27 17:53:10','2023-01-27 17:53:10',NULL),(125,8399,125,125,NULL,'2023-01-27 17:53:10','2023-01-27 17:53:10',NULL),(126,8399,126,126,NULL,'2023-01-27 17:53:10','2023-01-27 17:53:10',NULL),(127,8399,127,127,NULL,'2023-01-27 17:53:10','2023-01-27 17:53:10',NULL),(128,8399,128,128,NULL,'2023-01-27 17:53:10','2023-01-27 17:53:10',NULL),(129,8399,129,129,NULL,'2023-01-27 17:53:10','2023-01-27 17:53:10',NULL),(130,8399,130,130,NULL,'2023-01-27 17:53:10','2023-01-27 17:53:10',NULL),(131,8399,131,131,NULL,'2023-01-27 17:53:10','2023-01-27 17:53:10',NULL),(132,8399,132,132,NULL,'2023-01-27 17:53:10','2023-01-27 17:53:10',NULL),(133,8399,133,133,NULL,'2023-01-27 17:53:10','2023-01-27 17:53:10',NULL),(134,8399,134,134,NULL,'2023-01-27 17:53:10','2023-01-27 17:53:10',NULL),(135,8399,135,135,NULL,'2023-01-27 17:53:10','2023-01-27 17:53:10',NULL),(136,8399,136,136,NULL,'2023-01-27 17:53:10','2023-01-27 17:53:10',NULL),(137,8399,137,137,NULL,'2023-01-27 17:53:24','2023-01-27 17:53:24',NULL),(138,8399,138,138,NULL,'2023-01-27 17:53:24','2023-01-27 17:53:24',NULL),(139,8399,139,139,NULL,'2023-01-27 17:53:24','2023-01-27 17:53:24',NULL),(140,8399,140,140,NULL,'2023-01-27 17:53:24','2023-01-27 17:53:24',NULL),(141,8399,141,141,NULL,'2023-01-27 17:53:24','2023-01-27 17:53:24',NULL),(142,8399,142,142,NULL,'2023-01-27 17:53:24','2023-01-27 17:53:24',NULL),(143,8399,143,143,NULL,'2023-01-27 17:53:24','2023-01-27 17:53:24',NULL),(144,8399,144,144,NULL,'2023-01-27 17:53:24','2023-01-27 17:53:24',NULL),(145,8399,145,145,NULL,'2023-01-27 17:53:24','2023-01-27 17:53:24',NULL),(146,8399,146,146,NULL,'2023-01-27 17:53:24','2023-01-27 17:53:24',NULL),(147,8399,147,147,NULL,'2023-01-27 17:53:24','2023-01-27 17:53:24',NULL),(148,8399,148,148,NULL,'2023-01-27 17:53:24','2023-01-27 17:53:24',NULL),(149,8399,149,149,NULL,'2023-01-27 17:53:24','2023-01-27 17:53:24',NULL),(150,8399,150,150,NULL,'2023-01-27 17:53:24','2023-01-27 17:53:24',NULL),(151,8399,151,151,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(152,8399,152,152,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(153,8399,153,153,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(154,8399,154,154,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(155,8399,155,155,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(156,8399,156,156,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(157,8399,157,157,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(158,8399,158,158,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(159,8399,159,159,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(160,8399,160,160,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(161,8399,161,161,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(162,8399,162,162,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(163,8399,163,163,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(164,8399,164,164,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(165,8399,165,165,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (166,8399,166,166,NULL,'2023-01-27 17:53:25','2023-01-27 17:53:25',NULL),(167,8399,167,167,NULL,'2023-01-27 17:53:40','2023-01-27 17:53:40',NULL),(168,8399,168,168,NULL,'2023-01-27 17:53:40','2023-01-27 17:53:40',NULL),(169,8399,169,169,NULL,'2023-01-27 17:53:40','2023-01-27 17:53:40',NULL),(170,8399,170,170,NULL,'2023-01-27 17:53:40','2023-01-27 17:53:40',NULL),(171,8399,171,171,NULL,'2023-01-27 17:53:40','2023-01-27 17:53:40',NULL),(172,8399,172,172,NULL,'2023-01-27 17:53:40','2023-01-27 17:53:40',NULL),(173,8399,173,173,NULL,'2023-01-27 17:53:40','2023-01-27 17:53:40',NULL),(174,8399,174,174,NULL,'2023-01-27 17:53:40','2023-01-27 17:53:40',NULL),(175,8399,175,175,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(176,8399,176,176,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(177,8399,177,177,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(178,8399,178,178,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(179,8399,179,179,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(180,8399,180,180,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(181,8399,181,181,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(182,8399,182,182,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(183,8399,183,183,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(184,8399,184,184,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(185,8399,185,185,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(186,8399,186,186,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(187,8399,187,187,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(188,8399,188,188,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(189,8399,189,189,NULL,'2023-01-27 17:53:41','2023-01-27 17:53:41',NULL),(190,8399,190,190,NULL,'2023-01-27 17:53:54','2023-01-27 17:53:54',NULL),(191,8399,191,191,NULL,'2023-01-27 17:53:54','2023-01-27 17:53:54',NULL),(192,8399,192,192,NULL,'2023-01-27 17:53:55','2023-01-27 17:53:55',NULL),(193,8399,193,193,NULL,'2023-01-27 17:53:55','2023-01-27 17:53:55',NULL),(194,8399,194,194,NULL,'2023-01-27 17:53:55','2023-01-27 17:53:55',NULL),(195,8399,195,195,NULL,'2023-01-27 17:53:55','2023-01-27 17:53:55',NULL),(196,8399,196,196,NULL,'2023-01-27 17:53:55','2023-01-27 17:53:55',NULL),(197,8399,197,197,NULL,'2023-01-27 17:53:55','2023-01-27 17:53:55',NULL),(198,8399,198,198,NULL,'2023-01-27 17:53:55','2023-01-27 17:53:55',NULL),(199,8399,199,199,NULL,'2023-01-27 17:53:55','2023-01-27 17:53:55',NULL),(200,8399,200,200,NULL,'2023-01-27 17:53:55','2023-01-27 17:53:55',NULL),(201,8399,201,201,NULL,'2023-01-27 17:53:55','2023-01-27 17:53:55',NULL),(202,8399,202,202,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(203,8399,203,203,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(204,8399,204,204,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(205,8399,205,205,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(206,8399,206,206,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(207,8399,207,207,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(208,8399,208,208,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(209,8399,209,209,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(210,8399,210,210,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(211,8399,211,211,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(212,8399,212,212,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(213,8399,213,213,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(214,8399,214,214,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(215,8399,215,215,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(216,8399,216,216,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(217,8399,217,217,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(218,8399,218,218,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(219,8399,219,219,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (220,8399,220,220,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(221,8399,221,221,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(222,8399,222,222,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(223,8399,223,223,NULL,'2023-01-27 17:54:14','2023-01-27 17:54:14',NULL),(224,8399,224,224,NULL,'2023-01-27 17:54:15','2023-01-27 17:54:15',NULL),(225,8399,225,225,NULL,'2023-01-27 17:54:15','2023-01-27 17:54:15',NULL),(226,8399,226,226,NULL,'2023-01-27 17:54:15','2023-01-27 17:54:15',NULL),(227,8399,227,227,NULL,'2023-01-27 17:54:15','2023-01-27 17:54:15',NULL),(228,8399,228,228,NULL,'2023-01-27 17:54:15','2023-01-27 17:54:15',NULL),(229,8399,229,229,NULL,'2023-01-27 17:54:15','2023-01-27 17:54:15',NULL),(230,8399,230,230,NULL,'2023-01-27 17:54:15','2023-01-27 17:54:15',NULL),(231,8399,231,231,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(232,8399,232,232,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(233,8399,233,233,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(234,8399,234,234,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(235,8399,235,235,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(236,8399,236,236,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(237,8399,237,237,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(238,8399,238,238,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(239,8399,239,239,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(240,8399,240,240,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(241,8399,241,241,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(242,8399,242,242,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(243,8399,243,243,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(244,8399,244,244,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(245,8399,245,245,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(246,8399,246,246,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(247,8399,247,247,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(248,8399,248,248,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(249,8399,249,249,NULL,'2023-01-27 18:05:07','2023-01-27 18:05:07',NULL),(250,8399,250,250,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(251,8399,251,251,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(252,8399,252,252,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(253,8399,253,253,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(254,8399,254,254,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(255,8399,255,255,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(256,8399,256,256,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(257,8399,257,257,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(258,8399,258,258,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(259,8399,259,259,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(260,8399,260,260,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(261,8399,261,261,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(262,8399,262,262,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(263,8399,263,263,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(264,8399,264,264,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(265,8399,265,265,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(266,8399,266,266,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(267,8399,267,267,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(268,8399,268,268,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(269,8399,269,269,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(270,8399,270,270,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(271,8399,271,271,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(272,8399,272,272,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(273,8399,273,273,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (274,8399,274,274,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(275,8399,275,275,NULL,'2023-01-27 18:05:08','2023-01-27 18:05:08',NULL),(276,8399,276,276,NULL,'2023-01-27 18:05:09','2023-01-27 18:05:09',NULL),(277,8399,277,277,NULL,'2023-01-27 18:05:09','2023-01-27 18:05:09',NULL),(278,8399,278,278,NULL,'2023-01-27 18:05:09','2023-01-27 18:05:09',NULL),(279,8399,279,279,NULL,'2023-01-27 18:05:09','2023-01-27 18:05:09',NULL),(280,8399,280,280,NULL,'2023-01-27 18:05:09','2023-01-27 18:05:09',NULL),(281,8399,281,281,NULL,'2023-01-27 18:05:09','2023-01-27 18:05:09',NULL),(282,8399,282,282,NULL,'2023-01-27 18:05:09','2023-01-27 18:05:09',NULL),(283,8399,283,283,NULL,'2023-01-27 18:05:09','2023-01-27 18:05:09',NULL),(284,8399,284,284,NULL,'2023-01-27 18:05:09','2023-01-27 18:05:09',NULL),(285,8399,285,285,NULL,'2023-01-27 18:05:09','2023-03-16 23:37:25','2023-03-16 23:37:25'),(286,8399,286,286,NULL,'2023-01-27 18:05:09','2023-01-27 18:05:09',NULL),(287,8399,287,287,NULL,'2023-01-27 18:05:09','2023-01-27 18:05:09',NULL),(288,8399,288,288,NULL,'2023-01-27 18:05:09','2023-03-16 23:36:07','2023-03-16 23:36:07'),(289,8399,289,289,NULL,'2023-01-27 18:06:06','2023-03-16 23:36:58','2023-03-16 23:36:58'),(290,8399,290,290,NULL,'2023-01-27 18:06:06','2023-01-27 18:06:06',NULL),(291,8399,291,291,NULL,'2023-01-27 18:06:06','2023-01-27 18:06:06',NULL),(292,8399,292,292,NULL,'2023-01-27 18:06:06','2023-01-27 18:06:06',NULL),(293,8399,293,293,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(294,8399,294,294,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(295,8399,295,295,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(296,8399,296,296,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(297,8399,297,297,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(298,8399,298,298,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(299,8399,299,299,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(300,8399,300,300,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(301,8399,301,301,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(302,8399,302,302,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(303,8399,303,303,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(304,8399,304,304,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(305,8399,305,305,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(306,8399,306,306,NULL,'2023-01-27 18:06:07','2023-03-16 23:35:17','2023-03-16 23:35:17'),(307,8399,307,307,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(308,8399,308,308,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(309,8399,309,309,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(310,8399,310,310,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(311,8399,311,311,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(312,8399,312,312,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(313,8399,313,313,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(314,8399,314,314,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(315,8399,315,315,NULL,'2023-01-27 18:06:07','2023-01-27 18:06:07',NULL),(316,8399,316,316,NULL,'2023-01-27 18:06:08','2023-03-16 23:32:11','2023-03-16 23:32:11'),(317,8399,317,317,NULL,'2023-01-27 18:06:08','2023-03-16 23:33:29','2023-03-16 23:33:29'),(318,8399,318,318,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(319,8399,319,319,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(320,8399,320,320,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(321,8399,321,321,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(322,8399,322,322,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(323,8399,323,323,NULL,'2023-01-27 18:06:08','2023-03-16 23:32:47','2023-03-16 23:32:47'),(324,8399,324,324,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(325,8399,325,325,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (326,8399,326,326,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(327,8399,327,327,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(328,8399,328,328,NULL,'2023-01-27 18:06:08','2023-03-16 23:31:24','2023-03-16 23:31:24'),(329,8399,329,329,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(330,8399,330,330,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(331,8399,331,331,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(332,8399,332,332,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(333,8399,333,333,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(334,8399,334,334,NULL,'2023-01-27 18:06:08','2023-03-16 23:31:01','2023-03-16 23:31:01'),(335,8399,335,335,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(336,8399,336,336,NULL,'2023-01-27 18:06:08','2023-03-16 23:30:31','2023-03-16 23:30:31'),(337,8399,337,337,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(338,8399,338,338,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(339,8399,339,339,NULL,'2023-01-27 18:06:08','2023-01-27 18:06:08',NULL),(340,8399,340,340,NULL,'2023-01-27 18:06:27','2023-01-27 18:06:27',NULL),(341,8399,341,341,NULL,'2023-01-27 18:06:27','2023-01-27 18:06:27',NULL),(342,8399,342,342,NULL,'2023-01-27 18:06:27','2023-01-27 18:06:27',NULL),(343,8399,343,343,NULL,'2023-01-27 18:06:27','2023-01-27 18:06:27',NULL),(344,8399,344,344,NULL,'2023-01-27 18:06:27','2023-01-27 18:06:27',NULL),(345,8399,345,345,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(346,8399,346,346,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(347,8399,347,347,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(348,8399,348,348,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(349,8399,349,349,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(350,8399,350,350,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(351,8399,351,351,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(352,8399,352,352,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(353,8399,353,353,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(354,8399,354,354,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(355,8399,355,355,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(356,8399,356,356,NULL,'2023-01-27 18:06:28','2023-03-16 23:27:40','2023-03-16 23:27:40'),(357,8399,357,357,NULL,'2023-01-27 18:06:28','2023-03-16 23:29:07','2023-03-16 23:29:07'),(358,8399,358,358,NULL,'2023-01-27 18:06:28','2023-01-27 22:31:38','2023-01-27 22:31:38'),(359,8399,359,359,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(360,8399,360,360,NULL,'2023-01-27 18:06:28','2023-03-16 23:26:57','2023-03-16 23:26:57'),(361,8399,361,361,NULL,'2023-01-27 18:06:28','2023-03-16 23:26:22','2023-03-16 23:26:22'),(362,8399,362,362,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(363,8399,363,363,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(364,8399,364,364,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(365,8399,365,365,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(366,8399,366,366,NULL,'2023-01-27 18:06:28','2023-01-27 18:06:28',NULL),(367,8399,367,367,NULL,'2023-01-27 18:06:52','2023-01-27 18:06:52',NULL),(368,8399,368,368,NULL,'2023-01-27 18:06:52','2023-01-27 18:06:52',NULL),(369,8399,369,369,NULL,'2023-01-27 18:06:52','2023-01-27 18:06:52',NULL),(370,8399,370,370,NULL,'2023-01-27 18:06:52','2023-01-27 18:06:52',NULL),(371,8399,371,371,NULL,'2023-01-27 18:06:52','2023-03-16 23:25:41','2023-03-16 23:25:41'),(372,8399,372,372,NULL,'2023-01-27 18:06:52','2023-03-16 23:25:07','2023-03-16 23:25:07'),(373,8399,373,373,NULL,'2023-01-27 18:06:52','2023-03-16 23:24:08','2023-03-16 23:24:08'),(374,8399,374,374,NULL,'2023-01-27 18:06:52','2023-03-16 23:23:38','2023-03-16 23:23:38'),(375,8399,375,375,NULL,'2023-01-27 18:06:52','2023-01-27 18:06:52',NULL),(376,8399,376,376,NULL,'2023-01-27 18:06:52','2023-03-16 23:23:11','2023-03-16 23:23:11');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (377,8399,377,377,NULL,'2023-01-27 18:06:52','2023-03-16 23:22:44','2023-03-16 23:22:44'),(378,8399,378,378,NULL,'2023-01-27 18:06:53','2023-01-27 18:06:53',NULL),(379,8399,379,379,NULL,'2023-01-27 18:06:53','2023-01-27 18:06:53',NULL),(380,8399,380,380,NULL,'2023-01-27 18:06:53','2023-01-27 18:06:53',NULL),(381,8399,381,381,NULL,'2023-01-27 18:06:53','2023-01-27 18:06:53',NULL),(382,8399,382,382,NULL,'2023-01-27 18:06:53','2023-01-27 18:06:53',NULL),(383,8399,383,383,NULL,'2023-01-27 18:06:53','2023-01-27 18:06:53',NULL),(384,8399,384,384,NULL,'2023-01-27 18:06:53','2023-01-27 18:06:53',NULL),(385,8399,385,385,NULL,'2023-01-27 18:06:53','2023-01-27 18:06:53',NULL),(386,8399,386,386,NULL,'2023-01-27 18:06:53','2023-01-27 18:06:53',NULL),(387,8399,387,387,NULL,'2023-01-27 18:06:53','2023-01-27 23:01:36','2023-01-27 23:01:36'),(388,8399,388,388,NULL,'2023-01-27 18:06:53','2023-01-27 22:30:55','2023-01-27 22:30:55'),(389,8399,389,389,NULL,'2023-01-27 18:06:53','2023-03-16 23:22:08','2023-03-16 23:22:08'),(390,8399,390,390,NULL,'2023-01-27 18:06:53','2023-01-27 18:06:53',NULL),(391,8399,391,391,NULL,'2023-01-27 18:06:53','2023-01-27 18:06:53',NULL),(392,8399,392,392,NULL,'2023-01-27 18:06:53','2023-01-27 18:06:53',NULL),(393,8399,393,393,NULL,'2023-01-27 18:06:53','2023-03-16 23:21:40','2023-03-16 23:21:40'),(394,8399,394,394,NULL,'2023-01-27 18:06:53','2023-01-27 22:30:22','2023-01-27 22:30:22'),(395,8399,395,395,NULL,'2023-01-27 18:06:53','2023-03-16 23:20:32','2023-03-16 23:20:32'),(396,8399,396,396,NULL,'2023-01-27 18:06:53','2023-01-27 18:06:53',NULL),(397,8399,397,397,NULL,'2023-01-27 18:06:53','2023-03-16 23:19:41','2023-03-16 23:19:41'),(398,8399,398,398,NULL,'2023-01-27 18:06:54','2023-03-16 23:17:04','2023-03-16 23:17:04'),(399,8399,399,399,NULL,'2023-01-27 18:06:54','2023-01-27 22:29:59','2023-01-27 22:29:59'),(400,8399,400,400,NULL,'2023-01-27 18:06:54','2023-01-27 22:29:21','2023-01-27 22:29:21'),(401,8399,401,401,NULL,'2023-01-27 18:06:54','2023-01-27 18:06:54',NULL),(402,8399,402,402,NULL,'2023-01-27 18:06:54','2023-01-27 18:06:54',NULL),(403,8399,403,403,NULL,'2023-01-27 18:06:54','2023-01-27 22:28:40','2023-01-27 22:28:40'),(404,8399,404,61,NULL,'2023-01-27 22:22:25','2023-01-27 22:22:25',NULL),(405,8399,405,60,NULL,'2023-01-27 22:22:58','2023-01-27 22:22:58',NULL),(406,8399,406,56,NULL,'2023-01-27 22:23:43','2023-01-27 22:23:43',NULL),(407,8399,407,55,NULL,'2023-01-27 22:24:15','2023-01-27 22:24:15',NULL),(408,8399,408,12,NULL,'2023-01-27 22:24:49','2023-01-27 22:24:49',NULL),(409,8399,409,19,NULL,'2023-01-27 22:25:21','2023-01-27 22:25:21',NULL),(410,8399,410,403,NULL,'2023-01-27 22:28:40','2023-01-27 22:56:17','2023-01-27 22:56:17'),(411,8399,411,400,NULL,'2023-01-27 22:29:21','2023-02-25 11:51:50','2023-02-25 11:51:50'),(412,8399,412,399,NULL,'2023-01-27 22:29:59','2023-03-16 23:16:33','2023-03-16 23:16:33'),(413,8399,413,394,NULL,'2023-01-27 22:30:22','2023-03-16 23:21:00','2023-03-16 23:21:00'),(414,8399,414,388,NULL,'2023-01-27 22:30:55','2023-01-27 22:30:55',NULL),(415,8399,415,358,NULL,'2023-01-27 22:31:38','2023-03-16 23:29:42','2023-03-16 23:29:42'),(416,8399,416,403,NULL,'2023-01-27 22:56:17','2023-02-25 11:50:13','2023-02-25 11:50:13'),(417,8399,417,387,NULL,'2023-01-27 23:01:36','2023-01-27 23:01:36',NULL),(418,8399,418,404,NULL,'2023-01-29 19:53:44','2023-01-29 19:53:44',NULL),(419,8399,419,405,NULL,'2023-01-29 19:53:44','2023-01-29 19:53:44',NULL),(420,8399,420,406,NULL,'2023-01-29 19:55:59','2023-01-29 19:55:59',NULL),(421,8399,421,407,NULL,'2023-01-29 19:55:59','2023-01-29 19:55:59',NULL),(422,8399,422,408,NULL,'2023-01-29 19:55:59','2023-01-29 19:55:59',NULL),(423,8399,423,409,NULL,'2023-01-29 19:55:59','2023-01-29 19:55:59',NULL),(424,8399,424,410,NULL,'2023-01-29 19:56:13','2023-01-29 19:56:13',NULL),(425,8399,425,411,NULL,'2023-01-29 19:57:47','2023-01-29 19:57:47',NULL),(426,8399,426,412,NULL,'2023-01-29 19:57:47','2023-01-29 19:57:47',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (427,8399,427,413,NULL,'2023-01-29 19:57:47','2023-01-29 19:57:47',NULL),(428,8399,428,414,NULL,'2023-01-29 19:58:41','2023-01-29 19:58:41',NULL),(429,8399,429,415,NULL,'2023-01-29 19:58:41','2023-01-29 19:58:41',NULL),(430,8399,430,416,NULL,'2023-01-29 19:58:41','2023-01-29 19:58:41',NULL),(431,8399,431,417,NULL,'2023-01-29 19:58:41','2023-01-29 19:58:41',NULL),(432,8399,432,418,NULL,'2023-01-29 19:58:41','2023-01-29 19:58:41',NULL),(433,8399,433,419,NULL,'2023-01-29 19:58:41','2023-01-29 19:58:41',NULL),(434,8399,434,420,NULL,'2023-01-29 19:58:41','2023-01-29 19:58:41',NULL),(435,8399,435,421,NULL,'2023-01-29 19:58:41','2023-01-29 19:58:41',NULL),(436,8399,436,422,NULL,'2023-01-29 19:58:42','2023-01-29 19:58:42',NULL),(437,8399,437,423,NULL,'2023-01-29 19:59:08','2023-01-29 19:59:08',NULL),(438,8399,438,424,NULL,'2023-01-29 19:59:08','2023-01-29 19:59:08',NULL),(439,8399,439,425,NULL,'2023-01-29 19:59:08','2023-01-29 19:59:08',NULL),(440,8399,440,426,NULL,'2023-01-29 19:59:08','2023-01-29 19:59:08',NULL),(441,8399,441,427,NULL,'2023-01-29 19:59:08','2023-01-29 19:59:08',NULL),(442,8399,442,428,NULL,'2023-01-29 19:59:08','2023-01-29 19:59:08',NULL),(443,8399,443,429,NULL,'2023-01-29 19:59:08','2023-01-29 19:59:08',NULL),(448,8399,448,434,NULL,'2023-01-29 20:00:26','2023-01-29 20:00:26',NULL),(449,8399,449,435,NULL,'2023-01-29 20:00:26','2023-01-29 20:00:26',NULL),(450,8399,450,436,NULL,'2023-01-29 20:00:26','2023-01-29 20:00:26',NULL),(451,8399,451,437,NULL,'2023-01-29 20:00:26','2023-01-29 20:00:26',NULL),(452,8399,452,438,NULL,'2023-01-29 20:00:26','2023-01-29 20:00:26',NULL),(453,8399,453,439,NULL,'2023-01-29 20:00:26','2023-01-29 20:00:26',NULL),(454,8399,454,440,NULL,'2023-01-29 20:00:26','2023-01-29 20:00:26',NULL),(455,8399,455,441,NULL,'2023-01-29 20:00:26','2023-01-29 20:00:26',NULL),(456,8399,456,442,NULL,'2023-01-29 20:00:26','2023-01-29 20:00:26',NULL),(457,8399,457,443,NULL,'2023-01-29 20:00:26','2023-01-29 20:00:26',NULL),(458,8399,458,444,NULL,'2023-01-29 20:00:26','2023-01-29 20:00:26',NULL),(459,8399,459,445,NULL,'2023-01-29 20:00:51','2023-01-29 20:00:51',NULL),(460,8399,460,446,NULL,'2023-01-29 20:00:51','2023-01-29 20:00:51',NULL),(461,8399,461,447,NULL,'2023-01-29 20:00:51','2023-01-29 20:00:51',NULL),(462,8399,462,448,NULL,'2023-01-29 20:00:52','2023-01-29 20:00:52',NULL),(463,8399,463,449,NULL,'2023-01-29 20:00:52','2023-01-29 20:00:52',NULL),(464,8399,464,450,NULL,'2023-01-29 20:00:52','2023-01-29 20:00:52',NULL),(465,8399,465,451,NULL,'2023-01-29 20:00:52','2023-01-29 20:00:52',NULL),(466,8399,466,452,NULL,'2023-01-29 20:00:52','2023-01-29 20:00:52',NULL),(467,8399,467,453,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(468,8399,468,454,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(469,8399,469,455,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(470,8399,470,456,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(471,8399,471,457,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(472,8399,472,458,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(473,8399,473,459,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(474,8399,474,460,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(475,8399,475,461,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(476,8399,476,462,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(477,8399,477,463,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(478,8399,478,464,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(479,8399,479,465,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(480,8399,480,466,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(481,8399,481,467,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(482,8399,482,468,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(483,8399,483,469,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(484,8399,484,470,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (485,8399,485,471,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(486,8399,486,472,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(487,8399,487,473,NULL,'2023-01-29 20:01:38','2023-01-29 20:01:38',NULL),(488,8399,488,474,NULL,'2023-01-29 20:03:21','2023-01-29 20:03:21',NULL),(489,8399,489,475,NULL,'2023-01-29 20:03:21','2023-01-29 20:03:21',NULL),(490,8399,490,476,NULL,'2023-01-29 20:03:21','2023-01-29 20:03:21',NULL),(491,8399,491,477,NULL,'2023-01-29 20:03:21','2023-01-29 20:03:21',NULL),(492,8399,492,478,NULL,'2023-01-29 20:03:21','2023-01-29 20:03:21',NULL),(493,8399,493,479,NULL,'2023-01-29 20:03:21','2023-01-29 20:03:21',NULL),(494,8399,494,480,NULL,'2023-01-29 20:03:21','2023-01-29 20:03:21',NULL),(495,8399,495,481,NULL,'2023-01-29 20:03:21','2023-01-29 20:03:21',NULL),(496,8399,496,482,NULL,'2023-01-29 20:03:21','2023-01-29 20:03:21',NULL),(497,8399,497,483,NULL,'2023-01-29 20:03:21','2023-01-29 20:03:21',NULL),(498,8399,498,484,NULL,'2023-01-29 20:03:21','2023-01-29 20:03:21',NULL),(499,8399,499,485,NULL,'2023-01-29 20:03:21','2023-01-29 20:03:21',NULL),(500,8399,500,486,NULL,'2023-01-29 20:03:34','2023-01-29 20:03:34',NULL),(501,8399,501,487,NULL,'2023-01-29 20:03:34','2023-01-29 20:03:34',NULL),(502,8399,502,488,NULL,'2023-01-29 20:03:34','2023-01-29 20:03:34',NULL),(503,8399,503,489,NULL,'2023-01-29 20:03:34','2023-01-29 20:03:34',NULL),(504,8399,504,490,NULL,'2023-01-29 20:03:34','2023-01-29 20:03:34',NULL),(505,8399,505,491,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(506,8399,506,492,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(507,8399,507,493,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(508,8399,508,494,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(509,8399,509,495,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(510,8399,510,496,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(511,8399,511,497,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(512,8399,512,498,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(513,8399,513,499,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(514,8399,514,500,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(515,8399,515,501,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(516,8399,516,502,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(517,8399,517,503,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(518,8399,518,504,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(519,8399,519,505,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(520,8399,520,506,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(521,8399,521,507,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(522,8399,522,508,NULL,'2023-01-29 20:03:51','2023-01-29 20:03:51',NULL),(523,8399,523,509,NULL,'2023-01-29 20:03:52','2023-01-29 20:03:52',NULL),(524,8399,524,510,NULL,'2023-01-29 20:03:52','2023-01-29 20:03:52',NULL),(525,8399,525,511,NULL,'2023-01-29 20:03:52','2023-01-29 20:03:52',NULL),(526,8399,526,512,NULL,'2023-01-29 20:03:52','2023-01-29 20:03:52',NULL),(527,8399,527,513,NULL,'2023-01-29 20:03:52','2023-01-29 20:03:52',NULL),(528,8399,528,514,NULL,'2023-01-29 20:03:52','2023-01-29 20:03:52',NULL),(529,8399,529,515,NULL,'2023-01-29 20:03:52','2023-01-29 20:03:52',NULL),(530,8399,530,516,NULL,'2023-01-29 20:03:52','2023-01-29 20:03:52',NULL),(531,8399,531,517,NULL,'2023-01-29 20:03:52','2023-01-29 20:03:52',NULL),(532,8399,532,518,NULL,'2023-01-29 20:03:52','2023-01-29 20:03:52',NULL),(533,8399,533,519,NULL,'2023-01-29 20:03:52','2023-01-29 20:03:52',NULL),(534,8399,534,520,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(535,8399,535,521,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(536,8399,536,522,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(537,8399,537,523,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(538,8399,538,524,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (539,8399,539,525,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(540,8399,540,526,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(541,8399,541,527,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(542,8399,542,528,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(543,8399,543,529,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(544,8399,544,530,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(545,8399,545,531,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(546,8399,546,532,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(547,8399,547,533,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(548,8399,548,534,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(549,8399,549,535,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(550,8399,550,536,NULL,'2023-01-29 20:05:10','2023-01-29 20:05:10',NULL),(551,8399,551,537,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(552,8399,552,538,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(553,8399,553,539,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(554,8399,554,540,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(555,8399,555,541,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(556,8399,556,542,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(557,8399,557,543,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(558,8399,558,544,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(559,8399,559,545,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(560,8399,560,546,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(561,8399,561,547,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(562,8399,562,548,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(563,8399,563,549,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(564,8399,564,550,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(565,8399,565,551,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(566,8399,566,552,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(567,8399,567,553,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(568,8399,568,554,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(569,8399,569,555,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(570,8399,570,556,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(571,8399,571,557,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(572,8399,572,558,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(573,8399,573,559,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(574,8399,574,560,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(575,8399,575,561,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(576,8399,576,562,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(577,8399,577,563,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(578,8399,578,564,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(579,8399,579,565,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(580,8399,580,566,NULL,'2023-01-29 20:05:11','2023-01-29 20:05:11',NULL),(581,8399,581,567,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL),(582,8399,582,568,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL),(583,8399,583,569,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL),(584,8399,584,570,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL),(585,8399,585,571,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL),(586,8399,586,572,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL),(587,8399,587,573,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL),(588,8399,588,574,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL),(589,8399,589,575,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL),(590,8399,590,576,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL),(591,8399,591,577,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL),(592,8399,592,578,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (593,8399,593,579,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL),(594,8399,594,580,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL),(595,8399,595,581,NULL,'2023-01-29 20:07:09','2023-01-29 20:07:09',NULL),(596,8399,596,582,NULL,'2023-01-29 20:07:10','2023-01-29 20:07:10',NULL),(597,8399,597,583,NULL,'2023-01-29 20:07:10','2023-01-29 20:07:10',NULL),(598,8399,598,584,NULL,'2023-01-29 20:07:10','2023-01-29 20:07:10',NULL),(599,8399,599,585,NULL,'2023-01-29 20:07:10','2023-01-29 20:07:10',NULL),(600,8399,600,586,NULL,'2023-01-29 20:07:10','2023-01-29 20:07:10',NULL),(601,8399,601,587,NULL,'2023-01-29 20:07:10','2023-01-29 20:07:10',NULL),(602,8399,602,588,NULL,'2023-01-29 20:07:10','2023-01-29 20:07:10',NULL),(603,8399,603,589,NULL,'2023-01-29 20:07:10','2023-01-29 20:07:10',NULL),(604,8399,604,590,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(605,8399,605,591,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(606,8399,606,592,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(607,8399,607,593,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(608,8399,608,594,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(609,8399,609,595,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(610,8399,610,596,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(611,8399,611,597,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(612,8399,612,598,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(613,8399,613,599,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(614,8399,614,600,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(615,8399,615,601,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(616,8399,616,602,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(617,8399,617,603,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(618,8399,618,604,NULL,'2023-01-29 20:07:26','2023-01-29 20:07:26',NULL),(619,8399,619,605,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(620,8399,620,606,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(621,8399,621,607,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(622,8399,622,608,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(623,8399,623,609,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(624,8399,624,610,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(625,8399,625,611,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(626,8399,626,612,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(627,8399,627,613,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(628,8399,628,614,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(629,8399,629,615,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(630,8399,630,616,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(631,8399,631,617,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(632,8399,632,618,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(633,8399,633,619,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(634,8399,634,620,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(635,8399,635,621,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(636,8399,636,622,NULL,'2023-01-29 20:07:27','2023-01-29 20:07:27',NULL),(637,8399,637,623,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(638,8399,638,624,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(639,8399,639,625,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(640,8399,640,626,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(641,8399,641,627,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(642,8399,642,628,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(643,8399,643,629,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(644,8399,644,630,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(645,8399,645,631,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(646,8399,646,632,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (647,8399,647,633,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(648,8399,648,634,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(649,8399,649,635,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(650,8399,650,636,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(651,8399,651,637,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(652,8399,652,638,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(653,8399,653,639,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(654,8399,654,640,NULL,'2023-01-29 20:07:46','2023-01-29 20:07:46',NULL),(655,8399,655,641,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(656,8399,656,642,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(657,8399,657,643,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(658,8399,658,644,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(659,8399,659,645,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(660,8399,660,646,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(661,8399,661,647,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(662,8399,662,648,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(663,8399,663,649,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(664,8399,664,650,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(665,8399,665,651,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(666,8399,666,652,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(667,8399,667,653,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(668,8399,668,654,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(669,8399,669,655,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(670,8399,670,656,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(671,8399,671,657,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(672,8399,672,658,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(673,8399,673,659,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(674,8399,674,660,NULL,'2023-01-29 20:07:47','2023-01-29 20:07:47',NULL),(675,8399,675,661,NULL,'2023-01-29 20:08:01','2023-01-29 20:08:01',NULL),(676,8399,676,662,NULL,'2023-01-29 20:08:01','2023-01-29 20:08:01',NULL),(677,8399,677,663,NULL,'2023-01-29 20:08:01','2023-01-29 20:08:01',NULL),(678,8399,678,664,NULL,'2023-01-29 20:08:01','2023-01-29 20:08:01',NULL),(679,8399,679,665,NULL,'2023-01-29 20:08:01','2023-01-29 20:08:01',NULL),(680,8399,680,666,NULL,'2023-01-29 20:08:01','2023-01-29 20:08:01',NULL),(681,8399,681,667,NULL,'2023-01-29 20:08:01','2023-01-29 20:08:01',NULL),(682,8399,682,668,NULL,'2023-01-29 20:08:01','2023-01-29 20:08:01',NULL),(683,8399,683,669,NULL,'2023-01-29 20:08:01','2023-01-29 20:08:01',NULL),(684,8399,684,670,NULL,'2023-01-29 20:08:01','2023-01-29 20:08:01',NULL),(685,8399,685,671,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(686,8399,686,672,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(687,8399,687,673,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(688,8399,688,674,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(689,8399,689,675,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(690,8399,690,676,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(691,8399,691,677,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(692,8399,692,678,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(693,8399,693,679,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(694,8399,694,680,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(695,8399,695,681,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(696,8399,696,682,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(697,8399,697,683,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(698,8399,698,684,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(699,8399,699,685,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(700,8399,700,686,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (701,8399,701,687,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(702,8399,702,688,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(703,8399,703,689,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(704,8399,704,690,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(705,8399,705,691,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(706,8399,706,692,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(707,8399,707,693,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(708,8399,708,694,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(709,8399,709,695,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(710,8399,710,696,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(711,8399,711,697,NULL,'2023-01-29 20:08:02','2023-01-29 20:08:02',NULL),(712,8399,712,698,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(713,8399,713,699,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(714,8399,714,700,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(715,8399,715,701,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(716,8399,716,702,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(717,8399,717,703,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(718,8399,718,704,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(719,8399,719,705,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(720,8399,720,706,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(721,8399,721,707,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(722,8399,722,708,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(723,8399,723,709,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(724,8399,724,710,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(725,8399,725,711,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(726,8399,726,712,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(727,8399,727,713,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(728,8399,728,714,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(729,8399,729,715,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(730,8399,730,716,NULL,'2023-01-29 20:08:03','2023-01-29 20:08:03',NULL),(731,8399,731,717,NULL,'2023-01-29 20:09:20','2023-01-29 20:09:20',NULL),(732,8399,732,718,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(733,8399,733,719,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(734,8399,734,720,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(735,8399,735,721,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(736,8399,736,722,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(737,8399,737,723,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(738,8399,738,724,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(739,8399,739,725,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(740,8399,740,726,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(741,8399,741,727,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(742,8399,742,728,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(743,8399,743,729,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(744,8399,744,730,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(745,8399,745,731,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(746,8399,746,732,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(747,8399,747,733,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(748,8399,748,734,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(749,8399,749,735,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(750,8399,750,736,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(751,8399,751,737,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(752,8399,752,738,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(753,8399,753,739,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(754,8399,754,740,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (755,8399,755,741,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(756,8399,756,742,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(757,8399,757,743,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(758,8399,758,744,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(759,8399,759,745,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(760,8399,760,746,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(761,8399,761,747,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(762,8399,762,748,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(763,8399,763,749,NULL,'2023-01-29 20:09:21','2023-01-29 20:09:21',NULL),(764,8399,764,750,NULL,'2023-01-29 20:09:22','2023-01-29 20:09:22',NULL),(765,8399,765,751,NULL,'2023-01-29 20:09:22','2023-01-29 20:09:22',NULL),(766,8399,766,752,NULL,'2023-01-29 20:09:22','2023-01-29 20:09:22',NULL),(767,8399,767,753,NULL,'2023-01-29 20:09:22','2023-01-29 20:09:22',NULL),(768,8399,768,754,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(769,8399,769,755,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(770,8399,770,756,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(771,8399,771,757,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(772,8399,772,758,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(773,8399,773,759,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(774,8399,774,760,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(775,8399,775,761,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(776,8399,776,762,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(777,8399,777,763,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(778,8399,778,764,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(779,8399,779,765,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(780,8399,780,766,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(781,8399,781,767,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(782,8399,782,768,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(783,8399,783,769,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(784,8399,784,770,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(785,8399,785,771,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(786,8399,786,772,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(787,8399,787,773,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(788,8399,788,774,NULL,'2023-01-29 20:09:34','2023-01-29 20:09:34',NULL),(789,8399,789,775,NULL,'2023-01-29 20:09:35','2023-01-29 20:09:35',NULL),(790,8399,790,776,NULL,'2023-01-29 20:09:35','2023-01-29 20:09:35',NULL),(791,8399,791,777,NULL,'2023-01-29 20:09:35','2023-01-29 20:09:35',NULL),(792,8399,792,778,NULL,'2023-01-29 20:09:35','2023-01-29 20:09:35',NULL),(793,8399,793,779,NULL,'2023-01-29 20:09:35','2023-01-29 20:09:35',NULL),(794,8399,794,780,NULL,'2023-01-29 20:09:35','2023-01-29 20:09:35',NULL),(795,8399,795,781,NULL,'2023-01-29 20:09:35','2023-01-29 20:09:35',NULL),(796,8399,796,782,NULL,'2023-01-29 20:09:35','2023-01-29 20:09:35',NULL),(797,8399,797,783,NULL,'2023-01-29 20:09:35','2023-01-29 20:09:35',NULL),(798,8399,798,784,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(799,8399,799,785,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(800,8399,800,786,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(801,8399,801,787,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(802,8399,802,788,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(803,8399,803,789,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(804,8399,804,790,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(805,8399,805,791,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(806,8399,806,792,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(807,8399,807,793,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(808,8399,808,794,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (809,8399,809,795,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(810,8399,810,796,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(811,8399,811,797,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(812,8399,812,798,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(813,8399,813,799,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(814,8399,814,800,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(815,8399,815,801,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(816,8399,816,802,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(817,8399,817,803,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(818,8399,818,804,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(819,8399,819,805,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(820,8399,820,806,NULL,'2023-01-29 20:09:53','2023-01-29 20:09:53',NULL),(821,8399,821,807,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(822,8399,822,808,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(823,8399,823,809,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(824,8399,824,810,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(825,8399,825,811,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(826,8399,826,812,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(827,8399,827,813,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(828,8399,828,814,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(829,8399,829,815,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(830,8399,830,816,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(831,8399,831,817,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(832,8399,832,818,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(833,8399,833,819,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(834,8399,834,820,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(835,8399,835,821,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(836,8399,836,822,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(837,8399,837,823,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(838,8399,838,824,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(839,8399,839,825,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(840,8399,840,826,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(841,8399,841,827,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(842,8399,842,828,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(843,8399,843,829,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(844,8399,844,830,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(845,8399,845,831,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(846,8399,846,832,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(847,8399,847,833,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(848,8399,848,834,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(849,8399,849,835,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(850,8399,850,836,NULL,'2023-01-29 20:09:54','2023-01-29 20:09:54',NULL),(851,8399,851,837,NULL,'2023-01-29 20:09:55','2023-01-29 20:09:55',NULL),(852,8399,852,838,NULL,'2023-01-29 20:09:55','2023-01-29 20:09:55',NULL),(853,8399,853,839,NULL,'2023-01-29 20:09:55','2023-01-29 20:09:55',NULL),(854,8399,854,840,NULL,'2023-01-29 20:09:55','2023-01-29 20:09:55',NULL),(855,8399,855,841,NULL,'2023-01-29 20:09:55','2023-01-29 20:09:55',NULL),(856,8399,856,842,NULL,'2023-01-29 20:09:55','2023-01-29 20:09:55',NULL),(857,8399,857,843,NULL,'2023-01-29 20:09:55','2023-01-29 20:09:55',NULL),(858,8399,858,844,NULL,'2023-01-29 20:09:55','2023-01-29 20:09:55',NULL),(859,8399,859,845,NULL,'2023-01-29 20:09:55','2023-01-29 20:09:55',NULL),(860,8399,860,846,NULL,'2023-02-07 20:20:50','2023-02-07 20:20:50',NULL),(861,8399,861,847,NULL,'2023-02-07 20:23:48','2023-02-07 20:23:48',NULL),(862,8399,862,848,NULL,'2023-02-07 20:24:55','2023-02-07 20:24:55',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (863,8399,863,849,NULL,'2023-02-07 20:25:41','2023-02-07 20:25:41',NULL),(864,8399,864,850,NULL,'2023-02-07 20:26:52','2023-02-07 20:26:52',NULL),(865,8399,865,851,NULL,'2023-02-07 20:27:31','2023-02-07 20:29:20','2023-02-07 20:29:20'),(866,8399,866,852,NULL,'2023-02-07 20:28:21','2023-02-07 20:28:21',NULL),(867,8399,867,851,NULL,'2023-02-07 20:29:20','2023-02-07 20:29:52','2023-02-07 20:29:52'),(868,8399,868,851,NULL,'2023-02-07 20:29:52','2023-02-07 20:29:52',NULL),(869,8399,869,853,NULL,'2023-02-07 20:34:07','2023-02-07 20:34:07',NULL),(870,8399,870,854,NULL,'2023-02-07 20:34:36','2023-02-07 20:34:36',NULL),(871,8399,871,855,NULL,'2023-02-07 20:35:05','2023-02-07 20:50:02','2023-02-07 20:50:02'),(872,8399,872,855,NULL,'2023-02-07 20:50:02','2023-02-07 20:50:02',NULL),(873,8399,873,856,NULL,'2023-02-07 21:00:29','2023-02-07 21:00:29',NULL),(874,8399,874,857,NULL,'2023-02-07 21:05:22','2023-02-07 21:05:22',NULL),(879,8399,879,862,NULL,'2023-02-07 21:35:14','2023-02-07 21:35:14',NULL),(880,8399,880,863,NULL,'2023-02-07 21:35:14','2023-02-07 21:35:14',NULL),(881,8399,881,864,NULL,'2023-02-07 21:35:14','2023-02-07 21:35:14',NULL),(882,8399,882,865,NULL,'2023-02-07 21:35:14','2023-02-07 21:35:14',NULL),(883,8399,883,866,NULL,'2023-02-07 21:35:14','2023-02-07 21:35:14',NULL),(884,8399,884,867,NULL,'2023-02-07 21:35:14','2023-02-07 21:35:14',NULL),(885,8399,885,868,NULL,'2023-02-07 21:35:14','2023-02-07 21:35:14',NULL),(886,8399,886,403,NULL,'2023-02-25 11:50:13','2023-03-16 23:11:35','2023-03-16 23:11:35'),(887,8399,887,400,NULL,'2023-02-25 11:51:50','2023-03-16 23:14:29','2023-03-16 23:14:29'),(888,8399,888,869,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(889,8399,889,870,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(890,8399,890,871,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(891,8399,891,872,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(892,8399,892,873,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(893,8399,893,874,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(894,8399,894,875,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(895,8399,895,876,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(896,8399,896,877,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(897,8399,897,878,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(898,8399,898,879,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(899,8399,899,880,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(900,8399,900,881,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(901,8399,901,882,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(902,8399,902,883,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(903,8399,903,884,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(904,8399,904,885,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(905,8399,905,886,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(906,8399,906,887,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(907,8399,907,888,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(908,8399,908,889,NULL,'2023-03-14 22:06:33','2023-03-14 22:06:33',NULL),(909,8399,909,890,NULL,'2023-03-14 22:06:34','2023-03-14 22:06:34',NULL),(910,8399,910,891,NULL,'2023-03-14 22:06:34','2023-03-14 22:06:34',NULL),(911,8399,911,892,NULL,'2023-03-14 22:06:34','2023-03-14 22:06:34',NULL),(912,8399,912,893,NULL,'2023-03-14 22:06:34','2023-03-14 22:06:34',NULL),(913,8399,913,894,NULL,'2023-03-14 22:06:34','2023-03-14 22:06:34',NULL),(914,8399,914,895,NULL,'2023-03-14 22:06:34','2023-03-14 22:06:34',NULL),(915,8399,915,896,NULL,'2023-03-14 22:06:34','2023-03-14 22:06:34',NULL),(916,8399,916,897,NULL,'2023-03-14 22:06:34','2023-03-14 22:06:34',NULL),(917,8399,917,898,NULL,'2023-03-14 22:06:34','2023-03-14 22:06:34',NULL),(918,8399,918,899,NULL,'2023-03-14 22:06:34','2023-03-14 22:06:34',NULL),(919,8399,919,900,NULL,'2023-03-14 22:06:34','2023-03-14 22:06:34',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (920,8399,920,901,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(921,8399,921,902,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(922,8399,922,903,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(923,8399,923,904,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(924,8399,924,905,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(925,8399,925,906,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(926,8399,926,907,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(927,8399,927,908,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(928,8399,928,909,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(929,8399,929,910,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(930,8399,930,911,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(931,8399,931,912,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(932,8399,932,913,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(933,8399,933,914,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(934,8399,934,915,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(935,8399,935,916,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(936,8399,936,917,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(937,8399,937,918,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(938,8399,938,919,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(939,8399,939,920,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(940,8399,940,921,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(941,8399,941,922,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(942,8399,942,923,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(943,8399,943,924,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(944,8399,944,925,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(945,8399,945,926,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(946,8399,946,927,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(947,8399,947,928,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(948,8399,948,929,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(949,8399,949,930,NULL,'2023-03-14 22:07:58','2023-03-14 22:07:58',NULL),(950,8399,950,931,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(951,8399,951,932,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(952,8399,952,933,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(953,8399,953,934,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(954,8399,954,935,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(955,8399,955,936,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(956,8399,956,937,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(957,8399,957,938,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(958,8399,958,939,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(959,8399,959,940,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(960,8399,960,941,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(961,8399,961,942,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(962,8399,962,943,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(963,8399,963,944,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(964,8399,964,945,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(965,8399,965,946,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(966,8399,966,947,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(967,8399,967,948,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(968,8399,968,949,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(969,8399,969,950,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(970,8399,970,951,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(971,8399,971,952,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(972,8399,972,953,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(973,8399,973,954,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (974,8399,974,955,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(975,8399,975,956,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(976,8399,976,957,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(977,8399,977,958,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(978,8399,978,959,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(979,8399,979,960,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(980,8399,980,961,NULL,'2023-03-14 22:07:59','2023-03-14 22:07:59',NULL),(981,8399,981,962,NULL,'2023-03-14 22:08:00','2023-03-14 22:08:00',NULL),(982,8399,982,963,NULL,'2023-03-14 22:08:00','2023-03-14 22:08:00',NULL),(983,8399,983,964,NULL,'2023-03-14 22:08:00','2023-03-14 22:08:00',NULL),(984,8399,984,965,NULL,'2023-03-14 22:08:00','2023-03-14 22:08:00',NULL),(985,8399,985,966,NULL,'2023-03-14 22:08:00','2023-03-14 22:08:00',NULL),(986,8399,986,967,NULL,'2023-03-14 22:08:00','2023-03-14 22:08:00',NULL),(987,8399,987,968,NULL,'2023-03-14 22:08:00','2023-03-14 22:08:00',NULL),(988,8399,988,969,NULL,'2023-03-14 22:08:00','2023-03-14 22:08:00',NULL),(989,8399,989,970,NULL,'2023-03-14 22:08:00','2023-03-14 22:08:00',NULL),(990,8399,990,971,NULL,'2023-03-14 22:08:00','2023-03-14 22:08:00',NULL),(991,8399,991,972,NULL,'2023-03-14 22:08:25','2023-03-14 22:08:25',NULL),(992,8399,992,973,NULL,'2023-03-14 22:08:25','2023-03-14 22:08:25',NULL),(993,8399,993,974,NULL,'2023-03-14 22:08:25','2023-03-14 22:08:25',NULL),(994,8399,994,975,NULL,'2023-03-14 22:08:25','2023-03-14 22:08:25',NULL),(995,8399,995,976,NULL,'2023-03-14 22:08:25','2023-03-14 22:08:25',NULL),(996,8399,996,977,NULL,'2023-03-14 22:08:25','2023-03-14 22:08:25',NULL),(997,8399,997,978,NULL,'2023-03-14 22:08:25','2023-03-14 22:08:25',NULL),(998,8399,998,979,NULL,'2023-03-14 22:08:25','2023-03-14 22:08:25',NULL),(999,8399,999,980,NULL,'2023-03-14 22:08:25','2023-03-14 22:08:25',NULL),(1000,8399,1000,981,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1001,8399,1001,982,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1002,8399,1002,983,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1003,8399,1003,984,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1004,8399,1004,985,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1005,8399,1005,986,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1006,8399,1006,987,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1007,8399,1007,988,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1008,8399,1008,989,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1009,8399,1009,990,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1010,8399,1010,991,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1011,8399,1011,992,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1012,8399,1012,993,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1013,8399,1013,994,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1014,8399,1014,995,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1015,8399,1015,996,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1016,8399,1016,997,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1017,8399,1017,998,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1018,8399,1018,999,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1019,8399,1019,1000,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1020,8399,1020,1001,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1021,8399,1021,1002,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1022,8399,1022,1003,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1023,8399,1023,1004,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1024,8399,1024,1005,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1025,8399,1025,1006,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1026,8399,1026,1007,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1027,8399,1027,1008,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1028,8399,1028,1009,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1029,8399,1029,1010,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1030,8399,1030,1011,NULL,'2023-03-14 22:08:26','2023-03-14 22:08:26',NULL),(1031,8399,1031,1012,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1032,8399,1032,1013,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1033,8399,1033,1014,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1034,8399,1034,1015,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1035,8399,1035,1016,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1036,8399,1036,1017,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1037,8399,1037,1018,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1038,8399,1038,1019,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1039,8399,1039,1020,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1040,8399,1040,1021,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1041,8399,1041,1022,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1042,8399,1042,1023,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1043,8399,1043,1024,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1044,8399,1044,1025,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1045,8399,1045,1026,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1046,8399,1046,1027,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1047,8399,1047,1028,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1048,8399,1048,1029,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1049,8399,1049,1030,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1050,8399,1050,1031,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1051,8399,1051,1032,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1052,8399,1052,1033,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1053,8399,1053,1034,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1054,8399,1054,1035,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1055,8399,1055,1036,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1056,8399,1056,1037,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1057,8399,1057,1038,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1058,8399,1058,1039,NULL,'2023-03-14 22:08:27','2023-03-14 22:08:27',NULL),(1059,8399,1059,1040,NULL,'2023-03-14 22:08:28','2023-03-14 22:08:28',NULL),(1060,8399,1060,1041,NULL,'2023-03-14 22:08:28','2023-03-14 22:08:28',NULL),(1061,8399,1061,1042,NULL,'2023-03-14 22:08:28','2023-03-14 22:08:28',NULL),(1062,8399,1062,1043,NULL,'2023-03-14 22:08:28','2023-03-14 22:08:28',NULL),(1063,8399,1063,1044,NULL,'2023-03-14 22:08:28','2023-03-14 22:08:28',NULL),(1064,8399,1064,1045,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1065,8399,1065,1046,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1066,8399,1066,1047,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1067,8399,1067,1048,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1068,8399,1068,1049,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1069,8399,1069,1050,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1070,8399,1070,1051,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1071,8399,1071,1052,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1072,8399,1072,1053,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1073,8399,1073,1054,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1074,8399,1074,1055,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1075,8399,1075,1056,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1076,8399,1076,1057,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1077,8399,1077,1058,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1078,8399,1078,1059,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1079,8399,1079,1060,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1080,8399,1080,1061,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1081,8399,1081,1062,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1082,8399,1082,1063,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1083,8399,1083,1064,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1084,8399,1084,1065,NULL,'2023-03-14 22:09:11','2023-03-14 22:09:11',NULL),(1085,8399,1085,1066,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1086,8399,1086,1067,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1087,8399,1087,1068,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1088,8399,1088,1069,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1089,8399,1089,1070,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1090,8399,1090,1071,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1091,8399,1091,1072,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1092,8399,1092,1073,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1093,8399,1093,1074,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1094,8399,1094,1075,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1095,8399,1095,1076,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1096,8399,1096,1077,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1097,8399,1097,1078,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1098,8399,1098,1079,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1099,8399,1099,1080,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1100,8399,1100,1081,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1101,8399,1101,1082,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1102,8399,1102,1083,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1103,8399,1103,1084,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1104,8399,1104,1085,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1105,8399,1105,1086,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1106,8399,1106,1087,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1107,8399,1107,1088,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1108,8399,1108,1089,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1109,8399,1109,1090,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1110,8399,1110,1091,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1111,8399,1111,1092,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1112,8399,1112,1093,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1113,8399,1113,1094,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1114,8399,1114,1095,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1115,8399,1115,1096,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1116,8399,1116,1097,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1117,8399,1117,1098,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1118,8399,1118,1099,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1119,8399,1119,1100,NULL,'2023-03-14 22:09:12','2023-03-14 22:09:12',NULL),(1120,8399,1120,1101,NULL,'2023-03-14 22:09:13','2023-03-14 22:09:13',NULL),(1121,8399,1121,1102,NULL,'2023-03-14 22:09:13','2023-03-14 22:09:13',NULL),(1122,8399,1122,1103,NULL,'2023-03-14 22:09:13','2023-03-14 22:09:13',NULL),(1123,8399,1123,1104,NULL,'2023-03-14 22:09:13','2023-03-14 22:09:13',NULL),(1124,8399,1124,1105,NULL,'2023-03-14 22:09:13','2023-03-14 22:09:13',NULL),(1125,8399,1125,1106,NULL,'2023-03-14 22:09:13','2023-03-14 22:09:13',NULL),(1126,8399,1126,1107,NULL,'2023-03-14 22:09:13','2023-03-14 22:09:13',NULL),(1127,8399,1127,1108,NULL,'2023-03-14 22:09:13','2023-03-14 22:09:13',NULL),(1128,8399,1128,1109,NULL,'2023-03-14 22:09:13','2023-03-14 22:09:13',NULL),(1129,8399,1129,1110,NULL,'2023-03-14 22:09:13','2023-03-14 22:09:13',NULL),(1130,8399,1130,1111,NULL,'2023-03-14 22:09:48','2023-03-14 22:09:48',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1131,8399,1131,1112,NULL,'2023-03-14 22:09:48','2023-03-14 22:09:48',NULL),(1132,8399,1132,1113,NULL,'2023-03-14 22:09:48','2023-03-14 22:09:48',NULL),(1133,8399,1133,1114,NULL,'2023-03-14 22:09:48','2023-03-14 22:09:48',NULL),(1134,8399,1134,1115,NULL,'2023-03-14 22:09:48','2023-03-14 22:09:48',NULL),(1135,8399,1135,1116,NULL,'2023-03-14 22:09:48','2023-03-14 22:09:48',NULL),(1136,8399,1136,1117,NULL,'2023-03-14 22:09:48','2023-03-14 22:09:48',NULL),(1137,8399,1137,1118,NULL,'2023-03-14 22:09:48','2023-03-14 22:09:48',NULL),(1138,8399,1138,1119,NULL,'2023-03-14 22:09:48','2023-03-14 22:09:48',NULL),(1139,8399,1139,1120,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1140,8399,1140,1121,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1141,8399,1141,1122,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1142,8399,1142,1123,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1143,8399,1143,1124,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1144,8399,1144,1125,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1145,8399,1145,1126,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1146,8399,1146,1127,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1147,8399,1147,1128,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1148,8399,1148,1129,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1149,8399,1149,1130,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1150,8399,1150,1131,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1151,8399,1151,1132,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1152,8399,1152,1133,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1153,8399,1153,1134,NULL,'2023-03-14 22:09:49','2023-03-14 22:09:49',NULL),(1154,8399,1154,1135,NULL,'2023-03-14 22:10:20','2023-03-14 22:10:20',NULL),(1155,8399,1155,1136,NULL,'2023-03-14 22:10:20','2023-03-14 22:10:20',NULL),(1156,8399,1156,1137,NULL,'2023-03-14 22:10:20','2023-03-14 22:10:20',NULL),(1157,8399,1157,1138,NULL,'2023-03-14 22:10:20','2023-03-14 22:10:20',NULL),(1158,8399,1158,1139,NULL,'2023-03-14 22:10:20','2023-03-14 22:10:20',NULL),(1159,8399,1159,1140,NULL,'2023-03-14 22:10:20','2023-03-14 22:10:20',NULL),(1160,8399,1160,1141,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1161,8399,1161,1142,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1162,8399,1162,1143,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1163,8399,1163,1144,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1164,8399,1164,1145,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1165,8399,1165,1146,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1166,8399,1166,1147,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1167,8399,1167,1148,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1168,8399,1168,1149,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1169,8399,1169,1150,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1170,8399,1170,1151,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1171,8399,1171,1152,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1172,8399,1172,1153,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1173,8399,1173,1154,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1174,8399,1174,1155,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1175,8399,1175,1156,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1176,8399,1176,1157,NULL,'2023-03-14 22:10:21','2023-03-14 22:10:21',NULL),(1177,8399,1177,1158,NULL,'2023-03-14 22:10:54','2023-03-14 22:10:54',NULL),(1178,8399,1178,1159,NULL,'2023-03-14 22:10:54','2023-03-14 22:10:54',NULL),(1179,8399,1179,1160,NULL,'2023-03-14 22:10:54','2023-03-14 22:10:54',NULL),(1180,8399,1180,1161,NULL,'2023-03-14 22:10:54','2023-03-14 22:10:54',NULL),(1181,8399,1181,1162,NULL,'2023-03-14 22:10:54','2023-03-14 22:10:54',NULL),(1182,8399,1182,1163,NULL,'2023-03-14 22:10:54','2023-03-14 22:10:54',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1183,8399,1183,1164,NULL,'2023-03-14 22:10:54','2023-03-14 22:10:54',NULL),(1184,8399,1184,1165,NULL,'2023-03-14 22:10:54','2023-03-14 22:10:54',NULL),(1185,8399,1185,1166,NULL,'2023-03-14 22:10:54','2023-03-14 22:10:54',NULL),(1186,8399,1186,1167,NULL,'2023-03-14 22:10:54','2023-03-14 22:10:54',NULL),(1187,8399,1187,1168,NULL,'2023-03-14 22:10:54','2023-03-14 22:10:54',NULL),(1188,8399,1188,1169,NULL,'2023-03-14 22:10:54','2023-03-14 22:10:54',NULL),(1189,8399,1189,1170,NULL,'2023-03-14 22:10:54','2023-03-14 22:10:54',NULL),(1190,8399,1190,1171,NULL,'2023-03-14 22:10:55','2023-03-14 22:10:55',NULL),(1191,8399,1191,1172,NULL,'2023-03-14 22:10:55','2023-03-14 22:10:55',NULL),(1192,8399,1192,1173,NULL,'2023-03-14 22:10:55','2023-03-14 22:10:55',NULL),(1193,8399,1193,1174,NULL,'2023-03-14 22:10:55','2023-03-14 22:10:55',NULL),(1194,8399,1194,1175,NULL,'2023-03-14 22:10:55','2023-03-14 22:10:55',NULL),(1195,8399,1195,1176,NULL,'2023-03-14 22:10:55','2023-03-14 22:10:55',NULL),(1196,8399,1196,1177,NULL,'2023-03-14 22:10:55','2023-03-14 22:10:55',NULL),(1197,8399,1197,1178,NULL,'2023-03-14 22:10:55','2023-03-14 22:10:55',NULL),(1198,8399,1198,1179,NULL,'2023-03-14 22:10:55','2023-03-14 22:10:55',NULL),(1199,8399,1199,1180,NULL,'2023-03-14 22:10:55','2023-03-14 22:10:55',NULL),(1200,8399,1200,1181,NULL,'2023-03-14 22:10:55','2023-03-14 22:10:55',NULL),(1201,8399,1201,1182,NULL,'2023-03-14 22:10:55','2023-03-14 22:10:55',NULL),(1202,8399,1202,1183,NULL,'2023-03-14 22:10:55','2023-03-14 22:10:55',NULL),(1203,8399,1203,1184,NULL,'2023-03-14 22:10:55','2023-03-14 22:10:55',NULL),(1204,8399,1204,1185,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1205,8399,1205,1186,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1206,8399,1206,1187,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1207,8399,1207,1188,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1208,8399,1208,1189,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1209,8399,1209,1190,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1210,8399,1210,1191,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1211,8399,1211,1192,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1212,8399,1212,1193,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1213,8399,1213,1194,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1214,8399,1214,1195,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1215,8399,1215,1196,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1216,8399,1216,1197,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1217,8399,1217,1198,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1218,8399,1218,1199,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1219,8399,1219,1200,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1220,8399,1220,1201,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1221,8399,1221,1202,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1222,8399,1222,1203,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1223,8399,1223,1204,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1224,8399,1224,1205,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1225,8399,1225,1206,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1226,8399,1226,1207,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1227,8399,1227,1208,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1228,8399,1228,1209,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1229,8399,1229,1210,NULL,'2023-03-14 22:11:56','2023-03-14 22:11:56',NULL),(1230,8399,1230,1211,NULL,'2023-03-14 22:11:57','2023-03-14 22:11:57',NULL),(1231,8399,1231,1212,NULL,'2023-03-14 22:12:24','2023-03-14 22:12:24',NULL),(1232,8399,1232,1213,NULL,'2023-03-14 22:12:24','2023-03-14 22:12:24',NULL),(1233,8399,1233,1214,NULL,'2023-03-14 22:12:24','2023-03-14 22:12:24',NULL),(1234,8399,1234,1215,NULL,'2023-03-14 22:12:24','2023-03-14 22:12:24',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1235,8399,1235,1216,NULL,'2023-03-14 22:12:24','2023-03-14 22:12:24',NULL),(1236,8399,1236,1217,NULL,'2023-03-14 22:12:24','2023-03-14 22:12:24',NULL),(1237,8399,1237,1218,NULL,'2023-03-14 22:12:24','2023-03-14 22:12:24',NULL),(1238,8399,1238,1219,NULL,'2023-03-14 22:12:24','2023-03-14 22:12:24',NULL),(1239,8399,1239,1220,NULL,'2023-03-14 22:12:24','2023-03-14 22:12:24',NULL),(1240,8399,1240,1221,NULL,'2023-03-14 22:12:24','2023-03-14 22:12:24',NULL),(1241,8399,1241,1222,NULL,'2023-03-14 22:12:24','2023-03-14 22:12:24',NULL),(1242,8399,1242,1223,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1243,8399,1243,1224,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1244,8399,1244,1225,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1245,8399,1245,1226,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1246,8399,1246,1227,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1247,8399,1247,1228,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1248,8399,1248,1229,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1249,8399,1249,1230,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1250,8399,1250,1231,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1251,8399,1251,1232,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1252,8399,1252,1233,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1253,8399,1253,1234,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1254,8399,1254,1235,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1255,8399,1255,1236,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1256,8399,1256,1237,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1257,8399,1257,1238,NULL,'2023-03-14 22:12:25','2023-03-14 22:12:25',NULL),(1258,8399,1258,1239,NULL,'2023-03-14 22:12:53','2023-03-14 22:12:53',NULL),(1259,8399,1259,1240,NULL,'2023-03-14 22:12:53','2023-03-14 22:12:53',NULL),(1260,8399,1260,1241,NULL,'2023-03-14 22:12:53','2023-03-14 22:12:53',NULL),(1261,8399,1261,1242,NULL,'2023-03-14 22:12:53','2023-03-14 22:12:53',NULL),(1262,8399,1262,1243,NULL,'2023-03-14 22:12:53','2023-03-14 22:12:53',NULL),(1263,8399,1263,1244,NULL,'2023-03-14 22:12:53','2023-03-14 22:12:53',NULL),(1264,8399,1264,1245,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1265,8399,1265,1246,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1266,8399,1266,1247,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1267,8399,1267,1248,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1268,8399,1268,1249,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1269,8399,1269,1250,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1270,8399,1270,1251,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1271,8399,1271,1252,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1272,8399,1272,1253,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1273,8399,1273,1254,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1274,8399,1274,1255,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1275,8399,1275,1256,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1276,8399,1276,1257,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1277,8399,1277,1258,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1278,8399,1278,1259,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1279,8399,1279,1260,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1280,8399,1280,1261,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1281,8399,1281,1262,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1282,8399,1282,1263,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1283,8399,1283,1264,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1284,8399,1284,1265,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1285,8399,1285,1266,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1286,8399,1286,1267,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1287,8399,1287,1268,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1288,8399,1288,1269,NULL,'2023-03-14 22:12:54','2023-03-14 22:12:54',NULL),(1289,8399,1289,1270,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1290,8399,1290,1271,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1291,8399,1291,1272,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1292,8399,1292,1273,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1293,8399,1293,1274,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1294,8399,1294,1275,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1295,8399,1295,1276,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1296,8399,1296,1277,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1297,8399,1297,1278,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1298,8399,1298,1279,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1299,8399,1299,1280,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1300,8399,1300,1281,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1301,8399,1301,1282,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1302,8399,1302,1283,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1303,8399,1303,1284,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1304,8399,1304,1285,NULL,'2023-03-14 22:13:25','2023-03-14 22:13:25',NULL),(1305,8399,1305,1286,NULL,'2023-03-14 22:13:59','2023-03-14 22:13:59',NULL),(1306,8399,1306,1287,NULL,'2023-03-14 22:13:59','2023-03-14 22:13:59',NULL),(1307,8399,1307,1288,NULL,'2023-03-14 22:13:59','2023-03-14 22:13:59',NULL),(1308,8399,1308,1289,NULL,'2023-03-14 22:13:59','2023-03-14 22:13:59',NULL),(1309,8399,1309,1290,NULL,'2023-03-14 22:14:00','2023-03-14 22:14:00',NULL),(1310,8399,1310,1291,NULL,'2023-03-14 22:14:00','2023-03-14 22:14:00',NULL),(1311,8399,1311,1292,NULL,'2023-03-14 22:14:00','2023-03-14 22:14:00',NULL),(1312,8399,1312,1293,NULL,'2023-03-14 22:14:00','2023-03-14 22:14:00',NULL),(1313,8399,1313,1294,NULL,'2023-03-14 22:14:00','2023-03-14 22:14:00',NULL),(1314,8399,1314,1295,NULL,'2023-03-14 22:14:00','2023-03-14 22:14:00',NULL),(1315,8399,1315,1296,NULL,'2023-03-14 22:14:00','2023-03-14 22:14:00',NULL),(1316,8399,1316,1297,NULL,'2023-03-14 22:14:00','2023-03-14 22:14:00',NULL),(1317,8399,1317,1298,NULL,'2023-03-14 22:14:00','2023-03-14 22:14:00',NULL),(1318,8399,1318,1299,NULL,'2023-03-14 22:14:00','2023-03-14 22:14:00',NULL),(1319,8399,1319,1300,NULL,'2023-03-14 22:14:00','2023-03-14 22:14:00',NULL),(1320,8399,1320,1301,NULL,'2023-03-14 22:14:00','2023-03-14 22:14:00',NULL),(1321,8399,1321,1302,NULL,'2023-03-14 22:14:00','2023-03-14 22:14:00',NULL),(1322,8399,1322,1303,NULL,'2023-03-14 22:16:59','2023-03-14 22:16:59',NULL),(1323,8399,1323,1304,NULL,'2023-03-14 22:16:59','2023-03-14 22:16:59',NULL),(1324,8399,1324,1305,NULL,'2023-03-14 22:16:59','2023-03-14 22:16:59',NULL),(1325,8399,1325,1306,NULL,'2023-03-14 22:16:59','2023-03-14 22:16:59',NULL),(1326,8399,1326,1307,NULL,'2023-03-14 22:16:59','2023-03-14 22:16:59',NULL),(1327,8399,1327,1308,NULL,'2023-03-14 22:16:59','2023-03-14 22:16:59',NULL),(1328,8399,1328,1309,NULL,'2023-03-14 22:16:59','2023-03-14 22:16:59',NULL),(1329,8399,1329,1310,NULL,'2023-03-14 22:19:02','2023-03-14 22:19:02',NULL),(1330,8399,1330,1311,NULL,'2023-03-14 22:19:02','2023-03-14 22:19:02',NULL),(1331,8399,1331,1312,NULL,'2023-03-14 22:19:32','2023-03-14 22:19:32',NULL),(1332,8399,1332,1313,NULL,'2023-03-14 22:20:04','2023-03-14 22:20:04',NULL),(1333,8399,1333,1314,NULL,'2023-03-14 22:20:04','2023-03-14 22:20:04',NULL),(1334,8399,1334,1315,NULL,'2023-03-14 22:20:04','2023-03-14 22:20:04',NULL),(1335,8399,1335,1316,NULL,'2023-03-14 22:20:35','2023-03-14 22:20:35',NULL),(1336,8399,1336,1317,NULL,'2023-03-14 22:20:35','2023-03-14 22:20:35',NULL),(1337,8399,1337,1318,NULL,'2023-03-14 22:20:36','2023-03-14 22:20:36',NULL),(1338,8399,1338,1319,NULL,'2023-03-14 22:20:36','2023-03-14 22:20:36',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1339,8399,1339,1320,NULL,'2023-03-14 22:21:06','2023-03-14 22:21:06',NULL),(1340,8399,1340,1321,NULL,'2023-03-14 22:21:31','2023-03-14 22:21:31',NULL),(1341,8399,1341,1322,NULL,'2023-03-14 22:21:31','2023-03-14 22:21:31',NULL),(1342,8399,1342,1323,NULL,'2023-03-14 22:22:02','2023-03-14 22:22:02',NULL),(1343,8399,1343,1324,NULL,'2023-03-14 22:22:02','2023-03-14 22:22:02',NULL),(1344,8399,1344,1325,NULL,'2023-03-14 22:22:02','2023-03-14 22:22:02',NULL),(1345,8399,1345,1326,NULL,'2023-03-14 22:22:02','2023-03-14 22:22:02',NULL),(1346,8399,1346,1327,NULL,'2023-03-14 22:22:02','2023-03-14 22:22:02',NULL),(1347,8399,1347,1328,NULL,'2023-03-14 22:22:02','2023-03-14 22:22:02',NULL),(1348,8399,1348,1329,NULL,'2023-03-14 22:22:02','2023-03-14 22:22:02',NULL),(1349,8399,1349,1330,NULL,'2023-03-14 22:22:46','2023-03-14 22:22:46',NULL),(1350,8399,1350,1331,NULL,'2023-03-14 22:22:46','2023-03-14 22:22:46',NULL),(1351,8399,1351,1332,NULL,'2023-03-14 22:22:46','2023-03-14 22:22:46',NULL),(1352,8399,1352,1333,NULL,'2023-03-14 22:22:46','2023-03-14 22:22:46',NULL),(1353,8399,1353,1334,NULL,'2023-03-14 22:22:46','2023-03-14 22:22:46',NULL),(1354,8399,1354,1335,NULL,'2023-03-14 22:23:32','2023-03-14 22:23:32',NULL),(1355,8399,1355,1336,NULL,'2023-03-14 22:23:32','2023-03-14 22:23:32',NULL),(1356,8399,1356,1337,NULL,'2023-03-14 22:23:32','2023-03-14 22:23:32',NULL),(1357,8399,1357,1338,NULL,'2023-03-14 22:23:32','2023-03-14 22:23:32',NULL),(1358,8399,1358,1339,NULL,'2023-03-14 22:23:32','2023-03-14 22:23:32',NULL),(1359,8399,1359,1340,NULL,'2023-03-14 22:23:32','2023-03-14 22:23:32',NULL),(1360,8399,1360,1341,NULL,'2023-03-14 22:23:32','2023-03-14 22:23:32',NULL),(1361,8399,1361,1342,NULL,'2023-03-14 22:24:03','2023-03-14 22:24:03',NULL),(1362,8399,1362,1343,NULL,'2023-03-14 22:24:03','2023-03-14 22:24:03',NULL),(1363,8399,1363,1344,NULL,'2023-03-14 22:24:03','2023-03-14 22:24:03',NULL),(1364,8399,1364,1345,NULL,'2023-03-14 22:24:04','2023-03-14 22:24:04',NULL),(1365,8399,1365,1346,NULL,'2023-03-14 22:24:04','2023-03-14 22:24:04',NULL),(1366,8399,1366,1347,NULL,'2023-03-14 22:24:04','2023-03-14 22:24:04',NULL),(1367,8399,1367,1348,NULL,'2023-03-14 22:24:04','2023-03-14 22:24:04',NULL),(1368,8399,1368,1349,NULL,'2023-03-14 22:24:04','2023-03-14 22:24:04',NULL),(1369,8399,1369,1350,NULL,'2023-03-14 22:24:04','2023-03-14 22:24:04',NULL),(1370,8399,1370,1351,NULL,'2023-03-14 22:24:04','2023-03-14 22:24:04',NULL),(1371,8399,1371,1352,NULL,'2023-03-14 22:43:18','2023-03-14 22:43:18',NULL),(1372,8399,1372,1353,NULL,'2023-03-14 22:43:18','2023-03-14 22:43:18',NULL),(1373,8399,1373,403,NULL,'2023-03-16 23:11:35','2023-03-16 23:11:35',NULL),(1374,8399,1374,400,NULL,'2023-03-16 23:14:29','2023-03-16 23:14:29',NULL),(1375,8399,1375,399,NULL,'2023-03-16 23:16:33','2023-03-16 23:16:33',NULL),(1376,8399,1376,398,NULL,'2023-03-16 23:17:04','2023-03-16 23:17:04',NULL),(1377,8399,1377,397,NULL,'2023-03-16 23:19:41','2023-03-16 23:19:41',NULL),(1378,8399,1378,395,NULL,'2023-03-16 23:20:32','2023-03-16 23:20:32',NULL),(1379,8399,1379,394,NULL,'2023-03-16 23:21:00','2023-03-16 23:21:00',NULL),(1380,8399,1380,393,NULL,'2023-03-16 23:21:40','2023-03-16 23:21:40',NULL),(1381,8399,1381,389,NULL,'2023-03-16 23:22:08','2023-03-16 23:22:08',NULL),(1382,8399,1382,377,NULL,'2023-03-16 23:22:44','2023-03-16 23:22:44',NULL),(1383,8399,1383,376,NULL,'2023-03-16 23:23:11','2023-03-16 23:23:11',NULL),(1384,8399,1384,374,NULL,'2023-03-16 23:23:38','2023-03-16 23:23:38',NULL),(1385,8399,1385,373,NULL,'2023-03-16 23:24:08','2023-03-16 23:24:08',NULL),(1386,8399,1386,372,NULL,'2023-03-16 23:25:07','2023-03-16 23:25:07',NULL),(1387,8399,1387,371,NULL,'2023-03-16 23:25:41','2023-03-16 23:25:41',NULL),(1388,8399,1388,361,NULL,'2023-03-16 23:26:22','2023-03-16 23:26:22',NULL),(1389,8399,1389,360,NULL,'2023-03-16 23:26:57','2023-03-16 23:26:57',NULL),(1390,8399,1390,356,NULL,'2023-03-16 23:27:40','2023-03-16 23:27:40',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1391,8399,1391,357,NULL,'2023-03-16 23:29:07','2023-03-16 23:29:07',NULL),(1392,8399,1392,358,NULL,'2023-03-16 23:29:42','2023-03-16 23:29:42',NULL),(1393,8399,1393,336,NULL,'2023-03-16 23:30:31','2023-03-16 23:30:31',NULL),(1394,8399,1394,334,NULL,'2023-03-16 23:31:01','2023-03-16 23:31:01',NULL),(1395,8399,1395,328,NULL,'2023-03-16 23:31:24','2023-03-16 23:31:24',NULL),(1396,8399,1396,316,NULL,'2023-03-16 23:32:11','2023-03-16 23:32:11',NULL),(1397,8399,1397,323,NULL,'2023-03-16 23:32:47','2023-03-16 23:34:01','2023-03-16 23:34:01'),(1398,8399,1398,317,NULL,'2023-03-16 23:33:29','2023-03-16 23:33:29',NULL),(1399,8399,1399,323,NULL,'2023-03-16 23:34:01','2023-03-16 23:34:01',NULL),(1400,8399,1400,306,NULL,'2023-03-16 23:35:17','2023-03-16 23:35:17',NULL),(1401,8399,1401,288,NULL,'2023-03-16 23:36:07','2023-03-16 23:36:07',NULL),(1402,8399,1402,289,NULL,'2023-03-16 23:36:58','2023-03-16 23:36:58',NULL),(1403,8399,1403,285,NULL,'2023-03-16 23:37:25','2023-03-16 23:37:25',NULL);

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

CREATE TABLE `cta_cte_tesoreria` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `fecha` date DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(9,2) NOT NULL DEFAULT '1.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  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`),
  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`)
) 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_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,
  `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,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_bancos_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_bancos_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_bancos_ctacte_banco_id_foreign` (`ctacte_banco_id`),
  KEY `cta_cte_tesoreria_bancos_zone_id_foreign` (`zone_id`),
  KEY `cta_cte_tesoreria_bancos_cuenta_contable_id_foreign` (`cuenta_contable_id`),
  KEY `cta_cte_tesoreria_bancos_cuenta_contable_id_diferido_foreign` (`cuenta_contable_id_diferido`),
  KEY `cta_cte_tesoreria_bancos_cuenta_contable_id_pend_acred_foreign` (`cuenta_contable_id_pend_acred`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_ctacte_banco_id_foreign` FOREIGN KEY (`ctacte_banco_id`) REFERENCES `ctacte_bancos` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cuenta_contable_id_diferido_foreign` FOREIGN KEY (`cuenta_contable_id_diferido`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cuenta_contable_id_foreign` FOREIGN KEY (`cuenta_contable_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cuenta_contable_id_pend_acred_foreign` FOREIGN KEY (`cuenta_contable_id_pend_acred`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB 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=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

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

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

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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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

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

--
-- 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:13:12',NULL),(2,NULL,'RECHAZADO',1,1,0,1,NULL,'2023-08-07 00:13:12',NULL),(3,NULL,'ACEPTADO',1,0,0,1,NULL,'2023-08-07 00:13:12',NULL),(4,NULL,'FALTAN FIRMAS',0,0,1,1,'2023-08-07 00:13:12','2023-08-07 00:13:12',NULL),(5,NULL,'EMITIDO',1,0,0,1,'2023-10-12 08:22:26','2023-10-12 08:22:26',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:41:49',
  `dc_orden_id` bigint(20) unsigned NOT NULL DEFAULT '10',
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `request` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `dc_estado_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `dc_firma_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_orden_de_pago_person_id_foreign` (`person_id`),
  KEY `dc_orden_de_pago_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `dc_orden_de_pago_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_orden_de_pago_dc_firma_id_foreign` (`dc_firma_id`),
  KEY `dc_orden_de_pago_dc_estado_id_foreign` (`dc_estado_id`),
  CONSTRAINT `dc_orden_de_pago_dc_estado_id_foreign` FOREIGN KEY (`dc_estado_id`) REFERENCES `dc_estados` (`id`),
  CONSTRAINT `dc_orden_de_pago_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `dc_orden_de_pago_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_orden_de_pago_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_orden_de_pago_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_orden_de_pago`
--


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

CREATE TABLE `dc_orden_de_pago_receipts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_de_pago_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned NOT 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,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_orden_files_dc_orden_id_foreign` (`dc_orden_id`),
  CONSTRAINT `dc_orden_files_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

CREATE TABLE `dc_ordenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_tipo_id` bigint(20) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `titulo` text COLLATE utf8mb4_unicode_ci,
  `sucursal` int(11) NOT NULL DEFAULT '1',
  `numero` int(11) NOT NULL,
  `sector` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `solicitante` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fecha` date NOT NULL,
  `fecha_entrega` date DEFAULT NULL,
  `cantidades` decimal(16,2) NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(16,2) NOT NULL DEFAULT '1.00',
  `neto` decimal(16,2) NOT NULL,
  `iva` decimal(16,2) NOT NULL,
  `total` decimal(16,2) NOT NULL,
  `facturada` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `dc_estado_id` bigint(20) unsigned NOT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned DEFAULT NULL,
  `conta_cc_id` bigint(20) unsigned DEFAULT NULL,
  `origendestinoable_type` text COLLATE utf8mb4_unicode_ci,
  `origendestinoable_id` int(10) unsigned DEFAULT NULL,
  `is_multiples_ot` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `dc_orden_origen_destino_id` bigint(20) unsigned DEFAULT NULL,
  `is_completado` tinyint(1) NOT NULL DEFAULT '0',
  `dc_firma_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_dc_orden_tipo_id_foreign` (`dc_orden_tipo_id`),
  KEY `dc_ordenes_person_id_foreign` (`person_id`),
  KEY `dc_ordenes_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `dc_ordenes_dc_estado_id_foreign` (`dc_estado_id`),
  KEY `dc_ordenes_conta_cc_id_foreign` (`conta_cc_id`),
  KEY `dc_ordenes_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  KEY `dc_ordenes_dc_orden_origen_destino_id_foreign` (`dc_orden_origen_destino_id`),
  KEY `dc_ordenes_moneda_id_foreign` (`moneda_id`),
  KEY `dc_ordenes_dc_firma_id_foreign` (`dc_firma_id`),
  CONSTRAINT `dc_ordenes_conta_cc_id_foreign` FOREIGN KEY (`conta_cc_id`) REFERENCES `conta_centro_costos` (`id`),
  CONSTRAINT `dc_ordenes_dc_estado_id_foreign` FOREIGN KEY (`dc_estado_id`) REFERENCES `dc_estados` (`id`),
  CONSTRAINT `dc_ordenes_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `dc_ordenes_dc_orden_origen_destino_id_foreign` FOREIGN KEY (`dc_orden_origen_destino_id`) REFERENCES `dc_ordenes_origen_destino` (`id`),
  CONSTRAINT `dc_ordenes_dc_orden_tipo_id_foreign` FOREIGN KEY (`dc_orden_tipo_id`) REFERENCES `dc_ordenes_tipos` (`id`),
  CONSTRAINT `dc_ordenes_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `dc_ordenes_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `dc_ordenes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_ordenes_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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


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

CREATE TABLE `dc_ordenes_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_origen_destino_id` bigint(20) unsigned DEFAULT NULL,
  `origendestinoable_id` int(10) unsigned DEFAULT NULL,
  `origendestinoable_type` text COLLATE utf8mb4_unicode_ci,
  `cantidades` decimal(16,2) NOT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `inv_producto_id_destino` bigint(20) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `neto` decimal(16,2) NOT NULL,
  `desc_porc` decimal(16,2) DEFAULT NULL,
  `descuento` decimal(16,2) DEFAULT NULL,
  `system_tax_id` int(10) unsigned NOT NULL,
  `iva` decimal(16,2) NOT NULL,
  `subtotal` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_details_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_details_inv_producto_id_foreign` (`inv_producto_id`),
  KEY `dc_ordenes_details_system_tax_id_foreign` (`system_tax_id`),
  KEY `dc_ordenes_details_inv_producto_id_destino_foreign` (`inv_producto_id_destino`),
  KEY `dc_ordenes_details_dc_orden_origen_destino_id_foreign` (`dc_orden_origen_destino_id`),
  CONSTRAINT `dc_ordenes_details_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_details_dc_orden_origen_destino_id_foreign` FOREIGN KEY (`dc_orden_origen_destino_id`) REFERENCES `dc_ordenes_origen_destino` (`id`),
  CONSTRAINT `dc_ordenes_details_inv_producto_id_destino_foreign` FOREIGN KEY (`inv_producto_id_destino`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `dc_ordenes_details_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `dc_ordenes_details_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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


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

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

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


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

CREATE TABLE `dc_ordenes_origen_destino` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `modelo` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `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',1,NULL,NULL,NULL),(2,NULL,'Centro de Costos','App\\Models\\Inventario\\InvOrdenTrabajoHorasTipo',1,NULL,'2023-09-12 22:34:26',NULL),(3,NULL,'Deposito','App\\Models\\Inventario\\InvDeposito',0,NULL,'2023-07-03 22:15:56',NULL),(4,NULL,'Empleado','App\\Models\\SyJEmpleado',0,NULL,'2023-07-03 22:15:56',NULL);

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

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

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


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

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

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


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

CREATE TABLE `dc_ordenes_tipos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `usabilidad` longtext COLLATE utf8mb4_unicode_ci,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 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,'2023-01-23 09:33:35',NULL),(2,NULL,'ORDEN DE VENTAS',NULL,1,NULL,'2023-01-23 09:33:35',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:35:06',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:41:49','2023-09-28 16:41:49',NULL);

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

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

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


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

CREATE TABLE `ejer_anteriores` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `anio` int(11) NOT NULL,
  `ventas` decimal(16,2) DEFAULT NULL,
  `compras` decimal(16,2) DEFAULT NULL,
  `sueldos` decimal(16,2) DEFAULT NULL,
  `impuesto` decimal(16,2) DEFAULT NULL,
  `apagar` decimal(16,2) DEFAULT NULL,
  `afavor` decimal(16,2) DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ejer_anteriores_person_id_foreign` (`person_id`),
  CONSTRAINT `ejer_anteriores_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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

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

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

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

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


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

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

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


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

CREATE TABLE `fa_masiva_stock` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `data` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fa_masiva_stock_person_id_foreign` (`person_id`),
  KEY `fa_masiva_stock_person_id_relationed_foreign` (`person_id_relationed`),
  CONSTRAINT `fa_masiva_stock_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `fa_masiva_stock_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fa_masiva_stock`
--


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

CREATE TABLE `fac_elec_cond_frente_iva` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `fac_elec_cond_frente_iva_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

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

CREATE TABLE `fac_elec_unidad_medidas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `fac_elec_unidad_medidas_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

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

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

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

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

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

CREATE TABLE `fact_elec_perc_ret` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `codigo_afip` int(10) unsigned NOT NULL,
  `other_tax_id` int(10) unsigned NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fact_elec_perc_ret_other_tax_id_foreign` (`other_tax_id`),
  CONSTRAINT `fact_elec_perc_ret_other_tax_id_foreign` FOREIGN KEY (`other_tax_id`) REFERENCES `other_taxes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

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

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

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


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

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

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


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

CREATE TABLE `fact_elec_receipt_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fact_elec_receipt_id` int(10) unsigned NOT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `cantidad` decimal(20,2) NOT NULL,
  `unidad_medida` text COLLATE utf8mb4_unicode_ci,
  `precio_unitario` decimal(20,2) NOT NULL,
  `neto_gravado` decimal(20,2) NOT NULL,
  `bonificacion_porcentaje` decimal(20,2) DEFAULT NULL,
  `bonificacion_monto` decimal(20,2) DEFAULT NULL,
  `bonificacion_subtotal` decimal(20,2) DEFAULT NULL,
  `system_tax_id` int(10) unsigned NOT NULL DEFAULT '1',
  `iva_monto` decimal(20,2) DEFAULT NULL,
  `iva_subtotal` decimal(20,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `codigo` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fact_elec_receipt_details_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  KEY `fact_elec_receipt_details_system_tax_id_foreign` (`system_tax_id`),
  CONSTRAINT `fact_elec_receipt_details_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `fact_elec_receipt_details_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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


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

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

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

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

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

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

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


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

CREATE TABLE `faq` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pregunta` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `respuesta` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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


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

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

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


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

CREATE TABLE `ganan_art_90` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `anio` int(10) unsigned NOT NULL,
  `desde` decimal(16,2) NOT NULL DEFAULT '0.00',
  `hasta` decimal(16,2) NOT NULL DEFAULT '0.00',
  `impuesto` decimal(16,2) NOT NULL DEFAULT '0.00',
  `mas_porcentaje` decimal(16,2) NOT NULL DEFAULT '0.00',
  `excedente` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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


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

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

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


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

CREATE TABLE `ganan_ddjjs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `anio` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `ingresos_gravados` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ingresos_exentos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `egresos_gravados` decimal(16,2) NOT NULL DEFAULT '0.00',
  `egresos_exentos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `deducciones_total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `base_imponible` decimal(16,2) NOT NULL DEFAULT '0.00',
  `impuesto_determinado` decimal(16,2) NOT NULL DEFAULT '0.00',
  `saldo_a_pagar` decimal(16,2) NOT NULL DEFAULT '0.00',
  `saldo_a_favor` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ganan_ddjjs_person_id_foreign` (`person_id`),
  CONSTRAINT `ganan_ddjjs_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
