-- 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(10) unsigned NOT 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=1998 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1,NULL,1,1,NULL,NULL,NULL,NULL),(2,NULL,2,2,NULL,NULL,NULL,NULL),(3,NULL,3,3,NULL,NULL,NULL,NULL),(4,NULL,4,4,NULL,NULL,NULL,NULL),(5,NULL,5,5,NULL,NULL,NULL,NULL),(6,NULL,6,6,NULL,NULL,NULL,NULL),(7,NULL,7,7,NULL,NULL,NULL,NULL),(8,NULL,8,8,NULL,NULL,NULL,NULL),(9,NULL,9,9,NULL,NULL,NULL,NULL),(10,NULL,10,10,NULL,NULL,NULL,NULL),(11,NULL,11,11,NULL,NULL,NULL,NULL),(12,NULL,12,12,NULL,NULL,NULL,NULL),(13,NULL,13,13,NULL,NULL,NULL,NULL),(14,NULL,14,14,NULL,NULL,NULL,NULL),(15,NULL,15,15,NULL,NULL,NULL,NULL),(16,NULL,16,16,NULL,NULL,NULL,NULL),(17,NULL,17,17,NULL,NULL,NULL,NULL),(18,NULL,18,18,NULL,NULL,NULL,NULL),(19,NULL,19,19,NULL,NULL,NULL,NULL),(20,NULL,20,20,NULL,NULL,NULL,NULL),(21,NULL,21,21,NULL,NULL,NULL,NULL),(22,NULL,22,22,NULL,NULL,NULL,NULL),(23,NULL,23,23,NULL,NULL,NULL,NULL),(24,NULL,24,24,NULL,NULL,NULL,NULL),(25,NULL,25,25,NULL,NULL,NULL,NULL),(26,NULL,26,26,NULL,NULL,NULL,NULL),(27,NULL,27,27,NULL,NULL,NULL,NULL),(28,NULL,28,28,NULL,NULL,NULL,NULL),(29,NULL,29,29,NULL,NULL,NULL,NULL),(30,NULL,30,30,NULL,NULL,NULL,NULL),(31,NULL,31,31,NULL,NULL,NULL,NULL),(32,NULL,32,32,NULL,NULL,NULL,NULL),(33,NULL,33,33,NULL,NULL,NULL,NULL),(34,NULL,34,34,NULL,NULL,NULL,NULL),(35,NULL,35,35,NULL,NULL,NULL,NULL),(36,NULL,36,36,NULL,NULL,NULL,NULL),(37,NULL,37,37,NULL,NULL,NULL,NULL),(38,NULL,38,38,NULL,NULL,NULL,NULL),(39,NULL,39,39,NULL,NULL,NULL,NULL),(40,NULL,40,40,NULL,NULL,NULL,NULL),(41,NULL,41,41,NULL,NULL,NULL,NULL),(42,NULL,42,42,NULL,NULL,NULL,NULL),(43,NULL,43,43,NULL,NULL,NULL,NULL),(44,NULL,44,44,NULL,NULL,NULL,NULL),(45,NULL,45,45,NULL,NULL,NULL,NULL),(46,NULL,46,46,NULL,NULL,NULL,NULL),(47,NULL,47,47,NULL,NULL,NULL,NULL),(48,NULL,48,48,NULL,NULL,NULL,NULL),(49,NULL,49,49,NULL,NULL,NULL,NULL),(50,NULL,50,50,NULL,NULL,NULL,NULL),(51,NULL,51,51,NULL,NULL,NULL,NULL),(52,NULL,52,52,NULL,NULL,NULL,NULL),(53,NULL,53,53,NULL,NULL,NULL,NULL),(54,NULL,54,54,NULL,NULL,NULL,NULL),(55,NULL,55,55,NULL,NULL,NULL,NULL),(56,NULL,56,56,NULL,NULL,NULL,NULL),(57,NULL,57,57,NULL,NULL,NULL,NULL),(58,NULL,58,58,NULL,NULL,NULL,NULL),(59,NULL,59,59,NULL,NULL,NULL,NULL),(60,NULL,60,60,NULL,NULL,NULL,NULL),(61,NULL,61,61,NULL,NULL,NULL,NULL),(62,NULL,62,62,NULL,NULL,NULL,NULL),(63,NULL,63,63,NULL,NULL,NULL,NULL),(64,NULL,64,64,NULL,NULL,NULL,NULL),(65,NULL,65,65,NULL,NULL,NULL,NULL),(66,NULL,66,66,NULL,NULL,NULL,NULL),(67,NULL,67,67,NULL,NULL,NULL,NULL),(68,NULL,68,68,NULL,NULL,NULL,NULL),(69,NULL,69,69,NULL,NULL,NULL,NULL),(70,NULL,70,70,NULL,NULL,NULL,NULL),(71,NULL,71,71,NULL,NULL,NULL,NULL),(72,NULL,72,72,NULL,NULL,NULL,NULL),(73,NULL,73,73,NULL,NULL,NULL,NULL),(74,NULL,74,74,NULL,NULL,NULL,NULL),(75,NULL,75,75,NULL,NULL,NULL,NULL),(76,NULL,76,76,NULL,NULL,NULL,NULL),(77,NULL,77,77,NULL,NULL,NULL,NULL),(78,NULL,78,78,NULL,NULL,NULL,NULL),(79,NULL,79,79,NULL,NULL,NULL,NULL),(80,NULL,80,80,NULL,NULL,NULL,NULL),(81,NULL,81,81,NULL,NULL,NULL,NULL),(82,NULL,82,82,NULL,NULL,NULL,NULL),(83,NULL,83,83,NULL,NULL,NULL,NULL),(84,NULL,84,84,NULL,NULL,NULL,NULL),(85,NULL,85,85,NULL,NULL,NULL,NULL),(86,NULL,86,86,NULL,NULL,NULL,NULL),(87,NULL,87,87,NULL,NULL,NULL,NULL),(88,NULL,88,88,NULL,NULL,NULL,NULL),(89,NULL,89,89,NULL,NULL,NULL,NULL),(90,NULL,90,90,NULL,NULL,NULL,NULL),(91,NULL,91,91,NULL,NULL,NULL,NULL),(92,NULL,92,92,NULL,NULL,NULL,NULL),(93,NULL,93,93,NULL,NULL,NULL,NULL),(94,NULL,94,94,NULL,NULL,NULL,NULL),(95,NULL,95,95,NULL,NULL,NULL,NULL),(96,NULL,96,96,NULL,NULL,NULL,NULL),(97,NULL,97,97,NULL,NULL,NULL,NULL),(98,NULL,98,98,NULL,NULL,NULL,NULL),(99,NULL,99,99,NULL,NULL,NULL,NULL),(100,NULL,100,100,NULL,NULL,NULL,NULL),(101,NULL,101,101,NULL,NULL,NULL,NULL),(102,NULL,102,102,NULL,NULL,NULL,NULL),(103,NULL,103,103,NULL,NULL,NULL,NULL),(104,NULL,104,104,NULL,NULL,NULL,NULL),(105,NULL,105,105,NULL,NULL,NULL,NULL),(106,NULL,106,106,NULL,NULL,NULL,NULL),(107,NULL,107,107,NULL,NULL,NULL,NULL),(108,NULL,108,108,NULL,NULL,NULL,NULL),(109,NULL,109,109,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (110,NULL,110,110,NULL,NULL,NULL,NULL),(111,NULL,111,111,NULL,NULL,NULL,NULL),(112,NULL,112,112,NULL,NULL,NULL,NULL),(113,NULL,113,113,NULL,NULL,NULL,NULL),(114,NULL,114,114,NULL,NULL,NULL,NULL),(115,NULL,115,115,NULL,NULL,NULL,NULL),(116,NULL,116,116,NULL,NULL,NULL,NULL),(117,NULL,117,117,NULL,NULL,NULL,NULL),(118,NULL,118,118,NULL,NULL,NULL,NULL),(119,NULL,119,119,NULL,NULL,NULL,NULL),(120,NULL,120,120,NULL,NULL,NULL,NULL),(121,NULL,121,121,NULL,NULL,NULL,NULL),(122,NULL,122,122,NULL,NULL,NULL,NULL),(123,NULL,123,123,NULL,NULL,NULL,NULL),(124,NULL,124,124,NULL,NULL,NULL,NULL),(125,NULL,125,125,NULL,NULL,NULL,NULL),(126,NULL,126,126,NULL,NULL,NULL,NULL),(127,NULL,127,127,NULL,NULL,NULL,NULL),(128,NULL,128,128,NULL,NULL,NULL,NULL),(129,NULL,129,129,NULL,NULL,NULL,NULL),(130,NULL,130,130,NULL,NULL,NULL,NULL),(131,NULL,131,131,NULL,NULL,NULL,NULL),(132,NULL,132,132,NULL,NULL,NULL,NULL),(133,NULL,133,133,NULL,NULL,NULL,NULL),(134,NULL,134,134,NULL,NULL,NULL,NULL),(135,NULL,135,135,NULL,NULL,NULL,NULL),(136,NULL,136,136,NULL,NULL,NULL,NULL),(137,NULL,137,137,NULL,NULL,NULL,NULL),(138,NULL,138,138,NULL,NULL,NULL,NULL),(139,NULL,139,139,NULL,NULL,NULL,NULL),(140,NULL,140,140,NULL,NULL,NULL,NULL),(141,NULL,141,141,NULL,NULL,NULL,NULL),(142,NULL,142,142,NULL,NULL,NULL,NULL),(143,NULL,143,143,NULL,NULL,NULL,NULL),(144,NULL,144,144,NULL,NULL,NULL,NULL),(145,NULL,145,145,NULL,NULL,NULL,NULL),(146,NULL,146,146,NULL,NULL,NULL,NULL),(147,NULL,147,147,NULL,NULL,NULL,NULL),(148,NULL,148,148,NULL,NULL,NULL,NULL),(149,NULL,149,149,NULL,NULL,NULL,NULL),(150,NULL,150,150,NULL,NULL,NULL,NULL),(151,NULL,151,151,NULL,NULL,NULL,NULL),(152,NULL,152,152,NULL,NULL,NULL,NULL),(153,NULL,153,153,NULL,NULL,NULL,NULL),(154,NULL,154,154,NULL,NULL,NULL,NULL),(155,NULL,155,155,NULL,NULL,NULL,NULL),(156,NULL,156,156,NULL,NULL,NULL,NULL),(157,NULL,157,157,NULL,NULL,NULL,NULL),(158,NULL,158,158,NULL,NULL,NULL,NULL),(159,NULL,159,159,NULL,NULL,NULL,NULL),(160,NULL,160,160,NULL,NULL,NULL,NULL),(161,NULL,161,161,NULL,NULL,NULL,NULL),(162,NULL,162,162,NULL,NULL,NULL,NULL),(163,NULL,163,163,NULL,NULL,NULL,NULL),(164,NULL,164,164,NULL,NULL,NULL,NULL),(165,NULL,165,165,NULL,NULL,NULL,NULL),(166,NULL,166,166,NULL,NULL,NULL,NULL),(167,NULL,167,167,NULL,NULL,NULL,NULL),(168,NULL,168,168,NULL,NULL,NULL,NULL),(169,NULL,169,169,NULL,NULL,NULL,NULL),(170,NULL,170,170,NULL,NULL,NULL,NULL),(171,NULL,171,171,NULL,NULL,NULL,NULL),(172,NULL,172,172,NULL,NULL,NULL,NULL),(173,NULL,173,173,NULL,NULL,NULL,NULL),(174,NULL,174,174,NULL,NULL,NULL,NULL),(175,NULL,175,175,NULL,NULL,NULL,NULL),(176,NULL,176,176,NULL,NULL,NULL,NULL),(177,NULL,177,177,NULL,NULL,NULL,NULL),(178,NULL,178,178,NULL,NULL,NULL,NULL),(179,NULL,179,179,NULL,NULL,NULL,NULL),(180,NULL,180,180,NULL,NULL,NULL,NULL),(181,NULL,181,181,NULL,NULL,NULL,NULL),(182,NULL,182,182,NULL,NULL,NULL,NULL),(183,NULL,183,183,NULL,NULL,NULL,NULL),(184,NULL,184,184,NULL,NULL,NULL,NULL),(185,NULL,185,185,NULL,NULL,NULL,NULL),(186,NULL,186,186,NULL,NULL,NULL,NULL),(187,NULL,187,187,NULL,NULL,NULL,NULL),(188,NULL,188,188,NULL,NULL,NULL,NULL),(189,NULL,189,189,NULL,NULL,NULL,NULL),(190,NULL,190,190,NULL,NULL,NULL,NULL),(191,NULL,191,191,NULL,NULL,NULL,NULL),(192,NULL,192,192,NULL,NULL,NULL,NULL),(193,NULL,193,193,NULL,NULL,NULL,NULL),(194,NULL,194,194,NULL,NULL,NULL,NULL),(195,NULL,195,195,NULL,NULL,NULL,NULL),(196,NULL,196,196,NULL,NULL,NULL,NULL),(197,NULL,197,197,NULL,NULL,NULL,NULL),(198,NULL,198,198,NULL,NULL,NULL,NULL),(199,NULL,199,199,NULL,NULL,NULL,NULL),(200,NULL,200,200,NULL,NULL,NULL,NULL),(201,NULL,201,201,NULL,NULL,NULL,NULL),(202,NULL,202,202,NULL,NULL,NULL,NULL),(203,NULL,203,203,NULL,NULL,NULL,NULL),(204,NULL,204,204,NULL,NULL,NULL,NULL),(205,NULL,205,205,NULL,NULL,NULL,NULL),(206,NULL,206,206,NULL,NULL,NULL,NULL),(207,NULL,207,207,NULL,NULL,NULL,NULL),(208,NULL,208,208,NULL,NULL,NULL,NULL),(209,NULL,209,209,NULL,NULL,NULL,NULL),(210,NULL,210,210,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (211,NULL,211,211,NULL,NULL,NULL,NULL),(212,NULL,212,212,NULL,NULL,NULL,NULL),(213,NULL,213,213,NULL,NULL,NULL,NULL),(214,NULL,214,214,NULL,NULL,NULL,NULL),(215,NULL,215,215,NULL,NULL,NULL,NULL),(216,NULL,216,216,NULL,NULL,NULL,NULL),(217,NULL,217,217,NULL,NULL,NULL,NULL),(218,NULL,218,218,NULL,NULL,NULL,NULL),(219,NULL,219,219,NULL,NULL,NULL,NULL),(220,NULL,220,220,NULL,NULL,NULL,NULL),(221,NULL,221,221,NULL,NULL,NULL,NULL),(222,NULL,222,222,NULL,NULL,NULL,NULL),(223,NULL,223,223,NULL,NULL,NULL,NULL),(224,NULL,224,224,NULL,NULL,NULL,NULL),(225,NULL,225,225,NULL,NULL,NULL,NULL),(226,NULL,226,226,NULL,NULL,NULL,NULL),(227,NULL,227,227,NULL,NULL,NULL,NULL),(228,NULL,228,228,NULL,NULL,NULL,NULL),(229,NULL,229,229,NULL,NULL,NULL,NULL),(230,NULL,230,230,NULL,NULL,NULL,NULL),(231,NULL,231,231,NULL,NULL,NULL,NULL),(232,NULL,232,232,NULL,NULL,NULL,NULL),(233,NULL,233,233,NULL,NULL,NULL,NULL),(234,NULL,234,234,NULL,NULL,NULL,NULL),(235,NULL,235,235,NULL,NULL,NULL,NULL),(236,NULL,236,236,NULL,NULL,NULL,NULL),(237,NULL,237,237,NULL,NULL,NULL,NULL),(238,NULL,238,238,NULL,NULL,NULL,NULL),(239,NULL,239,239,NULL,NULL,NULL,NULL),(240,NULL,240,240,NULL,NULL,NULL,NULL),(241,NULL,241,241,NULL,NULL,NULL,NULL),(242,NULL,242,242,NULL,NULL,NULL,NULL),(243,NULL,243,243,NULL,NULL,NULL,NULL),(244,NULL,244,244,NULL,NULL,NULL,NULL),(245,NULL,245,245,NULL,NULL,NULL,NULL),(246,NULL,246,246,NULL,NULL,NULL,NULL),(247,NULL,247,247,NULL,NULL,NULL,NULL),(248,NULL,248,248,NULL,NULL,NULL,NULL),(249,NULL,249,249,NULL,NULL,NULL,NULL),(250,NULL,250,250,NULL,NULL,NULL,NULL),(251,NULL,251,251,NULL,NULL,NULL,NULL),(252,NULL,252,252,NULL,NULL,NULL,NULL),(253,NULL,253,253,NULL,NULL,NULL,NULL),(254,NULL,254,254,NULL,NULL,NULL,NULL),(255,NULL,255,255,NULL,NULL,NULL,NULL),(256,NULL,256,256,NULL,NULL,NULL,NULL),(257,NULL,257,257,NULL,NULL,NULL,NULL),(258,NULL,258,258,NULL,NULL,NULL,NULL),(259,NULL,259,259,NULL,NULL,NULL,NULL),(260,NULL,260,260,NULL,NULL,NULL,NULL),(261,NULL,261,261,NULL,NULL,NULL,NULL),(262,NULL,262,262,NULL,NULL,NULL,NULL),(263,NULL,263,263,NULL,NULL,NULL,NULL),(264,NULL,264,264,NULL,NULL,NULL,NULL),(265,NULL,265,265,NULL,NULL,NULL,NULL),(266,NULL,266,266,NULL,NULL,NULL,NULL),(267,NULL,267,267,NULL,NULL,NULL,NULL),(268,NULL,268,268,NULL,NULL,NULL,NULL),(269,NULL,269,269,NULL,NULL,NULL,NULL),(270,NULL,270,270,NULL,NULL,NULL,NULL),(271,NULL,271,271,NULL,NULL,NULL,NULL),(272,NULL,272,272,NULL,NULL,NULL,NULL),(273,NULL,273,273,NULL,NULL,NULL,NULL),(274,NULL,274,274,NULL,NULL,NULL,NULL),(275,NULL,275,275,NULL,NULL,NULL,NULL),(276,NULL,276,276,NULL,NULL,NULL,NULL),(277,NULL,277,277,NULL,NULL,NULL,NULL),(278,NULL,278,278,NULL,NULL,NULL,NULL),(279,NULL,279,279,NULL,NULL,NULL,NULL),(280,NULL,280,280,NULL,NULL,NULL,NULL),(281,NULL,281,281,NULL,NULL,NULL,NULL),(282,NULL,282,282,NULL,NULL,NULL,NULL),(283,NULL,283,283,NULL,NULL,NULL,NULL),(284,NULL,284,284,NULL,NULL,NULL,NULL),(285,NULL,285,285,NULL,NULL,NULL,NULL),(286,NULL,286,286,NULL,NULL,NULL,NULL),(287,NULL,287,287,NULL,NULL,NULL,NULL),(288,NULL,288,288,NULL,NULL,NULL,NULL),(289,NULL,289,289,NULL,NULL,NULL,NULL),(290,NULL,290,290,NULL,NULL,NULL,NULL),(291,NULL,291,291,NULL,NULL,NULL,NULL),(292,NULL,292,292,NULL,NULL,NULL,NULL),(293,NULL,293,293,NULL,NULL,NULL,NULL),(294,NULL,294,294,NULL,NULL,NULL,NULL),(295,NULL,295,295,NULL,NULL,NULL,NULL),(296,NULL,296,296,NULL,NULL,NULL,NULL),(297,NULL,297,297,NULL,NULL,NULL,NULL),(298,NULL,298,298,NULL,NULL,NULL,NULL),(299,NULL,299,299,NULL,NULL,NULL,NULL),(300,NULL,300,300,NULL,NULL,NULL,NULL),(301,NULL,301,301,NULL,NULL,NULL,NULL),(302,NULL,302,302,NULL,NULL,NULL,NULL),(303,NULL,303,303,NULL,NULL,NULL,NULL),(304,NULL,304,304,NULL,NULL,NULL,NULL),(305,NULL,305,305,NULL,NULL,NULL,NULL),(306,NULL,306,306,NULL,NULL,NULL,NULL),(307,NULL,307,307,NULL,NULL,NULL,NULL),(308,NULL,308,308,NULL,NULL,NULL,NULL),(309,NULL,309,309,NULL,NULL,NULL,NULL),(310,NULL,310,310,NULL,NULL,NULL,NULL),(311,NULL,311,311,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (312,NULL,312,312,NULL,NULL,NULL,NULL),(313,NULL,313,313,NULL,NULL,NULL,NULL),(314,NULL,314,314,NULL,NULL,NULL,NULL),(315,NULL,315,315,NULL,NULL,NULL,NULL),(316,NULL,316,316,NULL,NULL,NULL,NULL),(317,NULL,317,317,NULL,NULL,NULL,NULL),(318,NULL,318,318,NULL,NULL,NULL,NULL),(319,NULL,319,319,NULL,NULL,NULL,NULL),(320,NULL,320,320,NULL,NULL,NULL,NULL),(321,NULL,321,321,NULL,NULL,NULL,NULL),(322,NULL,322,322,NULL,NULL,NULL,NULL),(323,NULL,323,323,NULL,NULL,NULL,NULL),(324,NULL,324,324,NULL,NULL,NULL,NULL),(325,NULL,325,325,NULL,NULL,NULL,NULL),(326,NULL,326,326,NULL,NULL,NULL,NULL),(327,NULL,327,327,NULL,NULL,NULL,NULL),(328,NULL,328,328,NULL,NULL,NULL,NULL),(329,NULL,329,329,NULL,NULL,NULL,NULL),(330,NULL,330,330,NULL,NULL,NULL,NULL),(331,NULL,331,331,NULL,NULL,NULL,NULL),(332,NULL,332,332,NULL,NULL,NULL,NULL),(333,NULL,333,333,NULL,NULL,NULL,NULL),(334,NULL,334,334,NULL,NULL,NULL,NULL),(335,NULL,335,335,NULL,NULL,NULL,NULL),(336,NULL,336,336,NULL,NULL,NULL,NULL),(337,NULL,337,337,NULL,NULL,NULL,NULL),(338,NULL,338,338,NULL,NULL,NULL,NULL),(339,NULL,339,339,NULL,NULL,NULL,NULL),(340,NULL,340,340,NULL,NULL,NULL,NULL),(341,NULL,341,341,NULL,NULL,NULL,NULL),(342,NULL,342,342,NULL,NULL,NULL,NULL),(343,NULL,343,343,NULL,NULL,NULL,NULL),(344,NULL,344,344,NULL,NULL,NULL,NULL),(345,NULL,345,345,NULL,NULL,NULL,NULL),(346,NULL,346,346,NULL,NULL,NULL,NULL),(347,NULL,347,347,NULL,NULL,NULL,NULL),(348,NULL,348,348,NULL,NULL,NULL,NULL),(349,NULL,349,349,NULL,NULL,NULL,NULL),(350,NULL,350,350,NULL,NULL,NULL,NULL),(351,NULL,351,351,NULL,NULL,NULL,NULL),(352,NULL,352,352,NULL,NULL,NULL,NULL),(353,NULL,353,353,NULL,NULL,NULL,NULL),(354,NULL,354,354,NULL,NULL,NULL,NULL),(355,NULL,355,355,NULL,NULL,NULL,NULL),(356,NULL,356,356,NULL,NULL,NULL,NULL),(357,NULL,357,357,NULL,NULL,NULL,NULL),(358,NULL,358,358,NULL,NULL,NULL,NULL),(359,NULL,359,359,NULL,NULL,NULL,NULL),(360,NULL,360,360,NULL,NULL,NULL,NULL),(361,NULL,361,361,NULL,NULL,NULL,NULL),(362,NULL,362,362,NULL,NULL,NULL,NULL),(363,NULL,363,363,NULL,NULL,NULL,NULL),(364,NULL,364,364,NULL,NULL,NULL,NULL),(365,NULL,365,365,NULL,NULL,NULL,NULL),(366,NULL,366,366,NULL,NULL,NULL,NULL),(367,NULL,367,367,NULL,NULL,NULL,NULL),(368,NULL,368,368,NULL,NULL,NULL,NULL),(369,NULL,369,369,NULL,NULL,NULL,NULL),(370,NULL,370,370,NULL,NULL,NULL,NULL),(371,NULL,371,371,NULL,NULL,NULL,NULL),(372,NULL,372,372,NULL,NULL,NULL,NULL),(373,NULL,373,373,NULL,NULL,NULL,NULL),(374,NULL,374,374,NULL,NULL,NULL,NULL),(375,NULL,375,375,NULL,NULL,NULL,NULL),(376,NULL,376,376,NULL,NULL,NULL,NULL),(377,NULL,377,377,NULL,NULL,NULL,NULL),(378,NULL,378,378,NULL,NULL,NULL,NULL),(379,NULL,379,379,NULL,NULL,NULL,NULL),(380,NULL,380,380,NULL,NULL,NULL,NULL),(381,NULL,381,381,NULL,NULL,NULL,NULL),(382,NULL,382,382,NULL,NULL,NULL,NULL),(383,NULL,383,383,NULL,NULL,NULL,NULL),(384,NULL,384,384,NULL,NULL,NULL,NULL),(385,NULL,385,385,NULL,NULL,NULL,NULL),(386,NULL,386,386,NULL,NULL,NULL,NULL),(387,NULL,387,387,NULL,NULL,NULL,NULL),(388,NULL,388,388,NULL,NULL,NULL,NULL),(389,NULL,389,389,NULL,NULL,NULL,NULL),(390,NULL,390,390,NULL,NULL,NULL,NULL),(391,NULL,391,391,NULL,NULL,NULL,NULL),(392,NULL,392,392,NULL,NULL,NULL,NULL),(393,NULL,393,393,NULL,NULL,NULL,NULL),(394,NULL,394,394,NULL,NULL,NULL,NULL),(395,NULL,395,395,NULL,NULL,NULL,NULL),(396,NULL,396,396,NULL,NULL,NULL,NULL),(397,NULL,397,397,NULL,NULL,NULL,NULL),(398,NULL,398,398,NULL,NULL,NULL,NULL),(399,NULL,399,399,NULL,NULL,NULL,NULL),(400,NULL,400,400,NULL,NULL,NULL,NULL),(401,NULL,401,401,NULL,NULL,NULL,NULL),(402,NULL,402,402,NULL,NULL,NULL,NULL),(403,NULL,403,403,NULL,NULL,NULL,NULL),(404,NULL,404,404,NULL,NULL,NULL,NULL),(405,NULL,405,405,NULL,NULL,NULL,NULL),(406,NULL,406,406,NULL,NULL,NULL,NULL),(407,NULL,407,407,NULL,NULL,NULL,NULL),(408,NULL,408,408,NULL,NULL,NULL,NULL),(409,NULL,409,409,NULL,NULL,NULL,NULL),(410,NULL,410,410,NULL,NULL,NULL,NULL),(411,NULL,411,411,NULL,NULL,NULL,NULL),(412,NULL,412,412,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (413,NULL,413,413,NULL,NULL,NULL,NULL),(414,NULL,414,414,NULL,NULL,NULL,NULL),(415,NULL,415,415,NULL,NULL,NULL,NULL),(416,NULL,416,416,NULL,NULL,NULL,NULL),(417,NULL,417,417,NULL,NULL,NULL,NULL),(418,NULL,418,418,NULL,NULL,NULL,NULL),(419,NULL,419,419,NULL,NULL,NULL,NULL),(420,NULL,420,420,NULL,NULL,NULL,NULL),(421,NULL,421,421,NULL,NULL,NULL,NULL),(422,NULL,422,422,NULL,NULL,NULL,NULL),(423,NULL,423,423,NULL,NULL,NULL,NULL),(424,NULL,424,424,NULL,NULL,NULL,NULL),(425,NULL,425,425,NULL,NULL,NULL,NULL),(426,NULL,426,426,NULL,NULL,NULL,NULL),(427,NULL,427,427,NULL,NULL,NULL,NULL),(428,NULL,428,428,NULL,NULL,NULL,NULL),(429,NULL,429,429,NULL,NULL,NULL,NULL),(430,NULL,430,430,NULL,NULL,NULL,NULL),(431,NULL,431,431,NULL,NULL,NULL,NULL),(432,NULL,432,432,NULL,NULL,NULL,NULL),(433,NULL,433,433,NULL,NULL,NULL,NULL),(434,NULL,434,434,NULL,NULL,NULL,NULL),(435,NULL,435,435,NULL,NULL,NULL,NULL),(436,NULL,436,436,NULL,NULL,NULL,NULL),(437,NULL,437,437,NULL,NULL,NULL,NULL),(438,NULL,438,438,NULL,NULL,NULL,NULL),(439,NULL,439,439,NULL,NULL,NULL,NULL),(440,NULL,440,440,NULL,NULL,NULL,NULL),(441,NULL,441,441,NULL,NULL,NULL,NULL),(442,NULL,442,442,NULL,NULL,NULL,NULL),(443,NULL,443,443,NULL,NULL,NULL,NULL),(444,NULL,444,444,NULL,NULL,NULL,NULL),(445,NULL,445,445,NULL,NULL,NULL,NULL),(446,NULL,446,446,NULL,NULL,NULL,NULL),(447,NULL,447,447,NULL,NULL,NULL,NULL),(448,NULL,448,448,NULL,NULL,NULL,NULL),(449,NULL,449,449,NULL,NULL,NULL,NULL),(450,NULL,450,450,NULL,NULL,NULL,NULL),(451,NULL,451,451,NULL,NULL,NULL,NULL),(452,NULL,452,452,NULL,NULL,NULL,NULL),(453,NULL,453,453,NULL,NULL,NULL,NULL),(454,NULL,454,454,NULL,NULL,NULL,NULL),(455,NULL,455,455,NULL,NULL,NULL,NULL),(456,NULL,456,456,NULL,NULL,NULL,NULL),(457,NULL,457,457,NULL,NULL,NULL,NULL),(458,NULL,458,458,NULL,NULL,NULL,NULL),(459,NULL,459,459,NULL,NULL,NULL,NULL),(460,NULL,460,460,NULL,NULL,NULL,NULL),(461,NULL,461,461,NULL,NULL,NULL,NULL),(462,NULL,462,462,NULL,NULL,NULL,NULL),(463,NULL,463,463,NULL,NULL,NULL,NULL),(464,NULL,464,464,NULL,NULL,NULL,NULL),(465,NULL,465,465,NULL,NULL,NULL,NULL),(466,NULL,466,466,NULL,NULL,NULL,NULL),(467,NULL,467,467,NULL,NULL,NULL,NULL),(468,NULL,468,468,NULL,NULL,NULL,NULL),(469,NULL,469,469,NULL,NULL,NULL,NULL),(470,NULL,470,470,NULL,NULL,NULL,NULL),(471,NULL,471,471,NULL,NULL,NULL,NULL),(472,NULL,472,472,NULL,NULL,NULL,NULL),(473,NULL,473,473,NULL,NULL,NULL,NULL),(474,NULL,474,474,NULL,NULL,NULL,NULL),(475,NULL,475,475,NULL,NULL,NULL,NULL),(476,NULL,476,476,NULL,NULL,NULL,NULL),(477,NULL,477,477,NULL,NULL,NULL,NULL),(478,NULL,478,478,NULL,NULL,NULL,NULL),(479,NULL,479,479,NULL,NULL,NULL,NULL),(480,NULL,480,480,NULL,NULL,NULL,NULL),(481,NULL,481,481,NULL,NULL,NULL,NULL),(482,NULL,482,482,NULL,NULL,NULL,NULL),(483,NULL,483,483,NULL,NULL,NULL,NULL),(484,NULL,484,484,NULL,NULL,NULL,NULL),(485,NULL,485,485,NULL,NULL,NULL,NULL),(486,NULL,486,486,NULL,NULL,NULL,NULL),(487,NULL,487,487,NULL,NULL,NULL,NULL),(488,NULL,488,488,NULL,NULL,NULL,NULL),(489,NULL,489,489,NULL,NULL,NULL,NULL),(490,NULL,490,490,NULL,NULL,NULL,NULL),(491,NULL,491,491,NULL,NULL,NULL,NULL),(492,NULL,492,492,NULL,NULL,NULL,NULL),(493,NULL,493,493,NULL,NULL,NULL,NULL),(494,NULL,494,494,NULL,NULL,NULL,NULL),(495,NULL,495,495,NULL,NULL,NULL,NULL),(496,NULL,496,496,NULL,NULL,NULL,NULL),(497,NULL,497,497,NULL,NULL,NULL,NULL),(498,NULL,498,498,NULL,NULL,NULL,NULL),(499,NULL,499,499,NULL,NULL,NULL,NULL),(500,NULL,500,500,NULL,NULL,NULL,NULL),(501,NULL,501,501,NULL,NULL,NULL,NULL),(502,NULL,502,502,NULL,NULL,NULL,NULL),(503,NULL,503,503,NULL,NULL,NULL,NULL),(504,NULL,504,504,NULL,NULL,NULL,NULL),(505,NULL,505,505,NULL,NULL,NULL,NULL),(506,NULL,506,506,NULL,NULL,NULL,NULL),(507,NULL,507,507,NULL,NULL,NULL,NULL),(508,NULL,508,508,NULL,NULL,NULL,NULL),(509,NULL,509,509,NULL,NULL,NULL,NULL),(510,NULL,510,510,NULL,NULL,NULL,NULL),(511,NULL,511,511,NULL,NULL,NULL,NULL),(512,NULL,512,512,NULL,NULL,NULL,NULL),(513,NULL,513,513,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (514,NULL,514,514,NULL,NULL,NULL,NULL),(515,NULL,515,515,NULL,NULL,NULL,NULL),(516,NULL,516,516,NULL,NULL,NULL,NULL),(517,NULL,517,517,NULL,NULL,NULL,NULL),(518,NULL,518,518,NULL,NULL,NULL,NULL),(519,NULL,519,519,NULL,NULL,NULL,NULL),(520,NULL,520,520,NULL,NULL,NULL,NULL),(521,NULL,521,521,NULL,NULL,NULL,NULL),(522,NULL,522,522,NULL,NULL,NULL,NULL),(523,NULL,523,523,NULL,NULL,NULL,NULL),(524,NULL,524,524,NULL,NULL,NULL,NULL),(525,NULL,525,525,NULL,NULL,NULL,NULL),(526,NULL,526,526,NULL,NULL,NULL,NULL),(527,NULL,527,527,NULL,NULL,NULL,NULL),(528,NULL,528,528,NULL,NULL,NULL,NULL),(529,NULL,529,529,NULL,NULL,NULL,NULL),(530,NULL,530,530,NULL,NULL,NULL,NULL),(531,NULL,531,531,NULL,NULL,NULL,NULL),(532,NULL,532,532,NULL,NULL,NULL,NULL),(533,NULL,533,533,NULL,NULL,NULL,NULL),(534,NULL,534,534,NULL,NULL,NULL,NULL),(535,NULL,535,535,NULL,NULL,NULL,NULL),(536,NULL,536,536,NULL,NULL,NULL,NULL),(537,NULL,537,537,NULL,NULL,NULL,NULL),(538,NULL,538,538,NULL,NULL,NULL,NULL),(539,NULL,539,539,NULL,NULL,NULL,NULL),(540,NULL,540,540,NULL,NULL,NULL,NULL),(541,NULL,541,541,NULL,NULL,NULL,NULL),(542,NULL,542,542,NULL,NULL,NULL,NULL),(543,NULL,543,543,NULL,NULL,NULL,NULL),(544,NULL,544,544,NULL,NULL,NULL,NULL),(545,NULL,545,545,NULL,NULL,NULL,NULL),(546,NULL,546,546,NULL,NULL,NULL,NULL),(547,NULL,547,547,NULL,NULL,NULL,NULL),(548,NULL,548,548,NULL,NULL,NULL,NULL),(549,NULL,549,549,NULL,NULL,NULL,NULL),(550,NULL,550,550,NULL,NULL,NULL,NULL),(551,NULL,551,551,NULL,NULL,NULL,NULL),(552,NULL,552,552,NULL,NULL,NULL,NULL),(553,NULL,553,553,NULL,NULL,NULL,NULL),(554,NULL,554,554,NULL,NULL,NULL,NULL),(555,NULL,555,555,NULL,NULL,NULL,NULL),(556,NULL,556,556,NULL,NULL,NULL,NULL),(557,NULL,557,557,NULL,NULL,NULL,NULL),(558,NULL,558,558,NULL,NULL,NULL,NULL),(559,NULL,559,559,NULL,NULL,NULL,NULL),(560,NULL,560,560,NULL,NULL,NULL,NULL),(561,NULL,561,561,NULL,NULL,NULL,NULL),(562,NULL,562,562,NULL,NULL,NULL,NULL),(563,NULL,563,563,NULL,NULL,NULL,NULL),(564,NULL,564,564,NULL,NULL,NULL,NULL),(565,NULL,565,565,NULL,NULL,NULL,NULL),(566,NULL,566,566,NULL,NULL,NULL,NULL),(567,NULL,567,567,NULL,NULL,NULL,NULL),(568,NULL,568,568,NULL,NULL,NULL,NULL),(569,NULL,569,569,NULL,NULL,NULL,NULL),(570,NULL,570,570,NULL,NULL,NULL,NULL),(571,NULL,571,571,NULL,NULL,NULL,NULL),(572,NULL,572,572,NULL,NULL,NULL,NULL),(573,NULL,573,573,NULL,NULL,NULL,NULL),(574,NULL,574,574,NULL,NULL,NULL,NULL),(575,NULL,575,575,NULL,NULL,NULL,NULL),(576,NULL,576,576,NULL,NULL,NULL,NULL),(577,NULL,577,577,NULL,NULL,NULL,NULL),(578,NULL,578,578,NULL,NULL,NULL,NULL),(579,NULL,579,579,NULL,NULL,NULL,NULL),(580,NULL,580,580,NULL,NULL,NULL,NULL),(581,NULL,581,581,NULL,NULL,NULL,NULL),(582,NULL,582,582,NULL,NULL,NULL,NULL),(583,NULL,583,583,NULL,NULL,NULL,NULL),(584,NULL,584,584,NULL,NULL,NULL,NULL),(585,NULL,585,585,NULL,NULL,NULL,NULL),(586,NULL,586,586,NULL,NULL,NULL,NULL),(587,NULL,587,587,NULL,NULL,NULL,NULL),(588,NULL,588,588,NULL,NULL,NULL,NULL),(589,NULL,589,589,NULL,NULL,NULL,NULL),(590,NULL,590,590,NULL,NULL,NULL,NULL),(591,NULL,591,591,NULL,NULL,NULL,NULL),(592,NULL,592,592,NULL,NULL,NULL,NULL),(593,NULL,593,593,NULL,NULL,NULL,NULL),(594,NULL,594,594,NULL,NULL,NULL,NULL),(595,NULL,595,595,NULL,NULL,NULL,NULL),(596,NULL,596,596,NULL,NULL,NULL,NULL),(597,NULL,597,597,NULL,NULL,NULL,NULL),(598,NULL,598,598,NULL,NULL,NULL,NULL),(599,NULL,599,599,NULL,NULL,NULL,NULL),(600,NULL,600,600,NULL,NULL,NULL,NULL),(601,NULL,601,601,NULL,NULL,NULL,NULL),(602,NULL,602,602,NULL,NULL,NULL,NULL),(603,NULL,603,603,NULL,NULL,NULL,NULL),(604,NULL,604,604,NULL,NULL,NULL,NULL),(605,NULL,605,605,NULL,NULL,NULL,NULL),(606,NULL,606,606,NULL,NULL,NULL,NULL),(607,NULL,607,607,NULL,NULL,NULL,NULL),(608,NULL,608,608,NULL,NULL,NULL,NULL),(609,NULL,609,609,NULL,NULL,NULL,NULL),(610,NULL,610,610,NULL,NULL,NULL,NULL),(611,NULL,611,611,NULL,NULL,NULL,NULL),(612,NULL,612,612,NULL,NULL,NULL,NULL),(613,NULL,613,613,NULL,NULL,NULL,NULL),(614,NULL,614,614,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (615,NULL,615,615,NULL,NULL,NULL,NULL),(616,NULL,616,616,NULL,NULL,NULL,NULL),(617,NULL,617,617,NULL,NULL,NULL,NULL),(618,NULL,618,618,NULL,NULL,NULL,NULL),(619,NULL,619,619,NULL,NULL,NULL,NULL),(620,NULL,620,620,NULL,NULL,NULL,NULL),(621,NULL,621,621,NULL,NULL,NULL,NULL),(622,NULL,622,622,NULL,NULL,NULL,NULL),(623,NULL,623,623,NULL,NULL,NULL,NULL),(624,NULL,624,624,NULL,NULL,NULL,NULL),(625,NULL,625,625,NULL,NULL,NULL,NULL),(626,NULL,626,626,NULL,NULL,NULL,NULL),(627,NULL,627,627,NULL,NULL,NULL,NULL),(628,NULL,628,628,NULL,NULL,NULL,NULL),(629,NULL,629,629,NULL,NULL,NULL,NULL),(630,NULL,630,630,NULL,NULL,NULL,NULL),(631,NULL,631,631,NULL,NULL,NULL,NULL),(632,NULL,632,632,NULL,NULL,NULL,NULL),(633,NULL,633,633,NULL,NULL,NULL,NULL),(634,NULL,634,634,NULL,NULL,NULL,NULL),(635,NULL,635,635,NULL,NULL,NULL,NULL),(636,NULL,636,636,NULL,NULL,NULL,NULL),(637,NULL,637,637,NULL,NULL,NULL,NULL),(638,NULL,638,638,NULL,NULL,NULL,NULL),(639,NULL,639,639,NULL,NULL,NULL,NULL),(640,NULL,640,640,NULL,NULL,NULL,NULL),(641,NULL,641,641,NULL,NULL,NULL,NULL),(642,NULL,642,642,NULL,NULL,NULL,NULL),(643,NULL,643,643,NULL,NULL,NULL,NULL),(644,NULL,644,644,NULL,NULL,NULL,NULL),(645,NULL,645,645,NULL,NULL,NULL,NULL),(646,NULL,646,646,NULL,NULL,NULL,NULL),(647,NULL,647,647,NULL,NULL,NULL,NULL),(648,NULL,648,648,NULL,NULL,NULL,NULL),(649,NULL,649,649,NULL,NULL,NULL,NULL),(650,NULL,650,650,NULL,NULL,NULL,NULL),(651,NULL,651,651,NULL,NULL,NULL,NULL),(652,NULL,652,652,NULL,NULL,NULL,NULL),(653,NULL,653,653,NULL,NULL,NULL,NULL),(654,NULL,654,654,NULL,NULL,NULL,NULL),(655,NULL,655,655,NULL,NULL,NULL,NULL),(656,NULL,656,656,NULL,NULL,NULL,NULL),(657,NULL,657,657,NULL,NULL,NULL,NULL),(658,NULL,658,658,NULL,NULL,NULL,NULL),(659,NULL,659,659,NULL,NULL,NULL,NULL),(660,NULL,660,660,NULL,NULL,NULL,NULL),(661,NULL,661,661,NULL,NULL,NULL,NULL),(662,NULL,662,662,NULL,NULL,NULL,NULL),(663,NULL,663,663,NULL,NULL,NULL,NULL),(664,NULL,664,664,NULL,NULL,NULL,NULL),(665,NULL,665,665,NULL,NULL,NULL,NULL),(666,NULL,666,666,NULL,NULL,NULL,NULL),(667,NULL,667,667,NULL,NULL,NULL,NULL),(668,NULL,668,668,NULL,NULL,NULL,NULL),(669,NULL,669,669,NULL,NULL,NULL,NULL),(670,NULL,670,670,NULL,NULL,NULL,NULL),(671,NULL,671,671,NULL,NULL,NULL,NULL),(672,NULL,672,672,NULL,NULL,NULL,NULL),(673,NULL,673,673,NULL,NULL,NULL,NULL),(674,NULL,674,674,NULL,NULL,NULL,NULL),(675,NULL,675,675,NULL,NULL,NULL,NULL),(676,NULL,676,676,NULL,NULL,NULL,NULL),(677,NULL,677,677,NULL,NULL,NULL,NULL),(678,NULL,678,678,NULL,NULL,NULL,NULL),(679,NULL,679,679,NULL,NULL,NULL,NULL),(680,NULL,680,680,NULL,NULL,NULL,NULL),(681,NULL,681,681,NULL,NULL,NULL,NULL),(682,NULL,682,682,NULL,NULL,NULL,NULL),(683,NULL,683,683,NULL,NULL,NULL,NULL),(684,NULL,684,684,NULL,NULL,NULL,NULL),(685,NULL,685,685,NULL,NULL,NULL,NULL),(686,NULL,686,686,NULL,NULL,NULL,NULL),(687,NULL,687,687,NULL,NULL,NULL,NULL),(688,NULL,688,688,NULL,NULL,NULL,NULL),(689,NULL,689,689,NULL,NULL,NULL,NULL),(690,NULL,690,690,NULL,NULL,NULL,NULL),(691,NULL,691,691,NULL,NULL,NULL,NULL),(692,NULL,692,692,NULL,NULL,NULL,NULL),(693,NULL,693,693,NULL,NULL,NULL,NULL),(694,NULL,694,694,NULL,NULL,NULL,NULL),(695,NULL,695,695,NULL,NULL,NULL,NULL),(696,NULL,696,696,NULL,NULL,NULL,NULL),(697,NULL,697,697,NULL,NULL,NULL,NULL),(698,NULL,698,698,NULL,NULL,NULL,NULL),(699,NULL,699,699,NULL,NULL,NULL,NULL),(700,NULL,700,700,NULL,NULL,NULL,NULL),(701,NULL,701,701,NULL,NULL,NULL,NULL),(702,NULL,702,702,NULL,NULL,NULL,NULL),(703,NULL,703,703,NULL,NULL,NULL,NULL),(704,NULL,704,704,NULL,NULL,NULL,NULL),(705,NULL,705,705,NULL,NULL,NULL,NULL),(706,NULL,706,706,NULL,NULL,NULL,NULL),(707,NULL,707,707,NULL,NULL,NULL,NULL),(708,NULL,708,708,NULL,NULL,NULL,NULL),(709,NULL,709,709,NULL,NULL,NULL,NULL),(710,NULL,710,710,NULL,NULL,NULL,NULL),(711,NULL,711,711,NULL,NULL,NULL,NULL),(712,NULL,712,712,NULL,NULL,NULL,NULL),(713,NULL,713,713,NULL,NULL,NULL,NULL),(714,NULL,714,714,NULL,NULL,NULL,NULL),(715,NULL,715,715,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (716,NULL,716,716,NULL,NULL,NULL,NULL),(717,NULL,717,717,NULL,NULL,NULL,NULL),(718,NULL,718,718,NULL,NULL,NULL,NULL),(719,NULL,719,719,NULL,NULL,NULL,NULL),(720,NULL,720,720,NULL,NULL,NULL,NULL),(721,NULL,721,721,NULL,NULL,NULL,NULL),(722,NULL,722,722,NULL,NULL,NULL,NULL),(723,NULL,723,723,NULL,NULL,NULL,NULL),(724,NULL,724,724,NULL,NULL,NULL,NULL),(725,NULL,725,725,NULL,NULL,NULL,NULL),(726,NULL,726,726,NULL,NULL,NULL,NULL),(727,NULL,727,727,NULL,NULL,NULL,NULL),(728,NULL,728,728,NULL,NULL,NULL,NULL),(729,NULL,729,729,NULL,NULL,NULL,NULL),(730,NULL,730,730,NULL,NULL,NULL,NULL),(731,NULL,731,731,NULL,NULL,NULL,NULL),(732,NULL,732,732,NULL,NULL,NULL,NULL),(733,NULL,733,733,NULL,NULL,NULL,NULL),(734,NULL,734,734,NULL,NULL,NULL,NULL),(735,NULL,735,735,NULL,NULL,NULL,NULL),(736,NULL,736,736,NULL,NULL,NULL,NULL),(737,NULL,737,737,NULL,NULL,NULL,NULL),(738,NULL,738,738,NULL,NULL,NULL,NULL),(739,NULL,739,739,NULL,NULL,NULL,NULL),(740,NULL,740,740,NULL,NULL,NULL,NULL),(741,NULL,741,741,NULL,NULL,NULL,NULL),(742,NULL,742,742,NULL,NULL,NULL,NULL),(743,NULL,743,743,NULL,NULL,NULL,NULL),(744,NULL,744,744,NULL,NULL,NULL,NULL),(745,NULL,745,745,NULL,NULL,NULL,NULL),(746,NULL,746,746,NULL,NULL,NULL,NULL),(747,NULL,747,747,NULL,NULL,NULL,NULL),(748,NULL,748,748,NULL,NULL,NULL,NULL),(749,NULL,749,749,NULL,NULL,NULL,NULL),(750,NULL,750,750,NULL,NULL,NULL,NULL),(751,NULL,751,751,NULL,NULL,NULL,NULL),(752,NULL,752,752,NULL,NULL,NULL,NULL),(753,NULL,753,753,NULL,NULL,NULL,NULL),(754,NULL,754,754,NULL,NULL,NULL,NULL),(755,NULL,755,755,NULL,NULL,NULL,NULL),(756,NULL,756,756,NULL,NULL,NULL,NULL),(757,NULL,757,757,NULL,NULL,NULL,NULL),(758,NULL,758,758,NULL,NULL,NULL,NULL),(759,NULL,759,759,NULL,NULL,NULL,NULL),(760,NULL,760,760,NULL,NULL,NULL,NULL),(761,NULL,761,761,NULL,NULL,NULL,NULL),(762,NULL,762,762,NULL,NULL,NULL,NULL),(763,NULL,763,763,NULL,NULL,NULL,NULL),(764,NULL,764,764,NULL,NULL,NULL,NULL),(765,NULL,765,765,NULL,NULL,NULL,NULL),(766,NULL,766,766,NULL,NULL,NULL,NULL),(767,NULL,767,767,NULL,NULL,NULL,NULL),(768,NULL,768,768,NULL,NULL,NULL,NULL),(769,NULL,769,769,NULL,NULL,NULL,NULL),(770,NULL,770,770,NULL,NULL,NULL,NULL),(771,NULL,771,771,NULL,NULL,NULL,NULL),(772,NULL,772,772,NULL,NULL,NULL,NULL),(773,NULL,773,773,NULL,NULL,NULL,NULL),(774,NULL,774,774,NULL,NULL,NULL,NULL),(775,NULL,775,775,NULL,NULL,NULL,NULL),(776,NULL,776,776,NULL,NULL,NULL,NULL),(777,NULL,777,777,NULL,NULL,NULL,NULL),(778,NULL,778,778,NULL,NULL,NULL,NULL),(779,NULL,779,779,NULL,NULL,NULL,NULL),(780,NULL,780,780,NULL,NULL,NULL,NULL),(781,NULL,781,781,NULL,NULL,NULL,NULL),(782,NULL,782,782,NULL,NULL,NULL,NULL),(783,NULL,783,783,NULL,NULL,NULL,NULL),(784,NULL,784,784,NULL,NULL,NULL,NULL),(785,NULL,785,785,NULL,NULL,NULL,NULL),(786,NULL,786,786,NULL,NULL,NULL,NULL),(787,NULL,787,787,NULL,NULL,NULL,NULL),(788,NULL,788,788,NULL,NULL,NULL,NULL),(789,NULL,789,789,NULL,NULL,NULL,NULL),(790,NULL,790,790,NULL,NULL,NULL,NULL),(791,NULL,791,791,NULL,NULL,NULL,NULL),(792,NULL,792,792,NULL,NULL,NULL,NULL),(793,NULL,793,793,NULL,NULL,NULL,NULL),(794,NULL,794,794,NULL,NULL,NULL,NULL),(795,NULL,795,795,NULL,NULL,NULL,NULL),(796,NULL,796,796,NULL,NULL,NULL,NULL),(797,NULL,797,797,NULL,NULL,NULL,NULL),(798,NULL,798,798,NULL,NULL,NULL,NULL),(799,NULL,799,799,NULL,NULL,NULL,NULL),(800,NULL,800,800,NULL,NULL,NULL,NULL),(801,NULL,801,801,NULL,NULL,NULL,NULL),(802,NULL,802,802,NULL,NULL,NULL,NULL),(803,NULL,803,803,NULL,NULL,NULL,NULL),(804,NULL,804,804,NULL,NULL,NULL,NULL),(805,NULL,805,805,NULL,NULL,NULL,NULL),(806,NULL,806,806,NULL,NULL,NULL,NULL),(807,NULL,807,807,NULL,NULL,NULL,NULL),(808,NULL,808,808,NULL,NULL,NULL,NULL),(809,NULL,809,809,NULL,NULL,NULL,NULL),(810,NULL,810,810,NULL,NULL,NULL,NULL),(811,NULL,811,811,NULL,NULL,NULL,NULL),(812,NULL,812,812,NULL,NULL,NULL,NULL),(813,NULL,813,813,NULL,NULL,NULL,NULL),(814,NULL,814,814,NULL,NULL,NULL,NULL),(815,NULL,815,815,NULL,NULL,NULL,NULL),(816,NULL,816,816,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (817,NULL,817,817,NULL,NULL,NULL,NULL),(818,NULL,818,818,NULL,NULL,NULL,NULL),(819,NULL,819,819,NULL,NULL,NULL,NULL),(820,NULL,820,820,NULL,NULL,NULL,NULL),(821,NULL,821,821,NULL,NULL,NULL,NULL),(822,NULL,822,822,NULL,NULL,NULL,NULL),(823,NULL,823,823,NULL,NULL,NULL,NULL),(824,NULL,824,824,NULL,NULL,NULL,NULL),(825,NULL,825,825,NULL,NULL,NULL,NULL),(826,NULL,826,826,NULL,NULL,NULL,NULL),(827,NULL,827,827,NULL,NULL,NULL,NULL),(828,NULL,828,828,NULL,NULL,NULL,NULL),(829,NULL,829,829,NULL,NULL,NULL,NULL),(830,NULL,830,830,NULL,NULL,NULL,NULL),(831,NULL,831,831,NULL,NULL,NULL,NULL),(832,NULL,832,832,NULL,NULL,NULL,NULL),(833,NULL,833,833,NULL,NULL,NULL,NULL),(834,NULL,834,834,NULL,NULL,NULL,NULL),(835,NULL,835,835,NULL,NULL,NULL,NULL),(836,NULL,836,836,NULL,NULL,NULL,NULL),(837,NULL,837,837,NULL,NULL,NULL,NULL),(838,NULL,838,838,NULL,NULL,NULL,NULL),(839,NULL,839,839,NULL,NULL,NULL,NULL),(840,NULL,840,840,NULL,NULL,NULL,NULL),(841,NULL,841,841,NULL,NULL,NULL,NULL),(842,NULL,842,842,NULL,NULL,NULL,NULL),(843,NULL,843,843,NULL,NULL,NULL,NULL),(844,NULL,844,844,NULL,NULL,NULL,NULL),(845,NULL,845,845,NULL,NULL,NULL,NULL),(846,NULL,846,846,NULL,NULL,NULL,NULL),(847,NULL,847,847,NULL,NULL,NULL,NULL),(848,NULL,848,848,NULL,NULL,NULL,NULL),(849,NULL,849,849,NULL,NULL,NULL,NULL),(850,NULL,850,850,NULL,NULL,NULL,NULL),(851,NULL,851,851,NULL,NULL,NULL,NULL),(852,NULL,852,852,NULL,NULL,NULL,NULL),(853,NULL,853,853,NULL,NULL,NULL,NULL),(854,NULL,854,854,NULL,NULL,NULL,NULL),(855,NULL,855,855,NULL,NULL,NULL,NULL),(856,NULL,856,856,NULL,NULL,NULL,NULL),(857,NULL,857,857,NULL,NULL,NULL,NULL),(858,NULL,858,858,NULL,NULL,NULL,NULL),(859,NULL,859,859,NULL,NULL,NULL,NULL),(860,NULL,860,860,NULL,NULL,NULL,NULL),(861,NULL,861,861,NULL,NULL,NULL,NULL),(862,NULL,862,862,NULL,NULL,NULL,NULL),(863,NULL,863,863,NULL,NULL,NULL,NULL),(864,NULL,864,864,NULL,NULL,NULL,NULL),(865,NULL,865,865,NULL,NULL,NULL,NULL),(866,NULL,866,866,NULL,NULL,NULL,NULL),(867,NULL,867,867,NULL,NULL,NULL,NULL),(868,NULL,868,868,NULL,NULL,NULL,NULL),(869,NULL,869,869,NULL,NULL,NULL,NULL),(870,NULL,870,870,NULL,NULL,NULL,NULL),(871,NULL,871,871,NULL,NULL,NULL,NULL),(872,NULL,872,872,NULL,NULL,NULL,NULL),(873,NULL,873,873,NULL,NULL,NULL,NULL),(874,NULL,874,874,NULL,NULL,NULL,NULL),(875,NULL,875,875,NULL,NULL,NULL,NULL),(876,NULL,876,876,NULL,NULL,NULL,NULL),(877,NULL,877,877,NULL,NULL,NULL,NULL),(878,NULL,878,878,NULL,NULL,NULL,NULL),(879,NULL,879,879,NULL,NULL,NULL,NULL),(880,NULL,880,880,NULL,NULL,NULL,NULL),(881,NULL,881,881,NULL,NULL,NULL,NULL),(882,NULL,882,882,NULL,NULL,NULL,NULL),(883,NULL,883,883,NULL,NULL,NULL,NULL),(884,NULL,884,884,NULL,NULL,NULL,NULL),(885,NULL,885,885,NULL,NULL,NULL,NULL),(886,NULL,886,886,NULL,NULL,NULL,NULL),(887,NULL,887,887,NULL,NULL,NULL,NULL),(888,NULL,888,888,NULL,NULL,NULL,NULL),(889,NULL,889,889,NULL,NULL,NULL,NULL),(890,NULL,890,890,NULL,NULL,NULL,NULL),(891,NULL,891,891,NULL,NULL,NULL,NULL),(892,NULL,892,892,NULL,NULL,NULL,NULL),(893,NULL,893,893,NULL,NULL,NULL,NULL),(894,NULL,894,894,NULL,NULL,NULL,NULL),(895,NULL,895,895,NULL,NULL,NULL,NULL),(896,NULL,896,896,NULL,NULL,NULL,NULL),(897,NULL,897,897,NULL,NULL,NULL,NULL),(898,NULL,898,898,NULL,NULL,NULL,NULL),(899,NULL,899,899,NULL,NULL,NULL,NULL),(900,NULL,900,900,NULL,NULL,NULL,NULL),(901,NULL,901,901,NULL,NULL,NULL,NULL),(902,NULL,902,902,NULL,NULL,NULL,NULL),(903,NULL,903,903,NULL,NULL,NULL,NULL),(904,NULL,904,904,NULL,NULL,NULL,NULL),(905,NULL,905,905,NULL,NULL,NULL,NULL),(906,NULL,906,906,NULL,NULL,NULL,NULL),(907,NULL,907,907,NULL,NULL,NULL,NULL),(908,NULL,908,908,NULL,NULL,NULL,NULL),(909,NULL,909,909,NULL,NULL,NULL,NULL),(910,NULL,910,910,NULL,NULL,NULL,NULL),(911,NULL,911,911,NULL,NULL,NULL,NULL),(912,NULL,912,912,NULL,NULL,NULL,NULL),(913,NULL,913,913,NULL,NULL,NULL,NULL),(914,NULL,914,914,NULL,NULL,NULL,NULL),(915,NULL,915,915,NULL,NULL,NULL,NULL),(916,NULL,916,916,NULL,NULL,NULL,NULL),(917,NULL,917,917,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (918,NULL,918,918,NULL,NULL,NULL,NULL),(919,NULL,919,919,NULL,NULL,NULL,NULL),(920,NULL,920,920,NULL,NULL,NULL,NULL),(921,NULL,921,921,NULL,NULL,NULL,NULL),(922,NULL,922,922,NULL,NULL,NULL,NULL),(923,NULL,923,923,NULL,NULL,NULL,NULL),(924,NULL,924,924,NULL,NULL,NULL,NULL),(925,NULL,925,925,NULL,NULL,NULL,NULL),(926,NULL,926,926,NULL,NULL,NULL,NULL),(927,NULL,927,927,NULL,NULL,NULL,NULL),(928,NULL,928,928,NULL,NULL,NULL,NULL),(929,NULL,929,929,NULL,NULL,NULL,NULL),(930,NULL,930,930,NULL,NULL,NULL,NULL),(931,NULL,931,931,NULL,NULL,NULL,NULL),(932,NULL,932,932,NULL,NULL,NULL,NULL),(933,NULL,933,933,NULL,NULL,NULL,NULL),(934,NULL,934,934,NULL,NULL,NULL,NULL),(935,NULL,935,935,NULL,NULL,NULL,NULL),(936,NULL,936,936,NULL,NULL,NULL,NULL),(937,NULL,937,937,NULL,NULL,NULL,NULL),(938,NULL,938,938,NULL,NULL,NULL,NULL),(939,NULL,939,939,NULL,NULL,NULL,NULL),(940,NULL,940,940,NULL,NULL,NULL,NULL),(941,NULL,941,941,NULL,NULL,NULL,NULL),(942,NULL,942,942,NULL,NULL,NULL,NULL),(943,NULL,943,943,NULL,NULL,NULL,NULL),(944,NULL,944,944,NULL,NULL,NULL,NULL),(945,NULL,945,945,NULL,NULL,NULL,NULL),(946,NULL,946,946,NULL,NULL,NULL,NULL),(947,NULL,947,947,NULL,NULL,NULL,NULL),(948,NULL,948,948,NULL,NULL,NULL,NULL),(949,NULL,949,949,NULL,NULL,NULL,NULL),(950,NULL,950,950,NULL,NULL,NULL,NULL),(951,NULL,951,951,NULL,NULL,NULL,NULL),(952,NULL,952,952,NULL,NULL,NULL,NULL),(953,NULL,953,953,NULL,NULL,NULL,NULL),(954,NULL,954,954,NULL,NULL,NULL,NULL),(955,NULL,955,955,NULL,NULL,NULL,NULL),(956,NULL,956,956,NULL,NULL,NULL,NULL),(957,NULL,957,957,NULL,NULL,NULL,NULL),(958,NULL,958,958,NULL,NULL,NULL,NULL),(959,NULL,959,959,NULL,NULL,NULL,NULL),(960,NULL,960,960,NULL,NULL,NULL,NULL),(961,NULL,961,961,NULL,NULL,NULL,NULL),(962,NULL,962,962,NULL,NULL,NULL,NULL),(963,NULL,963,963,NULL,NULL,NULL,NULL),(964,NULL,964,964,NULL,NULL,NULL,NULL),(965,NULL,965,965,NULL,NULL,NULL,NULL),(966,NULL,966,966,NULL,NULL,NULL,NULL),(967,NULL,967,967,NULL,NULL,NULL,NULL),(968,NULL,968,968,NULL,NULL,NULL,NULL),(969,NULL,969,969,NULL,NULL,NULL,NULL),(970,NULL,970,970,NULL,NULL,NULL,NULL),(971,NULL,971,971,NULL,NULL,NULL,NULL),(972,NULL,972,972,NULL,NULL,NULL,NULL),(973,NULL,973,973,NULL,NULL,NULL,NULL),(974,NULL,974,974,NULL,NULL,NULL,NULL),(975,NULL,975,975,NULL,NULL,NULL,NULL),(976,NULL,976,976,NULL,NULL,NULL,NULL),(977,NULL,977,977,NULL,NULL,NULL,NULL),(978,NULL,978,978,NULL,NULL,NULL,NULL),(979,NULL,979,979,NULL,NULL,NULL,NULL),(980,NULL,980,980,NULL,NULL,NULL,NULL),(981,NULL,981,981,NULL,NULL,NULL,NULL),(982,NULL,982,982,NULL,NULL,NULL,NULL),(983,NULL,983,983,NULL,NULL,NULL,NULL),(984,NULL,984,984,NULL,NULL,NULL,NULL),(985,NULL,985,985,NULL,NULL,NULL,NULL),(986,NULL,986,986,NULL,NULL,NULL,NULL),(987,NULL,987,987,NULL,NULL,NULL,NULL),(988,NULL,988,988,NULL,NULL,NULL,NULL),(989,NULL,989,989,NULL,NULL,NULL,NULL),(990,NULL,990,990,NULL,NULL,NULL,NULL),(991,NULL,991,991,NULL,NULL,NULL,NULL),(992,NULL,992,992,NULL,NULL,NULL,NULL),(993,NULL,993,993,NULL,NULL,NULL,NULL),(994,NULL,994,994,NULL,NULL,NULL,NULL),(995,NULL,995,995,NULL,NULL,NULL,NULL),(996,NULL,996,996,NULL,NULL,NULL,NULL),(997,NULL,997,997,NULL,NULL,NULL,NULL),(998,NULL,998,998,NULL,NULL,NULL,NULL),(999,NULL,999,999,NULL,NULL,NULL,NULL),(1000,NULL,1000,1000,NULL,NULL,NULL,NULL),(1001,NULL,1001,1001,NULL,NULL,NULL,NULL),(1002,NULL,1002,1002,NULL,NULL,NULL,NULL),(1003,NULL,1003,1003,NULL,NULL,NULL,NULL),(1004,NULL,1004,1004,NULL,NULL,NULL,NULL),(1005,NULL,1005,1005,NULL,NULL,NULL,NULL),(1006,NULL,1006,1006,NULL,NULL,NULL,NULL),(1007,NULL,1007,1007,NULL,NULL,NULL,NULL),(1008,NULL,1008,1008,NULL,NULL,NULL,NULL),(1009,NULL,1009,1009,NULL,NULL,NULL,NULL),(1010,NULL,1010,1010,NULL,NULL,NULL,NULL),(1011,NULL,1011,1011,NULL,NULL,NULL,NULL),(1012,NULL,1012,1012,NULL,NULL,NULL,NULL),(1013,NULL,1013,1013,NULL,NULL,NULL,NULL),(1014,NULL,1014,1014,NULL,NULL,NULL,NULL),(1015,NULL,1015,1015,NULL,NULL,NULL,NULL),(1016,NULL,1016,1016,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1017,NULL,1017,1017,NULL,NULL,NULL,NULL),(1018,NULL,1018,1018,NULL,NULL,NULL,NULL),(1019,NULL,1019,1019,NULL,NULL,NULL,NULL),(1020,NULL,1020,1020,NULL,NULL,NULL,NULL),(1021,NULL,1021,1021,NULL,NULL,NULL,NULL),(1022,NULL,1022,1022,NULL,NULL,NULL,NULL),(1023,NULL,1023,1023,NULL,NULL,NULL,NULL),(1024,NULL,1024,1024,NULL,NULL,NULL,NULL),(1025,NULL,1025,1025,NULL,NULL,NULL,NULL),(1026,NULL,1026,1026,NULL,NULL,NULL,NULL),(1027,NULL,1027,1027,NULL,NULL,NULL,NULL),(1028,NULL,1028,1028,NULL,NULL,NULL,NULL),(1029,NULL,1029,1029,NULL,NULL,NULL,NULL),(1030,NULL,1030,1030,NULL,NULL,NULL,NULL),(1031,NULL,1031,1031,NULL,NULL,NULL,NULL),(1032,NULL,1032,1032,NULL,NULL,NULL,NULL),(1033,NULL,1033,1033,NULL,NULL,NULL,NULL),(1034,NULL,1034,1034,NULL,NULL,NULL,NULL),(1035,NULL,1035,1035,NULL,NULL,NULL,NULL),(1036,NULL,1036,1036,NULL,NULL,NULL,NULL),(1037,NULL,1037,1037,NULL,NULL,NULL,NULL),(1038,NULL,1038,1038,NULL,NULL,NULL,NULL),(1039,NULL,1039,1039,NULL,NULL,NULL,NULL),(1040,NULL,1040,1040,NULL,NULL,NULL,NULL),(1041,NULL,1041,1041,NULL,NULL,NULL,NULL),(1042,NULL,1042,1042,NULL,NULL,NULL,NULL),(1043,NULL,1043,1043,NULL,NULL,NULL,NULL),(1044,NULL,1044,1044,NULL,NULL,NULL,NULL),(1045,NULL,1045,1045,NULL,NULL,NULL,NULL),(1046,NULL,1046,1046,NULL,NULL,NULL,NULL),(1047,NULL,1047,1047,NULL,NULL,NULL,NULL),(1048,NULL,1048,1048,NULL,NULL,NULL,NULL),(1049,NULL,1049,1049,NULL,NULL,NULL,NULL),(1050,NULL,1050,1050,NULL,NULL,NULL,NULL),(1051,NULL,1051,1051,NULL,NULL,NULL,NULL),(1052,NULL,1052,1052,NULL,NULL,NULL,NULL),(1053,NULL,1053,1053,NULL,NULL,NULL,NULL),(1054,NULL,1054,1054,NULL,NULL,NULL,NULL),(1055,NULL,1055,1055,NULL,NULL,NULL,NULL),(1056,NULL,1056,1056,NULL,NULL,NULL,NULL),(1057,NULL,1057,1057,NULL,NULL,NULL,NULL),(1058,NULL,1058,1058,NULL,NULL,NULL,NULL),(1059,NULL,1059,1059,NULL,NULL,NULL,NULL),(1060,NULL,1060,1060,NULL,NULL,NULL,NULL),(1061,NULL,1061,1061,NULL,NULL,NULL,NULL),(1062,NULL,1062,1062,NULL,NULL,NULL,NULL),(1063,NULL,1063,1063,NULL,NULL,NULL,NULL),(1064,NULL,1064,1064,NULL,NULL,NULL,NULL),(1065,NULL,1065,1065,NULL,NULL,NULL,NULL),(1066,NULL,1066,1066,NULL,NULL,NULL,NULL),(1067,NULL,1067,1067,NULL,NULL,NULL,NULL),(1068,NULL,1068,1068,NULL,NULL,NULL,NULL),(1069,NULL,1069,1069,NULL,NULL,NULL,NULL),(1070,NULL,1070,1070,NULL,NULL,NULL,NULL),(1071,NULL,1071,1071,NULL,NULL,NULL,NULL),(1072,NULL,1072,1072,NULL,NULL,NULL,NULL),(1073,NULL,1073,1073,NULL,NULL,NULL,NULL),(1074,NULL,1074,1074,NULL,NULL,NULL,NULL),(1075,NULL,1075,1075,NULL,NULL,NULL,NULL),(1076,NULL,1076,1076,NULL,NULL,NULL,NULL),(1077,NULL,1077,1077,NULL,NULL,NULL,NULL),(1078,NULL,1078,1078,NULL,NULL,NULL,NULL),(1079,NULL,1079,1079,NULL,NULL,NULL,NULL),(1080,NULL,1080,1080,NULL,NULL,NULL,NULL),(1081,NULL,1081,1081,NULL,NULL,NULL,NULL),(1082,NULL,1082,1082,NULL,NULL,NULL,NULL),(1083,NULL,1083,1083,NULL,NULL,NULL,NULL),(1084,NULL,1084,1084,NULL,NULL,NULL,NULL),(1085,NULL,1085,1085,NULL,NULL,NULL,NULL),(1086,NULL,1086,1086,NULL,NULL,NULL,NULL),(1087,NULL,1087,1087,NULL,NULL,NULL,NULL),(1088,NULL,1088,1088,NULL,NULL,NULL,NULL),(1089,NULL,1089,1089,NULL,NULL,NULL,NULL),(1090,NULL,1090,1090,NULL,NULL,NULL,NULL),(1091,NULL,1091,1091,NULL,NULL,NULL,NULL),(1092,NULL,1092,1092,NULL,NULL,NULL,NULL),(1093,NULL,1093,1093,NULL,NULL,NULL,NULL),(1094,NULL,1094,1094,NULL,NULL,NULL,NULL),(1095,NULL,1095,1095,NULL,NULL,NULL,NULL),(1096,NULL,1096,1096,NULL,NULL,NULL,NULL),(1097,NULL,1097,1097,NULL,NULL,NULL,NULL),(1098,NULL,1098,1098,NULL,NULL,NULL,NULL),(1099,NULL,1099,1099,NULL,NULL,NULL,NULL),(1100,NULL,1100,1100,NULL,NULL,NULL,NULL),(1101,NULL,1101,1101,NULL,NULL,NULL,NULL),(1102,NULL,1102,1102,NULL,NULL,NULL,NULL),(1103,NULL,1103,1103,NULL,NULL,NULL,NULL),(1104,NULL,1104,1104,NULL,NULL,NULL,NULL),(1105,NULL,1105,1105,NULL,NULL,NULL,NULL),(1106,NULL,1106,1106,NULL,NULL,NULL,NULL),(1107,NULL,1107,1107,NULL,NULL,NULL,NULL),(1108,NULL,1108,1108,NULL,NULL,NULL,NULL),(1109,NULL,1109,1109,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1110,NULL,1110,1110,NULL,NULL,NULL,NULL),(1111,NULL,1111,1111,NULL,NULL,NULL,NULL),(1112,NULL,1112,1112,NULL,NULL,NULL,NULL),(1113,NULL,1113,1113,NULL,NULL,NULL,NULL),(1114,NULL,1114,1114,NULL,NULL,NULL,NULL),(1115,NULL,1115,1115,NULL,NULL,NULL,NULL),(1116,NULL,1116,1116,NULL,NULL,NULL,NULL),(1117,NULL,1117,1117,NULL,NULL,NULL,NULL),(1118,NULL,1118,1118,NULL,NULL,NULL,NULL),(1119,NULL,1119,1119,NULL,NULL,NULL,NULL),(1120,NULL,1120,1120,NULL,NULL,NULL,NULL),(1121,NULL,1121,1121,NULL,NULL,NULL,NULL),(1122,NULL,1122,1122,NULL,NULL,NULL,NULL),(1123,NULL,1123,1123,NULL,NULL,NULL,NULL),(1124,NULL,1124,1124,NULL,NULL,NULL,NULL),(1125,NULL,1125,1125,NULL,NULL,NULL,NULL),(1126,NULL,1126,1126,NULL,NULL,NULL,NULL),(1127,NULL,1127,1127,NULL,NULL,NULL,NULL),(1128,NULL,1128,1128,NULL,NULL,NULL,NULL),(1129,NULL,1129,1129,NULL,NULL,NULL,NULL),(1130,NULL,1130,1130,NULL,NULL,NULL,NULL),(1131,NULL,1131,1131,NULL,NULL,NULL,NULL),(1132,NULL,1132,1132,NULL,NULL,NULL,NULL),(1133,NULL,1133,1133,NULL,NULL,NULL,NULL),(1134,NULL,1134,1134,NULL,NULL,NULL,NULL),(1135,NULL,1135,1135,NULL,NULL,NULL,NULL),(1136,NULL,1136,1136,NULL,NULL,NULL,NULL),(1137,NULL,1137,1137,NULL,NULL,NULL,NULL),(1138,NULL,1138,1138,NULL,NULL,NULL,NULL),(1139,NULL,1139,1139,NULL,NULL,NULL,NULL),(1140,NULL,1140,1140,NULL,NULL,NULL,NULL),(1141,NULL,1141,1141,NULL,NULL,NULL,NULL),(1142,NULL,1142,1142,NULL,NULL,NULL,NULL),(1143,NULL,1143,1143,NULL,NULL,NULL,NULL),(1144,NULL,1144,1144,NULL,NULL,NULL,NULL),(1145,NULL,1145,1145,NULL,NULL,NULL,NULL),(1146,NULL,1146,1146,NULL,NULL,NULL,NULL),(1147,NULL,1147,1147,NULL,NULL,NULL,NULL),(1148,NULL,1148,1148,NULL,NULL,NULL,NULL),(1149,NULL,1149,1149,NULL,NULL,NULL,NULL),(1150,NULL,1150,1150,NULL,NULL,NULL,NULL),(1151,NULL,1151,1151,NULL,NULL,NULL,NULL),(1152,NULL,1152,1152,NULL,NULL,NULL,NULL),(1153,NULL,1153,1153,NULL,NULL,NULL,NULL),(1154,NULL,1154,1154,NULL,NULL,NULL,NULL),(1155,NULL,1155,1155,NULL,NULL,NULL,NULL),(1156,NULL,1156,1156,NULL,NULL,NULL,NULL),(1157,NULL,1157,1157,NULL,NULL,NULL,NULL),(1158,NULL,1158,1158,NULL,NULL,NULL,NULL),(1159,NULL,1159,1159,NULL,NULL,NULL,NULL),(1160,NULL,1160,1160,NULL,NULL,NULL,NULL),(1161,NULL,1161,1161,NULL,NULL,NULL,NULL),(1162,NULL,1162,1162,NULL,NULL,NULL,NULL),(1163,NULL,1163,1163,NULL,NULL,NULL,NULL),(1164,NULL,1164,1164,NULL,NULL,NULL,NULL),(1165,NULL,1165,1165,NULL,NULL,NULL,NULL),(1166,NULL,1166,1166,NULL,NULL,NULL,NULL),(1167,NULL,1167,1167,NULL,NULL,NULL,NULL),(1168,NULL,1168,1168,NULL,NULL,NULL,NULL),(1169,NULL,1169,1169,NULL,NULL,NULL,NULL),(1170,NULL,1170,1170,NULL,NULL,NULL,NULL),(1171,NULL,1171,1171,NULL,NULL,NULL,NULL),(1172,NULL,1172,1172,NULL,NULL,NULL,NULL),(1173,NULL,1173,1173,NULL,NULL,NULL,NULL),(1174,NULL,1174,1174,NULL,NULL,NULL,NULL),(1175,NULL,1175,1175,NULL,NULL,NULL,NULL),(1176,NULL,1176,1176,NULL,NULL,NULL,NULL),(1177,NULL,1177,1177,NULL,NULL,NULL,NULL),(1178,NULL,1178,1178,NULL,NULL,NULL,NULL),(1179,NULL,1179,1179,NULL,NULL,NULL,NULL),(1180,NULL,1180,1180,NULL,NULL,NULL,NULL),(1181,NULL,1181,1181,NULL,NULL,NULL,NULL),(1182,NULL,1182,1182,NULL,NULL,NULL,NULL),(1183,NULL,1183,1183,NULL,NULL,NULL,NULL),(1184,NULL,1184,1184,NULL,NULL,NULL,NULL),(1185,NULL,1185,1185,NULL,NULL,NULL,NULL),(1186,NULL,1186,1186,NULL,NULL,NULL,NULL),(1187,NULL,1187,1187,NULL,NULL,NULL,NULL),(1188,NULL,1188,1188,NULL,NULL,NULL,NULL),(1189,NULL,1189,1189,NULL,NULL,NULL,NULL),(1190,NULL,1190,1190,NULL,NULL,NULL,NULL),(1191,NULL,1191,1191,NULL,NULL,NULL,NULL),(1192,NULL,1192,1192,NULL,NULL,NULL,NULL),(1193,NULL,1193,1193,NULL,NULL,NULL,NULL),(1194,NULL,1194,1194,NULL,NULL,NULL,NULL),(1195,NULL,1195,1195,NULL,NULL,NULL,NULL),(1196,NULL,1196,1196,NULL,NULL,NULL,NULL),(1197,NULL,1197,1197,NULL,NULL,NULL,NULL),(1198,NULL,1198,1198,NULL,NULL,NULL,NULL),(1199,NULL,1199,1199,NULL,NULL,NULL,NULL),(1200,NULL,1200,1200,NULL,NULL,NULL,NULL),(1201,NULL,1201,1201,NULL,NULL,NULL,NULL),(1202,NULL,1202,1202,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1203,NULL,1203,1203,NULL,NULL,NULL,NULL),(1204,NULL,1204,1204,NULL,NULL,NULL,NULL),(1205,NULL,1205,1205,NULL,NULL,NULL,NULL),(1206,NULL,1206,1206,NULL,NULL,NULL,NULL),(1207,NULL,1207,1207,NULL,NULL,NULL,NULL),(1208,NULL,1208,1208,NULL,NULL,NULL,NULL),(1209,NULL,1209,1209,NULL,NULL,NULL,NULL),(1210,NULL,1210,1210,NULL,NULL,NULL,NULL),(1211,NULL,1211,1211,NULL,NULL,NULL,NULL),(1212,NULL,1212,1212,NULL,NULL,NULL,NULL),(1213,NULL,1213,1213,NULL,NULL,NULL,NULL),(1214,NULL,1214,1214,NULL,NULL,NULL,NULL),(1215,NULL,1215,1215,NULL,NULL,NULL,NULL),(1216,NULL,1216,1216,NULL,NULL,NULL,NULL),(1217,NULL,1217,1217,NULL,NULL,NULL,NULL),(1218,NULL,1218,1218,NULL,NULL,NULL,NULL),(1219,NULL,1219,1219,NULL,NULL,NULL,NULL),(1220,NULL,1220,1220,NULL,NULL,NULL,NULL),(1221,NULL,1221,1221,NULL,NULL,NULL,NULL),(1222,NULL,1222,1222,NULL,NULL,NULL,NULL),(1223,NULL,1223,1223,NULL,NULL,NULL,NULL),(1224,NULL,1224,1224,NULL,NULL,NULL,NULL),(1225,NULL,1225,1225,NULL,NULL,NULL,NULL),(1226,NULL,1226,1226,NULL,NULL,NULL,NULL),(1227,NULL,1227,1227,NULL,NULL,NULL,NULL),(1228,NULL,1228,1228,NULL,NULL,NULL,NULL),(1229,NULL,1229,1229,NULL,NULL,NULL,NULL),(1230,NULL,1230,1230,NULL,NULL,NULL,NULL),(1231,NULL,1231,1231,NULL,NULL,NULL,NULL),(1232,NULL,1232,1232,NULL,NULL,NULL,NULL),(1233,NULL,1233,1233,NULL,NULL,NULL,NULL),(1234,NULL,1234,1234,NULL,NULL,NULL,NULL),(1235,NULL,1235,1235,NULL,NULL,NULL,NULL),(1236,NULL,1236,1236,NULL,NULL,NULL,NULL),(1237,NULL,1237,1237,NULL,NULL,NULL,NULL),(1238,NULL,1238,1238,NULL,NULL,NULL,NULL),(1239,NULL,1239,1239,NULL,NULL,NULL,NULL),(1240,NULL,1240,1240,NULL,NULL,NULL,NULL),(1241,NULL,1241,1241,NULL,NULL,NULL,NULL),(1242,NULL,1242,1242,NULL,NULL,NULL,NULL),(1243,NULL,1243,1243,NULL,NULL,NULL,NULL),(1244,NULL,1244,1244,NULL,NULL,NULL,NULL),(1245,NULL,1245,1245,NULL,NULL,NULL,NULL),(1246,NULL,1246,1246,NULL,NULL,NULL,NULL),(1247,NULL,1247,1247,NULL,NULL,NULL,NULL),(1248,NULL,1248,1248,NULL,NULL,NULL,NULL),(1249,NULL,1249,1249,NULL,NULL,NULL,NULL),(1250,NULL,1250,1250,NULL,NULL,NULL,NULL),(1251,NULL,1251,1251,NULL,NULL,NULL,NULL),(1252,NULL,1252,1252,NULL,NULL,NULL,NULL),(1253,NULL,1253,1253,NULL,NULL,NULL,NULL),(1254,NULL,1254,1254,NULL,NULL,NULL,NULL),(1255,NULL,1255,1255,NULL,NULL,NULL,NULL),(1256,NULL,1256,1256,NULL,NULL,NULL,NULL),(1257,NULL,1257,1257,NULL,NULL,NULL,NULL),(1258,NULL,1258,1258,NULL,NULL,NULL,NULL),(1259,NULL,1259,1259,NULL,NULL,NULL,NULL),(1260,NULL,1260,1260,NULL,NULL,NULL,NULL),(1261,NULL,1261,1261,NULL,NULL,NULL,NULL),(1262,NULL,1262,1262,NULL,NULL,NULL,NULL),(1263,NULL,1263,1263,NULL,NULL,NULL,NULL),(1264,NULL,1264,1264,NULL,NULL,NULL,NULL),(1265,NULL,1265,1265,NULL,NULL,NULL,NULL),(1266,NULL,1266,1266,NULL,NULL,NULL,NULL),(1267,NULL,1267,1267,NULL,NULL,NULL,NULL),(1268,NULL,1268,1268,NULL,NULL,NULL,NULL),(1269,NULL,1269,1269,NULL,NULL,NULL,NULL),(1270,NULL,1270,1270,NULL,NULL,NULL,NULL),(1271,NULL,1271,1271,NULL,NULL,NULL,NULL),(1272,NULL,1272,1272,NULL,NULL,NULL,NULL),(1273,NULL,1273,1273,NULL,NULL,NULL,NULL),(1274,NULL,1274,1274,NULL,NULL,NULL,NULL),(1275,NULL,1275,1275,NULL,NULL,NULL,NULL),(1276,NULL,1276,1276,NULL,NULL,NULL,NULL),(1277,NULL,1277,1277,NULL,NULL,NULL,NULL),(1278,NULL,1278,1278,NULL,NULL,NULL,NULL),(1279,NULL,1279,1279,NULL,NULL,NULL,NULL),(1280,NULL,1280,1280,NULL,NULL,NULL,NULL),(1281,NULL,1281,1281,NULL,NULL,NULL,NULL),(1282,NULL,1282,1282,NULL,NULL,NULL,NULL),(1283,NULL,1283,1283,NULL,NULL,NULL,NULL),(1284,NULL,1284,1284,NULL,NULL,NULL,NULL),(1285,NULL,1285,1285,NULL,NULL,NULL,NULL),(1286,NULL,1286,1286,NULL,NULL,NULL,NULL),(1287,NULL,1287,1287,NULL,NULL,NULL,NULL),(1288,NULL,1288,1288,NULL,NULL,NULL,NULL),(1289,NULL,1289,1289,NULL,NULL,NULL,NULL),(1290,NULL,1290,1290,NULL,NULL,NULL,NULL),(1291,NULL,1291,1291,NULL,NULL,NULL,NULL),(1292,NULL,1292,1292,NULL,NULL,NULL,NULL),(1293,NULL,1293,1293,NULL,NULL,NULL,NULL),(1294,NULL,1294,1294,NULL,NULL,NULL,NULL),(1295,NULL,1295,1295,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1296,NULL,1296,1296,NULL,NULL,NULL,NULL),(1297,NULL,1297,1297,NULL,NULL,NULL,NULL),(1298,NULL,1298,1298,NULL,NULL,NULL,NULL),(1299,NULL,1299,1299,NULL,NULL,NULL,NULL),(1300,NULL,1300,1300,NULL,NULL,NULL,NULL),(1301,NULL,1301,1301,NULL,NULL,NULL,NULL),(1302,NULL,1302,1302,NULL,NULL,NULL,NULL),(1303,NULL,1303,1303,NULL,NULL,NULL,NULL),(1304,NULL,1304,1304,NULL,NULL,NULL,NULL),(1305,NULL,1305,1305,NULL,NULL,NULL,NULL),(1306,NULL,1306,1306,NULL,NULL,NULL,NULL),(1307,NULL,1307,1307,NULL,NULL,NULL,NULL),(1308,NULL,1308,1308,NULL,NULL,NULL,NULL),(1309,NULL,1309,1309,NULL,NULL,NULL,NULL),(1310,NULL,1310,1310,NULL,NULL,NULL,NULL),(1311,NULL,1311,1311,NULL,NULL,NULL,NULL),(1312,NULL,1312,1312,NULL,NULL,NULL,NULL),(1313,NULL,1313,1313,NULL,NULL,NULL,NULL),(1314,NULL,1314,1314,NULL,NULL,NULL,NULL),(1315,NULL,1315,1315,NULL,NULL,NULL,NULL),(1316,NULL,1316,1316,NULL,NULL,NULL,NULL),(1317,NULL,1317,1317,NULL,NULL,NULL,NULL),(1318,NULL,1318,1318,NULL,NULL,NULL,NULL),(1319,NULL,1319,1319,NULL,NULL,NULL,NULL),(1320,NULL,1320,1320,NULL,NULL,NULL,NULL),(1321,NULL,1321,1321,NULL,NULL,NULL,NULL),(1322,NULL,1322,1322,NULL,NULL,NULL,NULL),(1323,NULL,1323,1323,NULL,NULL,NULL,NULL),(1324,NULL,1324,1324,NULL,NULL,NULL,NULL),(1325,NULL,1325,1325,NULL,NULL,NULL,NULL),(1326,NULL,1326,1326,NULL,NULL,NULL,NULL),(1327,NULL,1327,1327,NULL,NULL,NULL,NULL),(1328,NULL,1328,1328,NULL,NULL,NULL,NULL),(1329,NULL,1329,1329,NULL,NULL,NULL,NULL),(1330,NULL,1330,1330,NULL,NULL,NULL,NULL),(1331,NULL,1331,1331,NULL,NULL,NULL,NULL),(1332,NULL,1332,1332,NULL,NULL,NULL,NULL),(1333,NULL,1333,1333,NULL,NULL,NULL,NULL),(1334,NULL,1334,1334,NULL,NULL,NULL,NULL),(1335,NULL,1335,1335,NULL,NULL,NULL,NULL),(1336,NULL,1336,1336,NULL,NULL,NULL,NULL),(1337,NULL,1337,1337,NULL,NULL,NULL,NULL),(1338,NULL,1338,1338,NULL,NULL,NULL,NULL),(1339,NULL,1339,1339,NULL,NULL,NULL,NULL),(1340,NULL,1340,1340,NULL,NULL,NULL,NULL),(1341,NULL,1341,1341,NULL,NULL,NULL,NULL),(1342,NULL,1342,1342,NULL,NULL,NULL,NULL),(1343,NULL,1343,1343,NULL,NULL,NULL,NULL),(1344,NULL,1344,1344,NULL,NULL,NULL,NULL),(1345,NULL,1345,1345,NULL,NULL,NULL,NULL),(1346,NULL,1346,1346,NULL,NULL,NULL,NULL),(1347,NULL,1347,1347,NULL,NULL,NULL,NULL),(1348,NULL,1348,1348,NULL,NULL,NULL,NULL),(1349,NULL,1349,1349,NULL,NULL,NULL,NULL),(1350,NULL,1350,1350,NULL,NULL,NULL,NULL),(1351,NULL,1351,1351,NULL,NULL,NULL,NULL),(1352,NULL,1352,1352,NULL,NULL,NULL,NULL),(1353,NULL,1353,1353,NULL,NULL,NULL,NULL),(1354,NULL,1354,1354,NULL,NULL,NULL,NULL),(1355,NULL,1355,1355,NULL,NULL,NULL,NULL),(1356,NULL,1356,1356,NULL,NULL,NULL,NULL),(1357,NULL,1357,1357,NULL,NULL,NULL,NULL),(1358,NULL,1358,1358,NULL,NULL,NULL,NULL),(1359,NULL,1359,1359,NULL,NULL,NULL,NULL),(1360,NULL,1360,1360,NULL,NULL,NULL,NULL),(1361,NULL,1361,1361,NULL,NULL,NULL,NULL),(1362,NULL,1362,1362,NULL,NULL,NULL,NULL),(1363,NULL,1363,1363,NULL,NULL,NULL,NULL),(1364,NULL,1364,1364,NULL,NULL,NULL,NULL),(1365,NULL,1365,1365,NULL,NULL,NULL,NULL),(1366,NULL,1366,1366,NULL,NULL,NULL,NULL),(1367,NULL,1367,1367,NULL,NULL,NULL,NULL),(1368,NULL,1368,1368,NULL,NULL,NULL,NULL),(1369,NULL,1369,1369,NULL,NULL,NULL,NULL),(1370,NULL,1370,1370,NULL,NULL,NULL,NULL),(1371,NULL,1371,1371,NULL,NULL,NULL,NULL),(1372,NULL,1372,1372,NULL,NULL,NULL,NULL),(1373,NULL,1373,1373,NULL,NULL,NULL,NULL),(1374,NULL,1374,1374,NULL,NULL,NULL,NULL),(1375,NULL,1375,1375,NULL,NULL,NULL,NULL),(1376,NULL,1376,1376,NULL,NULL,NULL,NULL),(1377,NULL,1377,1377,NULL,NULL,NULL,NULL),(1378,NULL,1378,1378,NULL,NULL,NULL,NULL),(1379,NULL,1379,1379,NULL,NULL,NULL,NULL),(1380,NULL,1380,1380,NULL,NULL,NULL,NULL),(1381,NULL,1381,1381,NULL,NULL,NULL,NULL),(1382,NULL,1382,1382,NULL,NULL,NULL,NULL),(1383,NULL,1383,1383,NULL,NULL,NULL,NULL),(1384,NULL,1384,1384,NULL,NULL,NULL,NULL),(1385,NULL,1385,1385,NULL,NULL,NULL,NULL),(1386,NULL,1386,1386,NULL,NULL,NULL,NULL),(1387,NULL,1387,1387,NULL,NULL,NULL,NULL),(1388,NULL,1388,1388,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1389,NULL,1389,1389,NULL,NULL,NULL,NULL),(1390,NULL,1390,1390,NULL,NULL,NULL,NULL),(1391,NULL,1391,1391,NULL,NULL,NULL,NULL),(1392,NULL,1392,1392,NULL,NULL,NULL,NULL),(1393,NULL,1393,1393,NULL,NULL,NULL,NULL),(1394,NULL,1394,1394,NULL,NULL,NULL,NULL),(1395,NULL,1395,1395,NULL,NULL,NULL,NULL),(1396,NULL,1396,1396,NULL,NULL,NULL,NULL),(1397,NULL,1397,1397,NULL,NULL,NULL,NULL),(1398,NULL,1398,1398,NULL,NULL,NULL,NULL),(1399,NULL,1399,1399,NULL,NULL,NULL,NULL),(1400,NULL,1400,1400,NULL,NULL,NULL,NULL),(1401,NULL,1401,1401,NULL,NULL,NULL,NULL),(1402,NULL,1402,1402,NULL,NULL,NULL,NULL),(1403,NULL,1403,1403,NULL,NULL,NULL,NULL),(1404,NULL,1404,1404,NULL,NULL,NULL,NULL),(1405,NULL,1405,1405,NULL,NULL,NULL,NULL),(1406,NULL,1406,1406,NULL,NULL,NULL,NULL),(1407,NULL,1407,1407,NULL,NULL,NULL,NULL),(1408,NULL,1408,1408,NULL,NULL,NULL,NULL),(1409,NULL,1409,1409,NULL,NULL,NULL,NULL),(1410,NULL,1410,1410,NULL,NULL,NULL,NULL),(1411,NULL,1411,1411,NULL,NULL,NULL,NULL),(1412,NULL,1412,1412,NULL,NULL,NULL,NULL),(1413,NULL,1413,1413,NULL,NULL,NULL,NULL),(1414,NULL,1414,1414,NULL,NULL,NULL,NULL),(1415,NULL,1415,1415,NULL,NULL,NULL,NULL),(1416,NULL,1416,1416,NULL,NULL,NULL,NULL),(1417,NULL,1417,1417,NULL,NULL,NULL,NULL),(1418,NULL,1418,1418,NULL,NULL,NULL,NULL),(1419,NULL,1419,1419,NULL,NULL,NULL,NULL),(1420,NULL,1420,1420,NULL,NULL,NULL,NULL),(1421,NULL,1421,1421,NULL,NULL,NULL,NULL),(1422,NULL,1422,1422,NULL,NULL,NULL,NULL),(1423,NULL,1423,1423,NULL,NULL,NULL,NULL),(1424,NULL,1424,1424,NULL,NULL,NULL,NULL),(1425,NULL,1425,1425,NULL,NULL,NULL,NULL),(1426,NULL,1426,1426,NULL,NULL,NULL,NULL),(1427,NULL,1427,1427,NULL,NULL,NULL,NULL),(1428,NULL,1428,1428,NULL,NULL,NULL,NULL),(1429,NULL,1429,1429,NULL,NULL,NULL,NULL),(1430,NULL,1430,1430,NULL,NULL,NULL,NULL),(1431,NULL,1431,1431,NULL,NULL,NULL,NULL),(1432,NULL,1432,1432,NULL,NULL,NULL,NULL),(1433,NULL,1433,1433,NULL,NULL,NULL,NULL),(1434,NULL,1434,1434,NULL,NULL,NULL,NULL),(1435,NULL,1435,1435,NULL,NULL,NULL,NULL),(1436,NULL,1436,1436,NULL,NULL,NULL,NULL),(1437,NULL,1437,1437,NULL,NULL,NULL,NULL),(1438,NULL,1438,1438,NULL,NULL,NULL,NULL),(1439,NULL,1439,1439,NULL,NULL,NULL,NULL),(1440,NULL,1440,1440,NULL,NULL,NULL,NULL),(1441,NULL,1441,1441,NULL,NULL,NULL,NULL),(1442,NULL,1442,1442,NULL,NULL,NULL,NULL),(1443,NULL,1443,1443,NULL,NULL,NULL,NULL),(1444,NULL,1444,1444,NULL,NULL,NULL,NULL),(1445,NULL,1445,1445,NULL,NULL,NULL,NULL),(1446,NULL,1446,1446,NULL,NULL,NULL,NULL),(1447,NULL,1447,1447,NULL,NULL,NULL,NULL),(1448,NULL,1448,1448,NULL,NULL,NULL,NULL),(1449,NULL,1449,1449,NULL,NULL,NULL,NULL),(1450,NULL,1450,1450,NULL,NULL,NULL,NULL),(1451,NULL,1451,1451,NULL,NULL,NULL,NULL),(1452,NULL,1452,1452,NULL,NULL,NULL,NULL),(1453,NULL,1453,1453,NULL,NULL,NULL,NULL),(1454,NULL,1454,1454,NULL,NULL,NULL,NULL),(1455,NULL,1455,1455,NULL,NULL,NULL,NULL),(1456,NULL,1456,1456,NULL,NULL,NULL,NULL),(1457,NULL,1457,1457,NULL,NULL,NULL,NULL),(1458,NULL,1458,1458,NULL,NULL,NULL,NULL),(1459,NULL,1459,1459,NULL,NULL,NULL,NULL),(1460,NULL,1460,1460,NULL,NULL,NULL,NULL),(1461,NULL,1461,1461,NULL,NULL,NULL,NULL),(1462,NULL,1462,1462,NULL,NULL,NULL,NULL),(1463,NULL,1463,1463,NULL,NULL,NULL,NULL),(1464,NULL,1464,1464,NULL,NULL,NULL,NULL),(1465,NULL,1465,1465,NULL,NULL,NULL,NULL),(1466,NULL,1466,1466,NULL,NULL,NULL,NULL),(1467,NULL,1467,1467,NULL,NULL,NULL,NULL),(1468,NULL,1468,1468,NULL,NULL,NULL,NULL),(1469,NULL,1469,1469,NULL,NULL,NULL,NULL),(1470,NULL,1470,1470,NULL,NULL,NULL,NULL),(1471,NULL,1471,1471,NULL,NULL,NULL,NULL),(1472,NULL,1472,1472,NULL,NULL,NULL,NULL),(1473,NULL,1473,1473,NULL,NULL,NULL,NULL),(1474,NULL,1474,1474,NULL,NULL,NULL,NULL),(1475,NULL,1475,1475,NULL,NULL,NULL,NULL),(1476,NULL,1476,1476,NULL,NULL,NULL,NULL),(1477,NULL,1477,1477,NULL,NULL,NULL,NULL),(1478,NULL,1478,1478,NULL,NULL,NULL,NULL),(1479,NULL,1479,1479,NULL,NULL,NULL,NULL),(1480,NULL,1480,1480,NULL,NULL,NULL,NULL),(1481,NULL,1481,1481,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1482,NULL,1482,1482,NULL,NULL,NULL,NULL),(1483,NULL,1483,1483,NULL,NULL,NULL,NULL),(1484,NULL,1484,1484,NULL,NULL,NULL,NULL),(1485,NULL,1485,1485,NULL,NULL,NULL,NULL),(1486,NULL,1486,1486,NULL,NULL,NULL,NULL),(1487,NULL,1487,1487,NULL,NULL,NULL,NULL),(1488,NULL,1488,1488,NULL,NULL,NULL,NULL),(1489,NULL,1489,1489,NULL,NULL,NULL,NULL),(1490,NULL,1490,1490,NULL,NULL,NULL,NULL),(1491,NULL,1491,1491,NULL,NULL,NULL,NULL),(1492,NULL,1492,1492,NULL,NULL,NULL,NULL),(1493,NULL,1493,1493,NULL,NULL,NULL,NULL),(1494,NULL,1494,1494,NULL,NULL,NULL,NULL),(1495,NULL,1495,1495,NULL,NULL,NULL,NULL),(1496,NULL,1496,1496,NULL,NULL,NULL,NULL),(1497,NULL,1497,1497,NULL,NULL,NULL,NULL),(1498,NULL,1498,1498,NULL,NULL,NULL,NULL),(1499,NULL,1499,1499,NULL,NULL,NULL,NULL),(1500,NULL,1500,1500,NULL,NULL,NULL,NULL),(1501,NULL,1501,1501,NULL,NULL,NULL,NULL),(1502,NULL,1502,1502,NULL,NULL,NULL,NULL),(1503,NULL,1503,1503,NULL,NULL,NULL,NULL),(1504,NULL,1504,1504,NULL,NULL,NULL,NULL),(1505,NULL,1505,1505,NULL,NULL,NULL,NULL),(1506,NULL,1506,1506,NULL,NULL,NULL,NULL),(1507,NULL,1507,1507,NULL,NULL,NULL,NULL),(1508,NULL,1508,1508,NULL,NULL,NULL,NULL),(1509,NULL,1509,1509,NULL,NULL,NULL,NULL),(1510,NULL,1510,1510,NULL,NULL,NULL,NULL),(1511,NULL,1511,1511,NULL,NULL,NULL,NULL),(1512,NULL,1512,1512,NULL,NULL,NULL,NULL),(1513,NULL,1513,1513,NULL,NULL,NULL,NULL),(1514,NULL,1514,1514,NULL,NULL,NULL,NULL),(1515,NULL,1515,1515,NULL,NULL,NULL,NULL),(1516,NULL,1516,1516,NULL,NULL,NULL,NULL),(1517,NULL,1517,1517,NULL,NULL,NULL,NULL),(1518,NULL,1518,1518,NULL,NULL,NULL,NULL),(1519,NULL,1519,1519,NULL,NULL,NULL,NULL),(1520,NULL,1520,1520,NULL,NULL,NULL,NULL),(1521,NULL,1521,1521,NULL,NULL,NULL,NULL),(1522,NULL,1522,1522,NULL,NULL,NULL,NULL),(1523,NULL,1523,1523,NULL,NULL,NULL,NULL),(1524,NULL,1524,1524,NULL,NULL,NULL,NULL),(1525,NULL,1525,1525,NULL,NULL,NULL,NULL),(1526,NULL,1526,1526,NULL,NULL,NULL,NULL),(1527,NULL,1527,1527,NULL,NULL,NULL,NULL),(1528,NULL,1528,1528,NULL,NULL,NULL,NULL),(1529,NULL,1529,1529,NULL,NULL,NULL,NULL),(1530,NULL,1530,1530,NULL,NULL,NULL,NULL),(1531,NULL,1531,1531,NULL,NULL,NULL,NULL),(1532,NULL,1532,1532,NULL,NULL,NULL,NULL),(1533,NULL,1533,1533,NULL,NULL,NULL,NULL),(1534,NULL,1534,1534,NULL,NULL,NULL,NULL),(1535,NULL,1535,1535,NULL,NULL,NULL,NULL),(1536,NULL,1536,1536,NULL,NULL,NULL,NULL),(1537,NULL,1537,1537,NULL,NULL,NULL,NULL),(1538,NULL,1538,1538,NULL,NULL,NULL,NULL),(1539,NULL,1539,1539,NULL,NULL,NULL,NULL),(1540,NULL,1540,1540,NULL,NULL,NULL,NULL),(1541,NULL,1541,1541,NULL,NULL,NULL,NULL),(1542,NULL,1542,1542,NULL,NULL,NULL,NULL),(1543,NULL,1543,1543,NULL,NULL,NULL,NULL),(1544,NULL,1544,1544,NULL,NULL,NULL,NULL),(1545,NULL,1545,1545,NULL,NULL,NULL,NULL),(1546,NULL,1546,1546,NULL,NULL,NULL,NULL),(1547,NULL,1547,1547,NULL,NULL,NULL,NULL),(1548,NULL,1548,1548,NULL,NULL,NULL,NULL),(1549,NULL,1549,1549,NULL,NULL,NULL,NULL),(1550,NULL,1550,1550,NULL,NULL,NULL,NULL),(1551,NULL,1551,1551,NULL,NULL,NULL,NULL),(1552,NULL,1552,1552,NULL,NULL,NULL,NULL),(1553,NULL,1553,1553,NULL,NULL,NULL,NULL),(1554,NULL,1554,1554,NULL,NULL,NULL,NULL),(1555,NULL,1555,1555,NULL,NULL,NULL,NULL),(1556,NULL,1556,1556,NULL,NULL,NULL,NULL),(1557,NULL,1557,1557,NULL,NULL,NULL,NULL),(1558,NULL,1558,1558,NULL,NULL,NULL,NULL),(1559,NULL,1559,1559,NULL,NULL,NULL,NULL),(1560,NULL,1560,1560,NULL,NULL,NULL,NULL),(1561,NULL,1561,1561,NULL,NULL,NULL,NULL),(1562,NULL,1562,1562,NULL,NULL,NULL,NULL),(1563,NULL,1563,1563,NULL,NULL,NULL,NULL),(1564,NULL,1564,1564,NULL,NULL,NULL,NULL),(1565,NULL,1565,1565,NULL,NULL,NULL,NULL),(1566,NULL,1566,1566,NULL,NULL,NULL,NULL),(1567,NULL,1567,1567,NULL,NULL,NULL,NULL),(1568,NULL,1568,1568,NULL,NULL,NULL,NULL),(1569,NULL,1569,1569,NULL,NULL,NULL,NULL),(1570,NULL,1570,1570,NULL,NULL,NULL,NULL),(1571,NULL,1571,1571,NULL,NULL,NULL,NULL),(1572,NULL,1572,1572,NULL,NULL,NULL,NULL),(1573,NULL,1573,1573,NULL,NULL,NULL,NULL),(1574,NULL,1574,1574,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1575,NULL,1575,1575,NULL,NULL,NULL,NULL),(1576,NULL,1576,1576,NULL,NULL,NULL,NULL),(1577,NULL,1577,1577,NULL,NULL,NULL,NULL),(1578,NULL,1578,1578,NULL,NULL,NULL,NULL),(1579,NULL,1579,1579,NULL,NULL,NULL,NULL),(1580,NULL,1580,1580,NULL,NULL,NULL,NULL),(1581,NULL,1581,1581,NULL,NULL,NULL,NULL),(1582,NULL,1582,1582,NULL,NULL,NULL,NULL),(1583,NULL,1583,1583,NULL,NULL,NULL,NULL),(1584,NULL,1584,1584,NULL,NULL,NULL,NULL),(1585,NULL,1585,1585,NULL,NULL,NULL,NULL),(1586,NULL,1586,1586,NULL,NULL,NULL,NULL),(1587,NULL,1587,1587,NULL,NULL,NULL,NULL),(1588,NULL,1588,1588,NULL,NULL,NULL,NULL),(1589,NULL,1589,1589,NULL,NULL,NULL,NULL),(1590,NULL,1590,1590,NULL,NULL,NULL,NULL),(1591,NULL,1591,1591,NULL,NULL,NULL,NULL),(1592,NULL,1592,1592,NULL,NULL,NULL,NULL),(1593,NULL,1593,1593,NULL,NULL,NULL,NULL),(1594,NULL,1594,1594,NULL,NULL,NULL,NULL),(1595,NULL,1595,1595,NULL,NULL,NULL,NULL),(1596,NULL,1596,1596,NULL,NULL,NULL,NULL),(1597,NULL,1597,1597,NULL,NULL,NULL,NULL),(1598,NULL,1598,1598,NULL,NULL,NULL,NULL),(1599,NULL,1599,1599,NULL,NULL,NULL,NULL),(1600,NULL,1600,1600,NULL,NULL,NULL,NULL),(1601,NULL,1601,1601,NULL,NULL,NULL,NULL),(1602,NULL,1602,1602,NULL,NULL,NULL,NULL),(1603,NULL,1603,1603,NULL,NULL,NULL,NULL),(1604,NULL,1604,1604,NULL,NULL,NULL,NULL),(1605,NULL,1605,1605,NULL,NULL,NULL,NULL),(1606,NULL,1606,1606,NULL,NULL,NULL,NULL),(1607,NULL,1607,1607,NULL,NULL,NULL,NULL),(1608,NULL,1608,1608,NULL,NULL,NULL,NULL),(1609,NULL,1609,1609,NULL,NULL,NULL,NULL),(1610,NULL,1610,1610,NULL,NULL,NULL,NULL),(1611,NULL,1611,1611,NULL,NULL,NULL,NULL),(1612,NULL,1612,1612,NULL,NULL,NULL,NULL),(1613,NULL,1613,1613,NULL,NULL,NULL,NULL),(1614,NULL,1614,1614,NULL,NULL,NULL,NULL),(1615,NULL,1615,1615,NULL,NULL,NULL,NULL),(1616,NULL,1616,1616,NULL,NULL,NULL,NULL),(1617,NULL,1617,1617,NULL,NULL,NULL,NULL),(1618,NULL,1618,1618,NULL,NULL,NULL,NULL),(1619,NULL,1619,1619,NULL,NULL,NULL,NULL),(1620,NULL,1620,1620,NULL,NULL,NULL,NULL),(1621,NULL,1621,1621,NULL,NULL,NULL,NULL),(1622,NULL,1622,1622,NULL,NULL,NULL,NULL),(1623,NULL,1623,1623,NULL,NULL,NULL,NULL),(1624,NULL,1624,1624,NULL,NULL,NULL,NULL),(1625,NULL,1625,1625,NULL,NULL,NULL,NULL),(1626,NULL,1626,1626,NULL,NULL,NULL,NULL),(1627,NULL,1627,1627,NULL,NULL,NULL,NULL),(1628,NULL,1628,1628,NULL,NULL,NULL,NULL),(1629,NULL,1629,1629,NULL,NULL,NULL,NULL),(1630,NULL,1630,1630,NULL,NULL,NULL,NULL),(1631,NULL,1631,1631,NULL,NULL,NULL,NULL),(1632,NULL,1632,1632,NULL,NULL,NULL,NULL),(1633,NULL,1633,1633,NULL,NULL,NULL,NULL),(1634,NULL,1634,1634,NULL,NULL,NULL,NULL),(1635,NULL,1635,1635,NULL,NULL,NULL,NULL),(1636,NULL,1636,1636,NULL,NULL,NULL,NULL),(1637,NULL,1637,1637,NULL,NULL,NULL,NULL),(1638,NULL,1638,1638,NULL,NULL,NULL,NULL),(1639,NULL,1639,1639,NULL,NULL,NULL,NULL),(1640,NULL,1640,1640,NULL,NULL,NULL,NULL),(1641,NULL,1641,1641,NULL,NULL,NULL,NULL),(1642,NULL,1642,1642,NULL,NULL,NULL,NULL),(1643,NULL,1643,1643,NULL,NULL,NULL,NULL),(1644,NULL,1644,1644,NULL,NULL,NULL,NULL),(1645,NULL,1645,1645,NULL,NULL,NULL,NULL),(1646,NULL,1646,1646,NULL,NULL,NULL,NULL),(1647,NULL,1647,1647,NULL,NULL,NULL,NULL),(1648,NULL,1648,1648,NULL,NULL,NULL,NULL),(1649,NULL,1649,1649,NULL,NULL,NULL,NULL),(1650,NULL,1650,1650,NULL,NULL,NULL,NULL),(1651,NULL,1651,1651,NULL,NULL,NULL,NULL),(1652,NULL,1652,1652,NULL,NULL,NULL,NULL),(1653,NULL,1653,1653,NULL,NULL,NULL,NULL),(1654,NULL,1654,1654,NULL,NULL,NULL,NULL),(1655,NULL,1655,1655,NULL,NULL,NULL,NULL),(1656,NULL,1656,1656,NULL,NULL,NULL,NULL),(1657,NULL,1657,1657,NULL,NULL,NULL,NULL),(1658,NULL,1658,1658,NULL,NULL,NULL,NULL),(1659,NULL,1659,1659,NULL,NULL,NULL,NULL),(1660,NULL,1660,1660,NULL,NULL,NULL,NULL),(1661,NULL,1661,1661,NULL,NULL,NULL,NULL),(1662,NULL,1662,1662,NULL,NULL,NULL,NULL),(1663,NULL,1663,1663,NULL,NULL,NULL,NULL),(1664,NULL,1664,1664,NULL,NULL,NULL,NULL),(1665,NULL,1665,1665,NULL,NULL,NULL,NULL),(1666,NULL,1666,1666,NULL,NULL,NULL,NULL),(1667,NULL,1667,1667,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1668,NULL,1668,1668,NULL,NULL,NULL,NULL),(1669,NULL,1669,1669,NULL,NULL,NULL,NULL),(1670,NULL,1670,1670,NULL,NULL,NULL,NULL),(1671,NULL,1671,1671,NULL,NULL,NULL,NULL),(1672,NULL,1672,1672,NULL,NULL,NULL,NULL),(1673,NULL,1673,1673,NULL,NULL,NULL,NULL),(1674,NULL,1674,1674,NULL,NULL,NULL,NULL),(1675,NULL,1675,1675,NULL,NULL,NULL,NULL),(1676,NULL,1676,1676,NULL,NULL,NULL,NULL),(1677,NULL,1677,1677,NULL,NULL,NULL,NULL),(1678,NULL,1678,1678,NULL,NULL,NULL,NULL),(1679,NULL,1679,1679,NULL,NULL,NULL,NULL),(1680,NULL,1680,1680,NULL,NULL,NULL,NULL),(1681,NULL,1681,1681,NULL,NULL,NULL,NULL),(1682,NULL,1682,1682,NULL,NULL,NULL,NULL),(1683,NULL,1683,1683,NULL,NULL,NULL,NULL),(1684,NULL,1684,1684,NULL,NULL,NULL,NULL),(1685,NULL,1685,1685,NULL,NULL,NULL,NULL),(1686,NULL,1686,1686,NULL,NULL,NULL,NULL),(1687,NULL,1687,1687,NULL,NULL,NULL,NULL),(1688,NULL,1688,1688,NULL,NULL,NULL,NULL),(1689,NULL,1689,1689,NULL,NULL,NULL,NULL),(1690,NULL,1690,1690,NULL,NULL,NULL,NULL),(1691,NULL,1691,1691,NULL,NULL,NULL,NULL),(1692,NULL,1692,1692,NULL,NULL,NULL,NULL),(1693,NULL,1693,1693,NULL,NULL,NULL,NULL),(1694,NULL,1694,1694,NULL,NULL,NULL,NULL),(1695,NULL,1695,1695,NULL,NULL,NULL,NULL),(1696,NULL,1696,1696,NULL,NULL,NULL,NULL),(1697,NULL,1697,1697,NULL,NULL,NULL,NULL),(1698,NULL,1698,1698,NULL,NULL,NULL,NULL),(1699,NULL,1699,1699,NULL,NULL,NULL,NULL),(1700,NULL,1700,1700,NULL,NULL,NULL,NULL),(1701,NULL,1701,1701,NULL,NULL,NULL,NULL),(1702,NULL,1702,1702,NULL,NULL,NULL,NULL),(1703,NULL,1703,1703,NULL,NULL,NULL,NULL),(1704,NULL,1704,1704,NULL,NULL,NULL,NULL),(1705,NULL,1705,1705,NULL,NULL,NULL,NULL),(1706,NULL,1706,1706,NULL,NULL,NULL,NULL),(1707,NULL,1707,1707,NULL,NULL,NULL,NULL),(1708,NULL,1708,1708,NULL,NULL,NULL,NULL),(1709,NULL,1709,1709,NULL,NULL,NULL,NULL),(1710,NULL,1710,1710,NULL,NULL,NULL,NULL),(1711,NULL,1711,1711,NULL,NULL,NULL,NULL),(1712,NULL,1712,1712,NULL,NULL,NULL,NULL),(1713,NULL,1713,1713,NULL,NULL,NULL,NULL),(1714,NULL,1714,1714,NULL,NULL,NULL,NULL),(1715,NULL,1715,1715,NULL,NULL,NULL,NULL),(1716,NULL,1716,1716,NULL,NULL,NULL,NULL),(1717,NULL,1717,1717,NULL,NULL,NULL,NULL),(1718,NULL,1718,1718,NULL,NULL,NULL,NULL),(1719,NULL,1719,1719,NULL,NULL,NULL,NULL),(1720,NULL,1720,1720,NULL,NULL,NULL,NULL),(1721,NULL,1721,1721,NULL,NULL,NULL,NULL),(1722,NULL,1722,1722,NULL,NULL,NULL,NULL),(1723,NULL,1723,1723,NULL,NULL,NULL,NULL),(1724,NULL,1724,1724,NULL,NULL,NULL,NULL),(1725,NULL,1725,1725,NULL,NULL,NULL,NULL),(1726,NULL,1726,1726,NULL,NULL,NULL,NULL),(1727,NULL,1727,1727,NULL,NULL,NULL,NULL),(1728,NULL,1728,1728,NULL,NULL,NULL,NULL),(1729,NULL,1729,1729,NULL,NULL,NULL,NULL),(1730,NULL,1730,1730,NULL,NULL,NULL,NULL),(1731,NULL,1731,1731,NULL,NULL,NULL,NULL),(1732,NULL,1732,1732,NULL,NULL,NULL,NULL),(1733,NULL,1733,1733,NULL,NULL,NULL,NULL),(1734,NULL,1734,1734,NULL,NULL,NULL,NULL),(1735,NULL,1735,1735,NULL,NULL,NULL,NULL),(1736,NULL,1736,1736,NULL,NULL,NULL,NULL),(1737,NULL,1737,1737,NULL,NULL,NULL,NULL),(1738,NULL,1738,1738,NULL,NULL,NULL,NULL),(1739,NULL,1739,1739,NULL,NULL,NULL,NULL),(1740,NULL,1740,1740,NULL,NULL,NULL,NULL),(1741,NULL,1741,1741,NULL,NULL,NULL,NULL),(1742,NULL,1742,1742,NULL,NULL,NULL,NULL),(1743,NULL,1743,1743,NULL,NULL,NULL,NULL),(1744,NULL,1744,1744,NULL,NULL,NULL,NULL),(1745,NULL,1745,1745,NULL,NULL,NULL,NULL),(1746,NULL,1746,1746,NULL,NULL,NULL,NULL),(1747,NULL,1747,1747,NULL,NULL,NULL,NULL),(1748,NULL,1748,1748,NULL,NULL,NULL,NULL),(1749,NULL,1749,1749,NULL,NULL,NULL,NULL),(1750,NULL,1750,1750,NULL,NULL,NULL,NULL),(1751,NULL,1751,1751,NULL,NULL,NULL,NULL),(1752,NULL,1752,1752,NULL,NULL,NULL,NULL),(1753,NULL,1753,1753,NULL,NULL,NULL,NULL),(1754,NULL,1754,1754,NULL,NULL,NULL,NULL),(1755,NULL,1755,1755,NULL,NULL,NULL,NULL),(1756,NULL,1756,1756,NULL,NULL,NULL,NULL),(1757,NULL,1757,1757,NULL,NULL,NULL,NULL),(1758,NULL,1758,1758,NULL,NULL,NULL,NULL),(1759,NULL,1759,1759,NULL,NULL,NULL,NULL),(1760,NULL,1760,1760,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1761,NULL,1761,1761,NULL,NULL,NULL,NULL),(1762,NULL,1762,1762,NULL,NULL,NULL,NULL),(1763,NULL,1763,1763,NULL,NULL,NULL,NULL),(1764,NULL,1764,1764,NULL,NULL,NULL,NULL),(1765,NULL,1765,1765,NULL,NULL,NULL,NULL),(1766,NULL,1766,1766,NULL,NULL,NULL,NULL),(1767,NULL,1767,1767,NULL,NULL,NULL,NULL),(1768,NULL,1768,1768,NULL,NULL,NULL,NULL),(1769,NULL,1769,1769,NULL,NULL,NULL,NULL),(1770,NULL,1770,1770,NULL,NULL,NULL,NULL),(1771,NULL,1771,1771,NULL,NULL,NULL,NULL),(1772,NULL,1772,1772,NULL,NULL,NULL,NULL),(1773,NULL,1773,1773,NULL,NULL,NULL,NULL),(1774,NULL,1774,1774,NULL,NULL,NULL,NULL),(1775,NULL,1775,1775,NULL,NULL,NULL,NULL),(1776,NULL,1776,1776,NULL,NULL,NULL,NULL),(1777,NULL,1777,1777,NULL,NULL,NULL,NULL),(1778,NULL,1778,1778,NULL,NULL,NULL,NULL),(1779,NULL,1779,1779,NULL,NULL,NULL,NULL),(1780,NULL,1780,1780,NULL,NULL,NULL,NULL),(1781,NULL,1781,1781,NULL,NULL,NULL,NULL),(1782,NULL,1782,1782,NULL,NULL,NULL,NULL),(1783,NULL,1783,1783,NULL,NULL,NULL,NULL),(1784,NULL,1784,1784,NULL,NULL,NULL,NULL),(1785,NULL,1785,1785,NULL,NULL,NULL,NULL),(1786,NULL,1786,1786,NULL,NULL,NULL,NULL),(1787,NULL,1787,1787,NULL,NULL,NULL,NULL),(1788,NULL,1788,1788,NULL,NULL,NULL,NULL),(1789,NULL,1789,1789,NULL,NULL,NULL,NULL),(1790,NULL,1790,1790,NULL,NULL,NULL,NULL),(1791,NULL,1791,1791,NULL,NULL,NULL,NULL),(1792,NULL,1792,1792,NULL,NULL,NULL,NULL),(1793,NULL,1793,1793,NULL,NULL,NULL,NULL),(1794,NULL,1794,1794,NULL,NULL,NULL,NULL),(1795,NULL,1795,1795,NULL,NULL,NULL,NULL),(1796,NULL,1796,1796,NULL,NULL,NULL,NULL),(1797,NULL,1797,1797,NULL,NULL,NULL,NULL),(1798,NULL,1798,1798,NULL,NULL,NULL,NULL),(1799,NULL,1799,1799,NULL,NULL,NULL,NULL),(1800,NULL,1800,1800,NULL,NULL,NULL,NULL),(1801,NULL,1801,1801,NULL,NULL,NULL,NULL),(1802,NULL,1802,1802,NULL,NULL,NULL,NULL),(1803,NULL,1803,1803,NULL,NULL,NULL,NULL),(1804,NULL,1804,1804,NULL,NULL,NULL,NULL),(1805,NULL,1805,1805,NULL,NULL,NULL,NULL),(1806,NULL,1806,1806,NULL,NULL,NULL,NULL),(1807,NULL,1807,1807,NULL,NULL,NULL,NULL),(1808,NULL,1808,1808,NULL,NULL,NULL,NULL),(1809,NULL,1809,1809,NULL,NULL,NULL,NULL),(1810,NULL,1810,1810,NULL,NULL,NULL,NULL),(1811,NULL,1811,1811,NULL,NULL,NULL,NULL),(1812,NULL,1812,1812,NULL,NULL,NULL,NULL),(1813,NULL,1813,1813,NULL,NULL,NULL,NULL),(1814,NULL,1814,1814,NULL,NULL,NULL,NULL),(1815,NULL,1815,1815,NULL,NULL,NULL,NULL),(1816,NULL,1816,1816,NULL,NULL,NULL,NULL),(1817,NULL,1817,1817,NULL,NULL,NULL,NULL),(1818,NULL,1818,1818,NULL,NULL,NULL,NULL),(1819,NULL,1819,1819,NULL,NULL,NULL,NULL),(1820,NULL,1820,1820,NULL,NULL,NULL,NULL),(1821,NULL,1821,1821,NULL,NULL,NULL,NULL),(1822,NULL,1822,1822,NULL,NULL,NULL,NULL),(1823,NULL,1823,1823,NULL,NULL,NULL,NULL),(1824,NULL,1824,1824,NULL,NULL,NULL,NULL),(1825,NULL,1825,1825,NULL,NULL,NULL,NULL),(1826,NULL,1826,1826,NULL,NULL,NULL,NULL),(1827,NULL,1827,1827,NULL,NULL,NULL,NULL),(1828,NULL,1828,1828,NULL,NULL,NULL,NULL),(1829,NULL,1829,1829,NULL,NULL,NULL,NULL),(1830,NULL,1830,1830,NULL,NULL,NULL,NULL),(1831,NULL,1831,1831,NULL,NULL,NULL,NULL),(1832,NULL,1832,1832,NULL,NULL,NULL,NULL),(1833,NULL,1833,1833,NULL,NULL,NULL,NULL),(1834,NULL,1834,1834,NULL,NULL,NULL,NULL),(1835,NULL,1835,1835,NULL,NULL,NULL,NULL),(1836,NULL,1836,1836,NULL,NULL,NULL,NULL),(1837,NULL,1837,1837,NULL,NULL,NULL,NULL),(1838,NULL,1838,1838,NULL,NULL,NULL,NULL),(1839,NULL,1839,1839,NULL,NULL,NULL,NULL),(1840,NULL,1840,1840,NULL,NULL,NULL,NULL),(1841,NULL,1841,1841,NULL,NULL,NULL,NULL),(1842,NULL,1842,1842,NULL,NULL,NULL,NULL),(1843,NULL,1843,1843,NULL,NULL,NULL,NULL),(1844,NULL,1844,1844,NULL,NULL,NULL,NULL),(1845,NULL,1845,1845,NULL,NULL,NULL,NULL),(1846,NULL,1846,1846,NULL,NULL,NULL,NULL),(1847,NULL,1847,1847,NULL,NULL,NULL,NULL),(1848,NULL,1848,1848,NULL,NULL,NULL,NULL),(1849,NULL,1849,1849,NULL,NULL,NULL,NULL),(1850,NULL,1850,1850,NULL,NULL,NULL,NULL),(1851,NULL,1851,1851,NULL,NULL,NULL,NULL),(1852,NULL,1852,1852,NULL,NULL,NULL,NULL),(1853,NULL,1853,1853,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1854,NULL,1854,1854,NULL,NULL,NULL,NULL),(1855,NULL,1855,1855,NULL,NULL,NULL,NULL),(1856,NULL,1856,1856,NULL,NULL,NULL,NULL),(1857,NULL,1857,1857,NULL,NULL,NULL,NULL),(1858,NULL,1858,1858,NULL,NULL,NULL,NULL),(1859,NULL,1859,1859,NULL,NULL,NULL,NULL),(1860,NULL,1860,1860,NULL,NULL,NULL,NULL),(1861,NULL,1861,1861,NULL,NULL,NULL,NULL),(1862,NULL,1862,1862,NULL,NULL,NULL,NULL),(1863,NULL,1863,1863,NULL,NULL,NULL,NULL),(1864,NULL,1864,1864,NULL,NULL,NULL,NULL),(1865,NULL,1865,1865,NULL,NULL,NULL,NULL),(1866,NULL,1866,1866,NULL,NULL,NULL,NULL),(1867,NULL,1867,1867,NULL,NULL,NULL,NULL),(1868,NULL,1868,1868,NULL,NULL,NULL,NULL),(1869,NULL,1869,1869,NULL,NULL,NULL,NULL),(1870,NULL,1870,1870,NULL,NULL,NULL,NULL),(1871,NULL,1871,1871,NULL,NULL,NULL,NULL),(1872,NULL,1872,1872,NULL,NULL,NULL,NULL),(1873,NULL,1873,1873,NULL,NULL,NULL,NULL),(1874,NULL,1874,1874,NULL,NULL,NULL,NULL),(1875,NULL,1875,1875,NULL,NULL,NULL,NULL),(1876,NULL,1876,1876,NULL,NULL,NULL,NULL),(1877,NULL,1877,1877,NULL,NULL,NULL,NULL),(1878,NULL,1878,1878,NULL,NULL,NULL,NULL),(1879,NULL,1879,1879,NULL,NULL,NULL,NULL),(1880,NULL,1880,1880,NULL,NULL,NULL,NULL),(1881,NULL,1881,1881,NULL,NULL,NULL,NULL),(1882,NULL,1882,1882,NULL,NULL,NULL,NULL),(1883,NULL,1883,1883,NULL,NULL,NULL,NULL),(1884,NULL,1884,1884,NULL,NULL,NULL,NULL),(1885,NULL,1885,1885,NULL,NULL,NULL,NULL),(1886,NULL,1886,1886,NULL,NULL,NULL,NULL),(1887,NULL,1887,1887,NULL,NULL,NULL,NULL),(1888,NULL,1888,1888,NULL,NULL,NULL,NULL),(1889,NULL,1889,1889,NULL,NULL,NULL,NULL),(1890,NULL,1890,1890,NULL,NULL,NULL,NULL),(1891,NULL,1891,1891,NULL,NULL,NULL,NULL),(1892,NULL,1892,1892,NULL,NULL,NULL,NULL),(1893,NULL,1893,1893,NULL,NULL,NULL,NULL),(1894,NULL,1894,1894,NULL,NULL,NULL,NULL),(1895,NULL,1895,1895,NULL,NULL,NULL,NULL),(1896,NULL,1896,1896,NULL,NULL,NULL,NULL),(1897,NULL,1897,1897,NULL,NULL,NULL,NULL),(1898,NULL,1898,1898,NULL,NULL,NULL,NULL),(1899,NULL,1899,1899,NULL,NULL,NULL,NULL),(1900,NULL,1900,1900,NULL,NULL,NULL,NULL),(1901,NULL,1901,1901,NULL,NULL,NULL,NULL),(1902,NULL,1902,1902,NULL,NULL,NULL,NULL),(1903,NULL,1903,1903,NULL,NULL,NULL,NULL),(1904,NULL,1904,1904,NULL,NULL,NULL,NULL),(1905,NULL,1905,1905,NULL,NULL,NULL,NULL),(1906,NULL,1906,1906,NULL,NULL,NULL,NULL),(1907,NULL,1907,1907,NULL,NULL,NULL,NULL),(1908,NULL,1908,1908,NULL,NULL,NULL,NULL),(1909,NULL,1909,1909,NULL,NULL,NULL,NULL),(1910,NULL,1910,1910,NULL,NULL,NULL,NULL),(1911,NULL,1911,1911,NULL,NULL,NULL,NULL),(1912,NULL,1912,1912,NULL,NULL,NULL,NULL),(1913,NULL,1913,1913,NULL,NULL,NULL,NULL),(1914,NULL,1914,1914,NULL,NULL,NULL,NULL),(1915,NULL,1915,1915,NULL,NULL,NULL,NULL),(1916,NULL,1916,1916,NULL,NULL,NULL,NULL),(1917,NULL,1917,1917,NULL,NULL,NULL,NULL),(1918,NULL,1918,1918,NULL,NULL,NULL,NULL),(1919,NULL,1919,1919,NULL,NULL,NULL,NULL),(1920,NULL,1920,1920,NULL,NULL,NULL,NULL),(1921,NULL,1921,1921,NULL,NULL,NULL,NULL),(1922,NULL,1922,1922,NULL,NULL,NULL,NULL),(1923,NULL,1923,1923,NULL,NULL,NULL,NULL),(1924,NULL,1924,1924,NULL,NULL,NULL,NULL),(1925,NULL,1925,1925,NULL,NULL,NULL,NULL),(1926,NULL,1926,1926,NULL,NULL,NULL,NULL),(1927,NULL,1927,1927,NULL,NULL,NULL,NULL),(1928,NULL,1928,1928,NULL,NULL,NULL,NULL),(1929,NULL,1929,1929,NULL,NULL,NULL,NULL),(1930,NULL,1930,1930,NULL,NULL,NULL,NULL),(1931,NULL,1931,1931,NULL,NULL,NULL,NULL),(1932,NULL,1932,1932,NULL,NULL,NULL,NULL),(1933,NULL,1933,1933,NULL,NULL,NULL,NULL),(1934,NULL,1934,1934,NULL,NULL,NULL,NULL),(1935,NULL,1935,1935,NULL,NULL,NULL,NULL),(1936,NULL,1936,1936,NULL,NULL,NULL,NULL),(1937,NULL,1937,1937,NULL,NULL,NULL,NULL),(1938,NULL,1938,1938,NULL,NULL,NULL,NULL),(1939,NULL,1939,1939,NULL,NULL,NULL,NULL),(1940,NULL,1940,1940,NULL,NULL,NULL,NULL),(1941,NULL,1941,1941,NULL,NULL,NULL,NULL),(1942,NULL,1942,1942,NULL,NULL,NULL,NULL),(1943,NULL,1943,1943,NULL,NULL,NULL,NULL),(1944,NULL,1944,1944,NULL,NULL,NULL,NULL),(1945,NULL,1945,1945,NULL,NULL,NULL,NULL),(1946,NULL,1946,1946,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1947,NULL,1947,1947,NULL,NULL,NULL,NULL),(1948,NULL,1948,1948,NULL,NULL,NULL,NULL),(1949,NULL,1949,1949,NULL,NULL,NULL,NULL),(1950,NULL,1950,1950,NULL,NULL,NULL,NULL),(1951,NULL,1951,1951,NULL,NULL,NULL,NULL),(1952,NULL,1952,1952,NULL,NULL,NULL,NULL),(1953,NULL,1953,1953,NULL,NULL,NULL,NULL),(1954,NULL,1954,1954,NULL,NULL,NULL,NULL),(1955,NULL,1955,1955,NULL,NULL,NULL,NULL),(1956,NULL,1956,1956,NULL,NULL,NULL,NULL),(1957,NULL,1957,1957,NULL,NULL,NULL,NULL),(1958,NULL,1958,1958,NULL,NULL,NULL,NULL),(1959,NULL,1959,1959,NULL,NULL,NULL,NULL),(1960,NULL,1960,1960,NULL,NULL,NULL,NULL),(1961,NULL,1961,1961,NULL,NULL,NULL,NULL),(1962,NULL,1962,1962,NULL,NULL,NULL,NULL),(1963,NULL,1963,1963,NULL,NULL,NULL,NULL),(1964,NULL,1964,1964,NULL,NULL,NULL,NULL),(1965,NULL,1965,1965,NULL,NULL,NULL,NULL),(1966,NULL,1966,1966,NULL,NULL,NULL,NULL),(1967,NULL,1967,1967,NULL,NULL,NULL,NULL),(1968,NULL,1968,1968,NULL,NULL,NULL,NULL),(1969,NULL,1969,1969,NULL,NULL,NULL,NULL),(1970,NULL,1970,1970,NULL,NULL,NULL,NULL),(1971,NULL,1971,1971,NULL,NULL,NULL,NULL),(1972,NULL,1972,1972,NULL,NULL,NULL,NULL),(1973,NULL,1973,1973,NULL,NULL,NULL,NULL),(1974,NULL,1974,1974,NULL,NULL,NULL,NULL),(1975,NULL,1975,1975,NULL,NULL,NULL,NULL),(1976,NULL,1976,1976,NULL,NULL,NULL,NULL),(1977,NULL,1977,1977,NULL,NULL,NULL,NULL),(1978,NULL,1978,1978,NULL,NULL,NULL,NULL),(1979,NULL,1979,1979,NULL,NULL,NULL,NULL),(1980,NULL,1980,1980,NULL,NULL,NULL,NULL),(1981,NULL,1981,1981,NULL,NULL,NULL,NULL),(1982,NULL,1982,1982,NULL,NULL,NULL,NULL),(1983,NULL,1983,1983,NULL,NULL,NULL,NULL),(1984,NULL,1984,1984,NULL,NULL,NULL,NULL),(1985,NULL,1985,1985,NULL,NULL,NULL,NULL),(1986,NULL,1986,1986,NULL,NULL,NULL,NULL),(1987,NULL,1987,1987,NULL,NULL,NULL,NULL),(1988,NULL,1988,1988,NULL,NULL,NULL,NULL),(1989,NULL,1989,1989,NULL,NULL,NULL,NULL),(1990,NULL,1990,1990,NULL,NULL,NULL,NULL),(1991,NULL,1991,1991,NULL,NULL,NULL,NULL),(1992,NULL,1992,1992,NULL,NULL,NULL,NULL),(1993,NULL,1993,1993,NULL,NULL,NULL,NULL),(1994,NULL,1994,1994,NULL,NULL,NULL,NULL),(1995,NULL,1995,1995,NULL,NULL,NULL,NULL),(1996,NULL,1996,1601,NULL,NULL,NULL,NULL),(1997,NULL,1997,1601,NULL,NULL,NULL,NULL);

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

CREATE TABLE `cta_cte_tesoreria` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `fecha` date DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `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`),
  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_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_cuentas`
--

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

--
-- 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 NOT NULL,
  `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,
  `neto` decimal(16,2) NOT NULL,
  `iva` decimal(16,2) NOT NULL,
  `total` decimal(16,2) NOT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `dc_estado_id` bigint(20) unsigned NOT NULL,
  `conta_cc_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_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`),
  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_orden_tipo_id_foreign` FOREIGN KEY (`dc_orden_tipo_id`) REFERENCES `dc_ordenes_tipos` (`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_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,
  `cantidades` decimal(16,2) NOT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `neto` decimal(16,2) NOT NULL,
  `desc_porc` decimal(16,2) DEFAULT NULL,
  `descuento` decimal(16,2) DEFAULT NULL,
  `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`),
  CONSTRAINT `dc_ordenes_details_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`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_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,
  `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=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `dc_ordenes_tipos` VALUES (1,NULL,'COMPRAS',1,NULL,NULL,NULL),(2,NULL,'VENTAS',1,NULL,NULL,NULL);

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

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

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


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

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

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


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

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

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

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

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

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

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


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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

--
-- Table structure for table `fact_elec_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,
  `alias_cbu` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total` decimal(16,2) NOT NULL DEFAULT '0.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`),
  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_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=64 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','2021-05-18 17:19:21',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,'2021-05-18 17:19:22','2021-05-18 17:19:22',NULL),(47,2021,64532.64,129065.29,3226.63,0.09,64532.64,'2021-05-18 17:19:22','2021-05-18 17:19:22',NULL),(48,2021,129065.29,193597.93,9034.57,0.12,129065.29,'2021-05-18 17:19:22','2021-05-18 17:19:22',NULL),(49,2021,193597.93,258130.58,16778.49,0.15,193597.93,'2021-05-18 17:19:22','2021-05-18 17:19:22',NULL),(50,2021,258130.58,387195.86,26458.39,0.19,258130.58,'2021-05-18 17:19:22','2021-05-18 17:19:22',NULL),(51,2021,387195.86,516261.14,50980.79,0.23,387195.86,'2021-05-18 17:19:22','2022-06-07 10:50:02',NULL),(52,2021,516261.14,774391.71,80665.80,0.27,516261.14,'2021-05-18 17:19:22','2021-05-18 17:19:22',NULL),(53,2021,774391.71,1032522.30,150361.06,0.31,774391.71,'2021-05-18 17:19:22','2021-05-18 17:19:22',NULL),(54,2021,1032522.30,999999999.99,230381.54,0.35,1032522.30,'2021-05-18 17:19:22','2021-05-18 17:19:22',NULL),(55,2022,0.00,97201.99,0.00,0.05,0.00,'2022-01-11 13:19:54','2022-02-06 22:23:44',NULL),(56,2022,97201.99,194404.01,4860.10,0.09,97201.99,'2022-01-11 13:19:54','2022-01-11 13:19:54',NULL),(57,2022,194404.01,291606.01,13608.29,0.12,194404.01,'2022-01-11 13:19:54','2022-01-11 13:19:54',NULL),(58,2022,291606.01,388808.02,25272.52,0.15,291606.01,'2022-01-11 13:19:54','2022-01-11 13:19:54',NULL),(59,2022,388808.02,583212.02,39852.82,0.19,388808.02,'2022-01-11 13:19:54','2022-01-11 13:19:54',NULL),(60,2022,583212.02,777616.02,76789.59,0.23,583212.02,'2022-01-11 13:19:54','2022-01-11 13:19:54',NULL),(61,2022,777616.02,1166424.03,121502.49,0.27,777616.02,'2022-01-11 13:19:54','2022-01-11 13:19:54',NULL),(62,2022,1166424.03,1555232.07,226480.67,0.31,1166424.03,'2022-01-11 13:19:54','2022-01-11 13:19:54',NULL),(63,2022,1555232.07,9999999.00,347011.15,0.35,1555232.07,'2022-01-11 13:19:54','2022-01-11 13:19:54',NULL);

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

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

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

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

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

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

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

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

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

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

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


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

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

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


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

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

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


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

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

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


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

CREATE TABLE `ganan_deducciones` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `anio` int(10) unsigned NOT NULL,
  `generales` tinyint(1) NOT NULL DEFAULT '0',
  `particulares` tinyint(1) NOT NULL DEFAULT '0',
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=151 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

--
-- Table structure for table `ganan_tipos_op`
--

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

--
-- Dumping data for table `ganan_tipos_op`
--

INSERT INTO `ganan_tipos_op` VALUES (1,NULL,'Gravado',1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(2,NULL,'Exento',1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL);

--
-- Table structure for table `iibb_perceptions`
--

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

--
-- Dumping data for table `iibb_perceptions`
--

INSERT INTO `iibb_perceptions` VALUES (1,NULL,NULL,NULL,'IIBB CABA','IIBBCABA'),(2,NULL,NULL,NULL,'IIBB Bs. As.','IIBBBSAS'),(3,NULL,NULL,NULL,'Percepcion IIBB Tucuman','IIBBTucuman'),(4,NULL,NULL,NULL,'Perc IIBB Misiones','IIBBMisiones'),(5,NULL,NULL,NULL,'Perc IIBB Cordoba','IIBBCba'),(6,NULL,NULL,NULL,'Pec IIBB La Pampa','IIBB La Pampa'),(7,NULL,NULL,NULL,'Perc IIBB Rio Negro','IIBB Rio Negro'),(8,NULL,NULL,NULL,'Perc IIBB Corrientes','IIIBB Corrientes'),(9,NULL,NULL,NULL,'Perc IIBB Santiago del Estero','IIBBSantiago');

--
-- Table structure for table `inv_combos`
--

CREATE TABLE `inv_combos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `inv_product_combo_id` bigint(20) unsigned NOT NULL,
  `inv_product_id` bigint(20) unsigned NOT NULL,
  `cantidades` int(11) NOT NULL,
  `codigo_interno` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `descripcion` 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`),
  KEY `inv_combos_inv_product_combo_id_foreign` (`inv_product_combo_id`),
  KEY `inv_combos_inv_product_id_foreign` (`inv_product_id`),
  CONSTRAINT `inv_combos_inv_product_combo_id_foreign` FOREIGN KEY (`inv_product_combo_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `inv_combos_inv_product_id_foreign` FOREIGN KEY (`inv_product_id`) REFERENCES `inv_productos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_combos`
--


--
-- Table structure for table `inv_control_stock`
--

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

--
-- Dumping data for table `inv_control_stock`
--


--
-- Table structure for table `inv_control_stock_detail`
--

CREATE TABLE `inv_control_stock_detail` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_control_stock_id` bigint(20) unsigned NOT NULL,
  `inv_product_id` bigint(20) unsigned NOT NULL,
  `stock_actual` decimal(16,2) NOT NULL DEFAULT '0.00',
  `stock_real` decimal(16,2) NOT NULL DEFAULT '0.00',
  `stock_diferencia` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_costo` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_diferencia` 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 `inv_control_stock_detail_person_id_foreign` (`person_id`),
  KEY `inv_control_stock_detail_inv_control_stock_id_foreign` (`inv_control_stock_id`),
  KEY `inv_control_stock_detail_inv_product_id_foreign` (`inv_product_id`),
  CONSTRAINT `inv_control_stock_detail_inv_control_stock_id_foreign` FOREIGN KEY (`inv_control_stock_id`) REFERENCES `inv_control_stock` (`id`),
  CONSTRAINT `inv_control_stock_detail_inv_product_id_foreign` FOREIGN KEY (`inv_product_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `inv_control_stock_detail_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_control_stock_detail`
--


--
-- Table structure for table `inv_indicadores`
--

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

--
-- Dumping data for table `inv_indicadores`
--

INSERT INTO `inv_indicadores` VALUES (1,NULL,'Datos Grales','datos_grales','card_info',5,1,NULL,'2022-05-19 21:55:41',NULL),(2,NULL,'Impuestos Asociados','impuestos_asociados','card_info',6,1,NULL,'2022-05-19 21:55:41',NULL),(3,NULL,'Informacion de Liquidacion','informacion_de_liquidacion','card_info',7,1,NULL,'2022-05-19 21:55:41',NULL),(4,NULL,'Cantidad Ventas del Mes','cantidad_ventas_del_mes','card',1,1,NULL,'2022-05-19 21:55:41',NULL),(5,NULL,'Total Facturado En El Mes','total_facturado_en_el_mes','card',2,1,NULL,'2022-05-19 21:55:41',NULL),(6,NULL,'Total Facturado En El Dia','total_facturado_en_el_dia','card',3,1,NULL,'2022-05-19 21:55:41',NULL),(7,NULL,'Total Facturado En El Año','total_facturado_en_el_anio','card',4,1,NULL,'2022-05-19 21:55:41',NULL),(8,NULL,'Facturacion Mensual','facturacion_mensual','grafico',8,1,NULL,'2022-05-19 21:55:41',NULL),(9,NULL,'Proyeccion de Ganancias','proyeccion_de_ganancias','tabla',9,1,NULL,'2022-05-19 21:55:41',NULL),(10,NULL,'Posicion IVA','posicion_de_iva','tabla',10,1,NULL,'2022-05-19 21:55:41',NULL);

--
-- Table structure for table `inv_indicadores_persons`
--

CREATE TABLE `inv_indicadores_persons` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_indicador_id` bigint(20) unsigned NOT NULL,
  `objetivo` 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 `inv_indicadores_persons_person_id_foreign` (`person_id`),
  KEY `inv_indicadores_persons_inv_indicador_id_foreign` (`inv_indicador_id`),
  CONSTRAINT `inv_indicadores_persons_inv_indicador_id_foreign` FOREIGN KEY (`inv_indicador_id`) REFERENCES `inv_indicadores` (`id`),
  CONSTRAINT `inv_indicadores_persons_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_indicadores_persons`
--


--
-- Table structure for table `inv_ing_egr_stock`
--

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

--
-- Dumping data for table `inv_ing_egr_stock`
--


--
-- Table structure for table `inv_ing_egr_stock_detail`
--

CREATE TABLE `inv_ing_egr_stock_detail` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_ing_egr_stock_id` bigint(20) unsigned NOT NULL,
  `inv_product_id` bigint(20) unsigned NOT NULL,
  `sumar1_restar0` tinyint(1) NOT NULL DEFAULT '1',
  `cantidades` 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 `inv_ing_egr_stock_detail_person_id_foreign` (`person_id`),
  KEY `inv_ing_egr_stock_detail_inv_ing_egr_stock_id_foreign` (`inv_ing_egr_stock_id`),
  KEY `inv_ing_egr_stock_detail_inv_product_id_foreign` (`inv_product_id`),
  CONSTRAINT `inv_ing_egr_stock_detail_inv_ing_egr_stock_id_foreign` FOREIGN KEY (`inv_ing_egr_stock_id`) REFERENCES `inv_ing_egr_stock` (`id`),
  CONSTRAINT `inv_ing_egr_stock_detail_inv_product_id_foreign` FOREIGN KEY (`inv_product_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `inv_ing_egr_stock_detail_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_ing_egr_stock_detail`
--


--
-- Table structure for table `inv_lista_de_precios`
--

CREATE TABLE `inv_lista_de_precios` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `porcentaje_descuento` decimal(16,2) NOT NULL DEFAULT '0.00',
  `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 `inv_lista_de_precios_person_id_foreign` (`person_id`),
  CONSTRAINT `inv_lista_de_precios_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_lista_de_precios`
--


--
-- Table structure for table `inv_orden_trabajo_config_cc`
--

CREATE TABLE `inv_orden_trabajo_config_cc` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `horas_conta_plan_cuenta_id` int(10) unsigned NOT NULL,
  `horas_contra_conta_plan_cuenta_id` int(10) unsigned NOT NULL,
  `gastos_conta_plan_cuenta_id` int(10) unsigned NOT NULL,
  `gastos_contra_conta_plan_cuenta_id` int(10) unsigned NOT NULL,
  `productos_conta_plan_cuenta_id` int(10) unsigned NOT NULL,
  `productos_contra_conta_plan_cuenta_id` int(10) unsigned NOT NULL,
  `asiento_horas_cpc_id` int(10) unsigned NOT NULL DEFAULT '217',
  `asiento_contra_horas_cpc_id` int(10) unsigned NOT NULL DEFAULT '217',
  `asiento_gastos_cpc_id` int(10) unsigned NOT NULL DEFAULT '217',
  `asiento_contra_gastos_cpc_id` int(10) unsigned NOT NULL DEFAULT '217',
  `asiento_productos_cpc_id` int(10) unsigned NOT NULL DEFAULT '217',
  `asiento_contra_productos_cpc_id` int(10) unsigned NOT NULL DEFAULT '217',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_config_cc_person_id_foreign` (`person_id`),
  KEY `hcc_id_foreign` (`horas_conta_plan_cuenta_id`),
  KEY `gcc_id_foreign` (`gastos_conta_plan_cuenta_id`),
  KEY `pcc_id_foreign` (`productos_conta_plan_cuenta_id`),
  KEY `h_contra_cc_id_foreign` (`horas_contra_conta_plan_cuenta_id`),
  KEY `g_contra_cc_id_foreign` (`gastos_contra_conta_plan_cuenta_id`),
  KEY `p_contra_cc_id_foreign` (`productos_contra_conta_plan_cuenta_id`),
  KEY `ahcc_id_foreign` (`asiento_horas_cpc_id`),
  KEY `agcc_id_foreign` (`asiento_gastos_cpc_id`),
  KEY `apcc_id_foreign` (`asiento_productos_cpc_id`),
  KEY `ah_contra_cc_id_foreign` (`asiento_contra_horas_cpc_id`),
  KEY `ag_contra_cc_id_foreign` (`asiento_contra_gastos_cpc_id`),
  KEY `ap_contra_cc_id_foreign` (`asiento_contra_productos_cpc_id`),
  CONSTRAINT `ag_contra_cc_id_foreign` FOREIGN KEY (`asiento_contra_gastos_cpc_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `agcc_id_foreign` FOREIGN KEY (`asiento_gastos_cpc_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `ah_contra_cc_id_foreign` FOREIGN KEY (`asiento_contra_horas_cpc_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `ahcc_id_foreign` FOREIGN KEY (`asiento_horas_cpc_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `ap_contra_cc_id_foreign` FOREIGN KEY (`asiento_contra_productos_cpc_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `apcc_id_foreign` FOREIGN KEY (`asiento_productos_cpc_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `g_contra_cc_id_foreign` FOREIGN KEY (`gastos_contra_conta_plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `gcc_id_foreign` FOREIGN KEY (`gastos_conta_plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `h_contra_cc_id_foreign` FOREIGN KEY (`horas_contra_conta_plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `hcc_id_foreign` FOREIGN KEY (`horas_conta_plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `inv_orden_trabajo_config_cc_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `p_contra_cc_id_foreign` FOREIGN KEY (`productos_contra_conta_plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `pcc_id_foreign` FOREIGN KEY (`productos_conta_plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_config_cc`
--


--
-- Table structure for table `inv_orden_trabajo_facturada`
--

CREATE TABLE `inv_orden_trabajo_facturada` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_orden_trabajo_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 `inv_orden_trabajo_facturada_person_id_foreign` (`person_id`),
  KEY `inv_orden_trabajo_facturada_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  KEY `inv_orden_trabajo_facturada_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  CONSTRAINT `inv_orden_trabajo_facturada_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `inv_orden_trabajo_facturada_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `inv_orden_trabajo_facturada_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_facturada`
--


--
-- Table structure for table `inv_orden_trabajo_gastos`
--

CREATE TABLE `inv_orden_trabajo_gastos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned DEFAULT NULL,
  `inv_orden_trabajo_gastos_tipo_id` bigint(20) unsigned DEFAULT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2022-04-27 23:47:31',
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_gastos_person_id_foreign` (`person_id`),
  KEY `inv_orden_trabajo_gastos_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `inv_orden_trabajo_gastos_receipt_id_foreign` (`receipt_id`),
  KEY `i_o_t_g_t_id_foreign` (`inv_orden_trabajo_gastos_tipo_id`),
  KEY `inv_orden_trabajo_gastos_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  CONSTRAINT `i_o_t_g_t_id_foreign` FOREIGN KEY (`inv_orden_trabajo_gastos_tipo_id`) REFERENCES `inv_orden_trabajo_gastos_tipos` (`id`),
  CONSTRAINT `inv_orden_trabajo_gastos_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `inv_orden_trabajo_gastos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_orden_trabajo_gastos_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_orden_trabajo_gastos_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_gastos`
--


--
-- Table structure for table `inv_orden_trabajo_gastos_tipos`
--

CREATE TABLE `inv_orden_trabajo_gastos_tipos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `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 `inv_orden_trabajo_gastos_tipos_person_id_foreign` (`person_id`),
  CONSTRAINT `inv_orden_trabajo_gastos_tipos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_gastos_tipos`
--


--
-- Table structure for table `inv_orden_trabajo_horas`
--

CREATE TABLE `inv_orden_trabajo_horas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned DEFAULT NULL,
  `inv_orden_trabajo_horas_tipo_id` bigint(20) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2022-04-27 23:47:31',
  `syj_empleado_id` int(10) unsigned DEFAULT NULL,
  `cantidad` decimal(16,2) NOT NULL DEFAULT '0.00',
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_horas_person_id_foreign` (`person_id`),
  KEY `inv_orden_trabajo_horas_inv_orden_trabajo_horas_tipo_id_foreign` (`inv_orden_trabajo_horas_tipo_id`),
  KEY `inv_orden_trabajo_horas_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  KEY `inv_orden_trabajo_horas_syj_empleado_id_foreign` (`syj_empleado_id`),
  CONSTRAINT `inv_orden_trabajo_horas_inv_orden_trabajo_horas_tipo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_horas_tipo_id`) REFERENCES `inv_orden_trabajo_horas_tipos` (`id`),
  CONSTRAINT `inv_orden_trabajo_horas_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `inv_orden_trabajo_horas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_orden_trabajo_horas_syj_empleado_id_foreign` FOREIGN KEY (`syj_empleado_id`) REFERENCES `syj_empleados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_horas`
--


--
-- Table structure for table `inv_orden_trabajo_horas_tipos`
--

CREATE TABLE `inv_orden_trabajo_horas_tipos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `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 `inv_orden_trabajo_horas_tipos_person_id_foreign` (`person_id`),
  CONSTRAINT `inv_orden_trabajo_horas_tipos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_horas_tipos`
--


--
-- Table structure for table `inv_orden_trabajo_productos`
--

CREATE TABLE `inv_orden_trabajo_productos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned DEFAULT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2022-04-27 23:47:31',
  `cantidades` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_productos_person_id_foreign` (`person_id`),
  KEY `inv_orden_trabajo_productos_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  KEY `inv_orden_trabajo_productos_inv_producto_id_foreign` (`inv_producto_id`),
  CONSTRAINT `inv_orden_trabajo_productos_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `inv_orden_trabajo_productos_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `inv_orden_trabajo_productos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_productos`
--


--
-- Table structure for table `inv_orden_trabajos`
--

CREATE TABLE `inv_orden_trabajos` (
  `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 DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2022-04-27 23:47:30',
  `numero` int(10) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `titulo` text COLLATE utf8mb4_unicode_ci,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `cerrada` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajos_person_id_foreign` (`person_id`),
  KEY `inv_orden_trabajos_person_id_relationed_foreign` (`person_id_relationed`),
  CONSTRAINT `inv_orden_trabajos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_orden_trabajos_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 `inv_orden_trabajos`
--


--
-- Table structure for table `inv_product_receipt`
--

CREATE TABLE `inv_product_receipt` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `type_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_product_id` bigint(20) unsigned NOT NULL,
  `receiptable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `receiptable_id` int(10) unsigned NOT NULL,
  `cantidades` decimal(16,2) NOT NULL,
  `costo` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_sin_iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `descuento` decimal(16,2) NOT NULL DEFAULT '0.00',
  `descuento_por1_imp0` tinyint(1) NOT NULL DEFAULT '1',
  `descuento_porcentaje` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_con_descuento` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_final` decimal(16,2) NOT NULL DEFAULT '0.00',
  `iva` 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 `inv_product_receipt_type_id_foreign` (`type_id`),
  KEY `inv_product_receipt_person_id_foreign` (`person_id`),
  KEY `inv_product_receipt_inv_product_id_foreign` (`inv_product_id`),
  CONSTRAINT `inv_product_receipt_inv_product_id_foreign` FOREIGN KEY (`inv_product_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `inv_product_receipt_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_product_receipt_type_id_foreign` FOREIGN KEY (`type_id`) REFERENCES `types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_product_receipt`
--


--
-- Table structure for table `inv_productos`
--

CREATE TABLE `inv_productos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `inv_producto_tipo_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `person_id` int(10) unsigned NOT NULL,
  `person_prov_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `codigo_externo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `codigo_interno` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fac_ele_unidad_medida_id` int(10) unsigned NOT NULL DEFAULT '8',
  `inv_rubro_sub_id` bigint(20) unsigned NOT NULL,
  `inv_ubicacion_id` bigint(20) unsigned DEFAULT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `costo` decimal(16,2) NOT NULL DEFAULT '0.00',
  `margen` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_sin_iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `system_tax_id` int(10) unsigned DEFAULT NULL,
  `iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_final` decimal(16,2) NOT NULL DEFAULT '0.00',
  `inv_lista_de_precio_id` bigint(20) unsigned DEFAULT NULL,
  `foto` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `stock` decimal(16,2) NOT NULL DEFAULT '0.00',
  `stock_minimo` decimal(16,2) NOT NULL DEFAULT '0.00',
  `sku` 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`),
  KEY `inv_productos_person_id_foreign` (`person_id`),
  KEY `inv_productos_person_prov_id_foreign` (`person_prov_id`),
  KEY `inv_productos_fac_ele_unidad_medida_id_foreign` (`fac_ele_unidad_medida_id`),
  KEY `inv_productos_inv_rubro_sub_id_foreign` (`inv_rubro_sub_id`),
  KEY `inv_productos_inv_ubicacion_id_foreign` (`inv_ubicacion_id`),
  KEY `inv_productos_system_tax_id_foreign` (`system_tax_id`),
  KEY `inv_productos_inv_lista_de_precio_id_foreign` (`inv_lista_de_precio_id`),
  KEY `inv_productos_inv_producto_tipo_id_foreign` (`inv_producto_tipo_id`),
  KEY `inv_productos_moneda_id_foreign` (`moneda_id`),
  CONSTRAINT `inv_productos_fac_ele_unidad_medida_id_foreign` FOREIGN KEY (`fac_ele_unidad_medida_id`) REFERENCES `fac_elec_unidad_medidas` (`id`),
  CONSTRAINT `inv_productos_inv_lista_de_precio_id_foreign` FOREIGN KEY (`inv_lista_de_precio_id`) REFERENCES `inv_lista_de_precios` (`id`),
  CONSTRAINT `inv_productos_inv_producto_tipo_id_foreign` FOREIGN KEY (`inv_producto_tipo_id`) REFERENCES `inv_productos_tipos` (`id`),
  CONSTRAINT `inv_productos_inv_rubro_sub_id_foreign` FOREIGN KEY (`inv_rubro_sub_id`) REFERENCES `inv_rubros_sub` (`id`),
  CONSTRAINT `inv_productos_inv_ubicacion_id_foreign` FOREIGN KEY (`inv_ubicacion_id`) REFERENCES `inv_ubicaciones` (`id`),
  CONSTRAINT `inv_productos_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `inv_productos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_productos_person_prov_id_foreign` FOREIGN KEY (`person_prov_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_productos_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_productos`
--


--
-- Table structure for table `inv_productos_tipos`
--

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

--
-- Dumping data for table `inv_productos_tipos`
--

INSERT INTO `inv_productos_tipos` VALUES (1,NULL,'Unitario',1,NULL,NULL,NULL),(2,NULL,'Combo',1,NULL,NULL,NULL);

--
-- Table structure for table `inv_rubros`
--

CREATE TABLE `inv_rubros` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` 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`),
  KEY `inv_rubros_person_id_foreign` (`person_id`),
  CONSTRAINT `inv_rubros_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_rubros`
--


--
-- Table structure for table `inv_rubros_sub`
--

CREATE TABLE `inv_rubros_sub` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_rubro_id` bigint(20) unsigned NOT NULL,
  `descripcion` 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`),
  KEY `inv_rubros_sub_person_id_foreign` (`person_id`),
  KEY `inv_rubros_sub_inv_rubro_id_foreign` (`inv_rubro_id`),
  CONSTRAINT `inv_rubros_sub_inv_rubro_id_foreign` FOREIGN KEY (`inv_rubro_id`) REFERENCES `inv_rubros` (`id`),
  CONSTRAINT `inv_rubros_sub_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
