-- Table structure for table `cta_cte_tesoreria_banco_cheq`
--

CREATE TABLE `cta_cte_tesoreria_banco_cheq` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_banco_id` int(10) unsigned NOT NULL,
  `chequera_tipo_id` int(10) unsigned NOT NULL,
  `serie` text COLLATE utf8mb4_unicode_ci,
  `numero_cheque` int(11) DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_banco_cheq_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_banco_id_foreign` (`cta_cte_tesoreria_banco_id`),
  KEY `cta_cte_tesoreria_banco_cheq_chequera_tipo_id_foreign` (`chequera_tipo_id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_chequera_tipo_id_foreign` FOREIGN KEY (`chequera_tipo_id`) REFERENCES `chequeras_tipos` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_banco_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_banco_id`) REFERENCES `cta_cte_tesoreria_bancos` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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


--
-- Table structure for table `cta_cte_tesoreria_banco_comentarios`
--

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

--
-- Dumping data for table `cta_cte_tesoreria_banco_comentarios`
--


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

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

--
-- Dumping data for table `cta_cte_tesoreria_banco_estados`
--

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

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

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

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


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

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

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

INSERT INTO `cta_cte_tesoreria_cuenta_tipos` VALUES (1,NULL,'CAJA',1,NULL,NULL,NULL),(2,NULL,'BANCOS',1,NULL,NULL,NULL),(3,NULL,'CHEQUES',1,NULL,NULL,NULL),(4,NULL,'RETENCIONES EFECTUADAS',1,NULL,'2024-05-26 20:54:44',NULL),(5,NULL,'PERCEPCIONES EFECTUADAS',1,NULL,'2024-05-26 20:54:44',NULL),(6,NULL,'RESULTADO NEGATIVO',1,NULL,NULL,NULL),(7,NULL,'RESULTADO POSITIVO',1,NULL,NULL,NULL),(8,NULL,'MOVIMIENTO',1,NULL,NULL,NULL),(9,NULL,'RETENCIONES SUFRIDAS',1,NULL,NULL,NULL),(10,NULL,'PERCEPCIONES SUFRIDAS',1,NULL,NULL,NULL);

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

CREATE TABLE `cta_cte_tesoreria_cuentas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `bind_apibank_enabled` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Tiene Bind APIBank habilitado?',
  `bind_account_id` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'ID de cuenta en Bind APIBank (obtenido al configurar)',
  `user_id` int(10) unsigned DEFAULT NULL,
  `is_no_fiscal` tinyint(1) DEFAULT '0',
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `plan_cuenta_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_tipo_id` int(10) unsigned NOT NULL DEFAULT '8',
  `retention_type_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cuit` text COLLATE utf8mb4_unicode_ci,
  `cheque3ros` tinyint(1) NOT NULL DEFAULT '0',
  `cheque_emitidos` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cta_cte` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cuenta_origen` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cuenta_destino` tinyint(1) NOT NULL DEFAULT '0',
  `conta_asientos` tinyint(1) NOT NULL DEFAULT '0',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_cuentas_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_cuentas_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  KEY `cta_tes_tipo_id_foreign` (`cta_cte_tesoreria_cuenta_tipo_id`),
  KEY `cta_cte_tesoreria_cuentas_moneda_id_foreign` (`moneda_id`),
  KEY `cta_cte_tesoreria_cuentas_retention_type_id_foreign` (`retention_type_id`),
  KEY `idx_cctc_bind_apibank_enabled` (`bind_apibank_enabled`),
  KEY `idx_cctc_bind_account_id` (`bind_account_id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_retention_type_id_foreign` FOREIGN KEY (`retention_type_id`) REFERENCES `retention_types` (`id`),
  CONSTRAINT `cta_tes_tipo_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_tipo_id`) REFERENCES `cta_cte_tesoreria_cuenta_tipos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=763 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

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

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

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

INSERT INTO `cta_cte_tesoreria_detail` VALUES (3,1445,2,13,40719,13,2,7500.00,0,'2020-11-01','2021-01-13 21:39:35','2021-01-13 21:39:35',NULL),(4,1445,2,359,40719,13,1,7500.00,0,'2020-11-01','2021-01-13 21:39:35','2021-01-13 21:39:35',NULL),(5,1445,3,359,40723,6123,1,9568.10,0,'2020-01-02','2021-03-17 16:06:49','2021-03-17 16:06:49',NULL),(6,1445,3,359,40723,6123,2,9568.10,0,'2020-01-02','2021-03-17 16:06:49','2021-03-17 16:06:49',NULL),(7,1445,4,57,40723,6123,1,9626.76,0,'2020-01-03','2021-03-17 16:12:16','2021-03-17 16:12:16',NULL),(8,1445,4,359,40723,6123,2,9626.76,0,'2020-01-03','2021-03-17 16:12:16','2021-03-17 16:12:16',NULL),(11,2193,6,57,40723,6124,1,8270.00,0,'2020-02-28','2021-05-01 09:09:53','2021-05-01 09:09:53',NULL),(12,2193,6,359,40723,6124,2,8270.00,0,'2020-02-28','2021-05-01 09:09:53','2021-05-01 09:09:53',NULL),(13,2193,7,57,40723,6124,1,56461.41,0,'2020-02-28','2021-05-01 09:15:36','2021-05-01 09:15:36',NULL),(14,2193,7,359,40723,6124,2,56461.41,0,'2020-02-28','2021-05-01 09:15:36','2021-05-01 09:15:36',NULL),(15,2193,8,57,40723,6124,1,9864.90,0,'2020-02-28','2021-05-01 09:18:25','2021-05-01 09:18:25',NULL),(16,2193,8,359,40723,6124,2,9864.90,0,'2020-02-28','2021-05-01 09:18:25','2021-05-01 09:18:25',NULL),(17,2193,9,57,40723,6124,1,6000.00,0,'2020-02-28','2021-05-01 09:22:02','2021-05-01 09:22:02',NULL),(18,2193,9,757,40723,6124,2,6000.00,0,'2020-02-28','2021-05-01 09:22:02','2021-05-01 09:22:02',NULL),(19,2193,10,57,40723,6124,1,9626.76,0,'2020-02-28','2021-05-01 09:24:13','2021-05-01 09:24:13',NULL),(20,2193,10,359,40723,6124,2,9626.76,0,'2020-02-28','2021-05-01 09:24:13','2021-05-01 09:24:13',NULL),(21,2193,11,57,40723,6124,1,1600.01,0,'2020-02-28','2021-05-01 09:25:24','2021-05-01 09:25:24',NULL),(22,2193,11,359,40723,6124,2,1600.01,0,'2020-02-28','2021-05-01 09:25:24','2021-05-01 09:25:24',NULL),(23,2193,12,57,40723,6125,1,3000.00,0,'2020-03-18','2021-05-01 09:29:39','2021-05-01 09:29:39',NULL),(24,2193,12,757,40723,6125,2,3000.00,0,'2020-03-18','2021-05-01 09:29:39','2021-05-01 09:29:39',NULL),(25,2193,13,57,40723,6125,1,920.00,0,'2020-03-31','2021-05-01 09:33:24','2021-05-01 09:33:24',NULL),(26,2193,13,359,40723,6125,2,920.00,0,'2020-03-31','2021-05-01 09:33:24','2021-05-01 09:33:24',NULL),(27,2193,14,57,40723,6125,1,12880.00,0,'2020-03-31','2021-05-01 09:35:34','2021-05-01 09:35:34',NULL),(28,2193,14,359,40723,6125,2,12880.00,0,'2020-03-31','2021-05-01 09:35:34','2021-05-01 09:35:34',NULL),(29,2193,15,57,40723,6125,1,4000.00,0,'2020-03-31','2021-05-01 09:36:25','2021-05-01 09:36:25',NULL),(30,2193,15,359,40723,6125,2,4000.00,0,'2020-03-31','2021-05-01 09:36:25','2021-05-01 09:36:25',NULL),(31,2193,16,57,40723,6125,1,12000.00,0,'2020-03-31','2021-05-01 09:38:58','2021-05-01 09:38:58',NULL),(32,2193,16,359,40723,6125,2,12000.00,0,'2020-03-31','2021-05-01 09:38:58','2021-05-01 09:38:58',NULL),(33,2193,17,57,40723,6125,1,272.25,0,'2020-03-31','2021-05-01 09:40:39','2021-05-01 09:40:39',NULL),(34,2193,17,359,40723,6125,2,272.25,0,'2020-03-31','2021-05-01 09:40:39','2021-05-01 09:40:39',NULL),(35,2193,18,57,40723,6125,1,9626.76,0,'2020-03-31','2021-05-01 09:41:26','2021-05-01 09:41:26',NULL),(36,2193,18,359,40723,6125,2,9626.76,0,'2020-03-31','2021-05-01 09:41:26','2021-05-01 09:41:26',NULL),(37,2193,19,57,40723,6125,1,6000.00,0,'2020-03-31','2021-05-01 09:42:44','2021-05-01 09:42:44',NULL),(38,2193,19,359,40723,6125,2,6000.00,0,'2020-03-31','2021-05-01 09:42:44','2021-05-01 09:42:44',NULL),(39,2193,20,57,40723,6125,1,17245.19,0,'2020-03-31','2021-05-01 09:43:46','2021-05-01 09:43:46',NULL),(40,2193,20,359,40723,6125,2,17245.19,0,'2020-03-31','2021-05-01 09:43:46','2021-05-01 09:43:46',NULL),(41,2193,21,57,40723,6126,1,6000.00,0,'2020-04-30','2021-05-01 09:45:15','2021-05-01 09:45:15',NULL),(42,2193,21,757,40723,6126,2,6000.00,0,'2020-04-30','2021-05-01 09:45:15','2021-05-01 09:45:15',NULL),(43,2193,22,57,40723,6126,1,8960.00,0,'2020-04-30','2021-05-01 09:46:08','2021-05-01 09:46:08',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (44,2193,22,757,40723,6126,2,8960.00,0,'2020-04-30','2021-05-01 09:46:08','2021-05-01 09:46:08',NULL),(45,2193,23,57,40723,6126,1,10299.52,0,'2020-04-30','2021-05-01 09:47:14','2021-05-01 09:47:14',NULL),(46,2193,23,359,40723,6126,2,10299.52,0,'2020-04-30','2021-05-01 09:47:14','2021-05-01 09:47:14',NULL),(47,2193,24,57,40723,6126,1,4000.00,0,'2020-04-30','2021-05-01 09:48:08','2021-05-01 09:48:08',NULL),(48,2193,24,359,40723,6126,2,4000.00,0,'2020-04-30','2021-05-01 09:48:08','2021-05-01 09:48:08',NULL),(49,2193,25,57,40723,6127,1,9626.76,0,'2020-05-31','2021-05-01 09:49:45','2021-05-01 09:49:45',NULL),(50,2193,25,359,40723,6127,2,9626.76,0,'2020-05-31','2021-05-01 09:49:45','2021-05-01 09:49:45',NULL),(51,2193,26,57,40723,6127,1,2845.39,0,'2020-05-31','2021-05-01 10:12:35','2021-05-01 10:12:35',NULL),(52,2193,26,761,40723,6127,2,2845.39,0,'2020-05-31','2021-05-01 10:12:35','2021-05-01 10:12:35',NULL),(53,2193,27,57,40723,6128,1,5600.00,0,'2020-06-30','2021-05-01 10:15:09','2021-05-01 10:15:09',NULL),(54,2193,27,757,40723,6128,2,5600.00,0,'2020-06-30','2021-05-01 10:15:09','2021-05-01 10:15:09',NULL),(57,2193,29,57,40723,6128,1,7260.00,0,'2020-06-05','2021-05-01 10:16:03','2021-05-01 10:16:03',NULL),(58,2193,29,359,40723,6128,2,7260.00,0,'2020-06-05','2021-05-01 10:16:03','2021-05-01 10:16:03',NULL),(59,2193,30,57,40723,6128,1,3552.89,0,'2020-06-30','2021-05-01 10:32:18','2021-05-01 10:32:18',NULL),(60,2193,30,359,40723,6128,2,3552.89,0,'2020-06-30','2021-05-01 10:32:18','2021-05-01 10:32:18',NULL),(61,2193,31,57,40723,6128,1,8840.00,0,'2020-06-30','2021-05-01 10:32:57','2021-05-01 10:32:57',NULL),(62,2193,31,359,40723,6128,2,8840.00,0,'2020-06-30','2021-05-01 10:32:57','2021-05-01 10:32:57',NULL),(63,2193,32,57,40723,6128,1,10800.00,0,'2020-06-30','2021-05-01 10:36:09','2021-05-01 10:36:09',NULL),(64,2193,32,757,40723,6128,2,10800.00,0,'2020-06-30','2021-05-01 10:36:09','2021-05-01 10:36:09',NULL),(65,2193,33,57,40723,6128,1,9626.76,0,'2020-06-30','2021-05-01 10:37:45','2021-05-01 10:37:45',NULL),(66,2193,33,359,40723,6128,2,9626.76,0,'2020-06-30','2021-05-01 10:37:45','2021-05-01 10:37:45',NULL),(67,2193,34,57,40723,6128,1,29238.00,0,'2020-06-30','2021-05-01 10:39:49','2021-05-01 10:39:49',NULL),(68,2193,34,757,40723,6128,2,29238.00,0,'2020-06-30','2021-05-01 10:39:49','2021-05-01 10:39:49',NULL),(69,2193,35,57,40723,6128,1,21840.00,0,'2020-06-30','2021-05-01 10:40:46','2021-05-01 10:40:46',NULL),(70,2193,35,757,40723,6128,2,21840.00,0,'2020-06-30','2021-05-01 10:40:46','2021-05-01 10:40:46',NULL),(71,2193,36,57,40723,6128,1,3717.34,0,'2020-06-30','2021-05-01 10:49:07','2021-05-01 10:49:07',NULL),(72,2193,36,761,40723,6128,2,3717.34,0,'2020-06-30','2021-05-01 10:49:07','2021-05-01 10:49:07',NULL),(73,2193,37,57,40723,6129,1,37560.00,0,'2021-07-30','2021-05-01 10:52:18','2021-05-01 10:52:18',NULL),(74,2193,37,359,40723,6129,2,37560.00,0,'2021-07-30','2021-05-01 10:52:18','2021-05-01 10:52:18',NULL),(75,2193,38,57,40723,6129,1,7260.00,0,'2020-07-31','2021-05-01 10:53:03','2021-05-01 10:53:03',NULL),(76,2193,38,359,40723,6129,2,7260.00,0,'2020-07-31','2021-05-01 10:53:03','2021-05-01 10:53:03',NULL),(77,2193,39,57,40723,6129,1,21840.00,0,'2020-07-31','2021-05-01 10:53:43','2021-05-01 10:53:43',NULL),(78,2193,39,359,40723,6129,2,21840.00,0,'2020-07-31','2021-05-01 10:53:43','2021-05-01 10:53:43',NULL),(79,2193,40,57,40723,6129,1,29120.00,0,'2020-07-31','2021-05-01 10:54:35','2021-05-01 10:54:35',NULL),(80,2193,40,757,40723,6129,2,29120.00,0,'2020-07-31','2021-05-01 10:54:35','2021-05-01 10:54:35',NULL),(81,2193,41,57,40723,6129,1,23550.00,0,'2020-07-31','2021-05-01 10:55:19','2021-05-01 10:55:19',NULL),(82,2193,41,757,40723,6129,2,23550.00,0,'2020-07-31','2021-05-01 10:55:19','2021-05-01 10:55:19',NULL),(83,2193,42,57,40723,6129,1,3999.99,0,'2020-07-31','2021-05-01 10:56:02','2021-05-01 10:56:02',NULL),(84,2193,42,359,40723,6129,2,3999.99,0,'2020-07-31','2021-05-01 10:56:02','2021-05-01 10:56:02',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (85,2193,43,57,40723,6129,1,8550.00,0,'2020-07-31','2021-05-01 11:00:56','2021-05-01 11:00:56',NULL),(86,2193,43,757,40723,6129,2,8550.00,0,'2020-07-31','2021-05-01 11:00:56','2021-05-01 11:00:56',NULL),(87,2193,44,57,40723,6129,1,5699.00,0,'2020-07-31','2021-05-01 11:01:45','2021-05-01 11:01:45',NULL),(88,2193,44,758,40723,6129,2,5699.00,0,'2020-07-31','2021-05-01 11:01:45','2021-05-01 11:01:45',NULL),(89,2193,45,57,40723,6129,1,479.99,0,'2020-07-31','2021-05-01 11:02:30','2021-05-01 11:02:30',NULL),(90,2193,45,758,40723,6129,2,479.99,0,'2020-07-31','2021-05-01 11:02:30','2021-05-01 11:02:30',NULL),(91,2193,46,57,40723,6129,1,2228.00,0,'2020-07-31','2021-05-01 11:03:17','2021-05-01 11:03:17',NULL),(92,2193,46,359,40723,6129,2,2228.00,0,'2020-07-31','2021-05-01 11:03:17','2021-05-01 11:03:17',NULL),(93,2193,47,57,40723,6129,1,9626.76,0,'2021-07-30','2021-05-01 11:03:58','2021-05-01 11:03:58',NULL),(94,2193,47,359,40723,6129,2,9626.76,0,'2021-07-30','2021-05-01 11:03:58','2021-05-01 11:03:58',NULL),(95,2193,48,57,40723,6129,1,2660.00,0,'2020-07-31','2021-05-01 11:05:30','2021-05-01 11:05:30',NULL),(96,2193,48,359,40723,6129,2,2660.00,0,'2020-07-31','2021-05-01 11:05:30','2021-05-01 11:05:30',NULL),(97,2193,49,57,40723,6129,1,4019.37,0,'2020-07-31','2021-05-01 11:06:13','2021-05-01 11:06:13',NULL),(98,2193,49,761,40723,6129,2,4019.37,0,'2020-07-31','2021-05-01 11:06:13','2021-05-01 11:06:13',NULL),(99,2193,50,57,40723,6129,1,4100.00,0,'2020-07-31','2021-05-01 11:09:29','2021-05-01 11:09:29',NULL),(100,2193,50,757,40723,6129,2,4100.00,0,'2020-07-31','2021-05-01 11:09:29','2021-05-01 11:09:29',NULL),(101,2193,51,57,40723,6130,1,7260.00,0,'2020-08-31','2021-05-01 11:10:09','2021-05-01 11:10:09',NULL),(102,2193,51,758,40723,6130,2,7260.00,0,'2020-08-31','2021-05-01 11:10:09','2021-05-01 11:10:09',NULL),(103,2193,52,57,40723,6130,1,1455.85,0,'2020-08-28','2021-05-01 11:11:08','2021-05-01 11:11:08',NULL),(104,2193,52,757,40723,6130,2,1455.85,0,'2020-08-28','2021-05-01 11:11:08','2021-05-01 11:11:08',NULL),(105,2193,53,57,40723,6130,1,7480.00,0,'2020-08-28','2021-05-01 11:11:56','2021-05-01 11:11:56',NULL),(106,2193,53,757,40723,6130,2,7480.00,0,'2020-08-28','2021-05-01 11:11:56','2021-05-01 11:11:56',NULL),(107,2193,54,57,40723,6130,1,4100.00,0,'2020-08-28','2021-05-01 11:12:38','2021-05-01 11:12:38',NULL),(108,2193,54,757,40723,6130,2,4100.00,0,'2020-08-28','2021-05-01 11:12:38','2021-05-01 11:12:38',NULL),(109,2193,55,57,40723,6130,1,7000.00,0,'2020-08-28','2021-05-01 11:13:18','2021-05-01 11:13:18',NULL),(110,2193,55,359,40723,6130,2,7000.00,0,'2020-08-28','2021-05-01 11:13:18','2021-05-01 11:13:18',NULL),(111,2193,56,57,40723,6130,1,4000.00,0,'2020-08-28','2021-05-01 11:13:57','2021-05-01 11:13:57',NULL),(112,2193,56,757,40723,6130,2,4000.00,0,'2020-08-28','2021-05-01 11:13:57','2021-05-01 11:13:57',NULL),(113,2193,57,57,40723,6130,1,3448.00,0,'2020-08-28','2021-05-01 11:14:56','2021-05-01 11:14:56',NULL),(114,2193,57,758,40723,6130,2,3448.00,0,'2020-08-28','2021-05-01 11:14:56','2021-05-01 11:14:56',NULL),(115,2193,58,57,40723,6130,1,3025.00,0,'2020-08-28','2021-05-01 11:15:36','2021-05-01 11:15:36',NULL),(116,2193,58,359,40723,6130,2,3025.00,0,'2020-08-28','2021-05-01 11:15:36','2021-05-01 11:15:36',NULL),(117,2193,59,57,40723,6130,1,9615.00,0,'2020-08-28','2021-05-01 11:16:57','2021-05-01 11:16:57',NULL),(118,2193,59,757,40723,6130,2,9615.00,0,'2020-08-28','2021-05-01 11:16:57','2021-05-01 11:16:57',NULL),(119,2193,60,57,40723,6130,1,7350.00,0,'2020-08-28','2021-05-01 11:17:48','2021-05-01 11:17:48',NULL),(120,2193,60,757,40723,6130,2,7350.00,0,'2020-08-28','2021-05-01 11:17:48','2021-05-01 11:17:48',NULL),(121,2193,61,57,40723,6130,1,2426.00,0,'2020-08-28','2021-05-01 11:18:26','2021-05-01 11:18:26',NULL),(122,2193,61,757,40723,6130,2,2426.00,0,'2020-08-28','2021-05-01 11:18:26','2021-05-01 11:18:26',NULL),(123,2193,62,57,40723,6130,1,2560.00,0,'2020-08-28','2021-05-01 11:19:56','2021-05-01 11:19:56',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (124,2193,62,757,40723,6130,2,2560.00,0,'2020-08-28','2021-05-01 11:19:56','2021-05-01 11:19:56',NULL),(125,2193,63,57,40723,6130,1,1400.00,0,'2020-08-28','2021-05-01 11:20:37','2021-05-01 11:20:37',NULL),(126,2193,63,757,40723,6130,2,1400.00,0,'2020-08-28','2021-05-01 11:20:37','2021-05-01 11:20:37',NULL),(127,2193,64,57,40723,6130,1,11400.00,0,'2020-08-20','2021-05-01 11:21:14','2021-05-01 11:21:14',NULL),(128,2193,64,757,40723,6130,2,11400.00,0,'2020-08-20','2021-05-01 11:21:14','2021-05-01 11:21:14',NULL),(129,2193,65,57,40723,6130,1,7200.00,0,'2020-08-27','2021-05-01 11:22:19','2021-05-01 11:22:19',NULL),(130,2193,65,760,40723,6130,2,7200.00,0,'2020-08-27','2021-05-01 11:22:19','2021-05-01 11:22:19',NULL),(131,2193,66,57,40723,6130,1,9626.76,0,'2020-08-21','2021-05-01 11:23:00','2021-05-01 11:23:00',NULL),(132,2193,66,359,40723,6130,2,9626.76,0,'2020-08-21','2021-05-01 11:23:00','2021-05-01 11:23:00',NULL),(133,2193,67,57,40723,6130,1,4544.56,0,'2021-08-27','2021-05-01 11:23:43','2021-05-01 11:23:43',NULL),(134,2193,67,761,40723,6130,2,4544.56,0,'2021-08-27','2021-05-01 11:23:43','2021-05-01 11:23:43',NULL),(135,2193,68,57,40723,6130,1,4100.00,0,'2020-08-27','2021-05-01 11:27:03','2021-05-01 11:27:03',NULL),(136,2193,68,757,40723,6130,2,4100.00,0,'2020-08-27','2021-05-01 11:27:03','2021-05-01 11:27:03',NULL),(137,2193,69,57,40723,6131,1,19273.78,0,'2020-09-29','2021-05-01 11:40:05','2021-05-01 11:40:05',NULL),(138,2193,69,758,40723,6131,2,19273.78,0,'2020-09-29','2021-05-01 11:40:05','2021-05-01 11:40:05',NULL),(139,2193,70,57,40723,6131,1,2800.00,0,'2020-09-22','2021-05-01 11:40:42','2021-05-01 11:40:42',NULL),(140,2193,70,758,40723,6131,2,2800.00,0,'2020-09-22','2021-05-01 11:40:42','2021-05-01 11:40:42',NULL),(141,2193,71,57,40723,6131,1,14969.80,0,'2020-09-15','2021-05-01 11:41:51','2021-05-01 11:41:51',NULL),(142,2193,71,757,40723,6131,2,14969.80,0,'2020-09-15','2021-05-01 11:41:51','2021-05-01 11:41:51',NULL),(143,2193,72,57,40723,6131,1,7260.00,0,'2020-09-24','2021-05-01 11:42:43','2021-05-01 11:42:43',NULL),(144,2193,72,758,40723,6131,2,7260.00,0,'2020-09-24','2021-05-01 11:42:43','2021-05-01 11:42:43',NULL),(145,2193,73,57,40723,6131,1,10527.00,0,'2020-09-22','2021-05-01 11:43:31','2021-05-01 11:43:31',NULL),(146,2193,73,758,40723,6131,2,10527.00,0,'2020-09-22','2021-05-01 11:43:31','2021-05-01 11:43:31',NULL),(147,2193,74,57,40723,6131,1,12000.00,0,'2020-09-24','2021-05-01 11:44:24','2021-05-01 11:44:24',NULL),(148,2193,74,758,40723,6131,2,12000.00,0,'2020-09-24','2021-05-01 11:44:24','2021-05-01 11:44:24',NULL),(149,2193,75,57,40723,6131,1,38640.00,0,'2020-09-23','2021-05-01 11:45:13','2021-05-01 11:45:13',NULL),(150,2193,75,757,40723,6131,2,38640.00,0,'2020-09-23','2021-05-01 11:45:13','2021-05-01 11:45:13',NULL),(151,2193,76,57,40723,6131,1,2000.00,0,'2020-09-16','2021-05-01 11:46:08','2021-05-01 11:46:08',NULL),(152,2193,76,757,40723,6131,2,2000.00,0,'2020-09-16','2021-05-01 11:46:08','2021-05-01 11:46:08',NULL),(153,2193,77,57,40723,6131,1,12000.00,0,'2020-09-23','2021-05-01 11:47:08','2021-05-01 11:47:08',NULL),(154,2193,77,757,40723,6131,2,12000.00,0,'2020-09-23','2021-05-01 11:47:08','2021-05-01 11:47:08',NULL),(155,2193,78,57,40723,6131,1,800.00,0,'2020-09-29','2021-05-01 11:47:45','2021-05-01 11:47:45',NULL),(156,2193,78,758,40723,6131,2,800.00,0,'2020-09-29','2021-05-01 11:47:45','2021-05-01 11:47:45',NULL),(157,2193,79,57,40723,6131,1,9000.00,0,'2020-09-29','2021-05-01 11:48:50','2021-05-01 11:48:50',NULL),(158,2193,79,757,40723,6131,2,9000.00,0,'2020-09-29','2021-05-01 11:48:50','2021-05-01 11:48:50',NULL),(159,2193,80,57,40723,6131,1,300.00,0,'2020-09-22','2021-05-01 11:50:54','2021-05-01 11:50:54',NULL),(160,2193,80,758,40723,6131,2,300.00,0,'2020-09-22','2021-05-01 11:50:54','2021-05-01 11:50:54',NULL),(161,2193,81,57,40723,6131,1,9626.76,0,'2020-09-29','2021-05-01 11:53:20','2021-05-01 11:53:20',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (162,2193,81,359,40723,6131,2,9626.76,0,'2020-09-29','2021-05-01 11:53:20','2021-05-01 11:53:20',NULL),(163,2193,82,57,40723,6131,1,6633.03,0,'2020-09-28','2021-05-01 11:54:41','2021-05-01 11:54:41',NULL),(164,2193,82,761,40723,6131,2,6633.03,0,'2020-09-28','2021-05-01 11:54:41','2021-05-01 11:54:41',NULL),(167,2193,84,57,40723,6132,1,7260.00,0,'2020-10-20','2021-05-01 18:41:35','2021-05-01 18:41:35',NULL),(168,2193,84,758,40723,6132,2,7260.00,0,'2020-10-20','2021-05-01 18:41:35','2021-05-01 18:41:35',NULL),(169,2193,85,57,40723,6132,1,6600.00,0,'2020-10-19','2021-05-01 18:46:10','2021-05-01 18:46:10',NULL),(170,2193,85,758,40723,6132,2,6600.00,0,'2020-10-19','2021-05-01 18:46:10','2021-05-01 18:46:10',NULL),(171,2193,86,57,40723,6132,1,2000.00,0,'2020-10-20','2021-05-01 18:46:57','2021-05-01 18:46:57',NULL),(172,2193,86,758,40723,6132,2,2000.00,0,'2020-10-20','2021-05-01 18:46:57','2021-05-01 18:46:57',NULL),(173,2193,87,57,40723,6132,1,3000.00,0,'2020-10-20','2021-05-01 18:47:44','2021-05-01 18:47:44',NULL),(174,2193,87,757,40723,6132,2,3000.00,0,'2020-10-20','2021-05-01 18:47:44','2021-05-01 18:47:44',NULL),(175,2193,88,57,40723,6132,1,39760.00,0,'2020-10-20','2021-05-01 18:48:51','2021-05-01 18:48:51',NULL),(176,2193,88,757,40723,6132,2,39760.00,0,'2020-10-20','2021-05-01 18:48:51','2021-05-01 18:48:51',NULL),(177,2193,89,57,40723,6132,1,7400.00,0,'2020-10-20','2021-05-01 18:50:37','2021-05-01 18:50:37',NULL),(178,2193,89,758,40723,6132,2,7400.00,0,'2020-10-20','2021-05-01 18:50:37','2021-05-01 18:50:37',NULL),(179,2193,90,57,40723,6132,1,4000.00,0,'2020-10-20','2021-05-01 18:51:35','2021-05-01 18:51:35',NULL),(180,2193,90,757,40723,6132,2,4000.00,0,'2020-10-20','2021-05-01 18:51:35','2021-05-01 18:51:35',NULL),(181,2193,91,57,40723,6132,1,42750.00,0,'2020-10-20','2021-05-01 18:52:34','2021-05-01 18:52:34',NULL),(182,2193,91,757,40723,6132,2,42750.00,0,'2020-10-20','2021-05-01 18:52:34','2021-05-01 18:52:34',NULL),(185,2193,93,57,40723,6132,1,3000.00,0,'2020-10-27','2021-05-01 18:54:32','2021-05-01 18:54:32',NULL),(186,2193,93,757,40723,6132,2,3000.00,0,'2020-10-27','2021-05-01 18:54:32','2021-05-01 18:54:32',NULL),(187,2193,94,57,40723,6132,1,5000.00,0,'2020-10-20','2021-05-01 18:55:28','2021-05-01 18:55:28',NULL),(188,2193,94,758,40723,6132,2,5000.00,0,'2020-10-20','2021-05-01 18:55:28','2021-05-01 18:55:28',NULL),(189,2193,95,57,40723,6132,1,3440.01,0,'2020-10-21','2021-05-01 18:56:27','2021-05-01 18:56:27',NULL),(190,2193,95,758,40723,6132,2,3440.01,0,'2020-10-21','2021-05-01 18:56:27','2021-05-01 18:56:27',NULL),(191,2193,96,57,40723,6132,1,9626.76,0,'2020-10-21','2021-05-01 18:57:23','2021-05-01 18:57:23',NULL),(192,2193,96,359,40723,6132,2,9626.76,0,'2020-10-21','2021-05-01 18:57:23','2021-05-01 18:57:23',NULL),(193,2193,97,57,40723,6132,1,5717.99,0,'2020-10-27','2021-05-01 18:58:10','2021-05-01 18:58:10',NULL),(194,2193,97,761,40723,6132,2,5717.99,0,'2020-10-27','2021-05-01 18:58:10','2021-05-01 18:58:10',NULL),(195,2193,98,57,40723,6132,1,7260.00,0,'2020-10-19','2021-05-01 19:07:31','2021-05-01 19:07:31',NULL),(196,2193,98,758,40723,6132,2,7260.00,0,'2020-10-19','2021-05-01 19:07:31','2021-05-01 19:07:31',NULL),(197,2193,99,57,40723,6133,1,14600.00,0,'2020-11-17','2021-05-01 19:11:51','2021-05-01 19:11:51',NULL),(198,2193,99,758,40723,6133,2,14600.00,0,'2020-11-17','2021-05-01 19:11:51','2021-05-01 19:11:51',NULL),(199,2193,100,57,40723,6133,1,10500.00,0,'2020-11-18','2021-05-01 19:13:01','2021-05-01 19:13:01',NULL),(200,2193,100,757,40723,6133,2,10500.00,0,'2020-11-18','2021-05-01 19:13:01','2021-05-01 19:13:01',NULL),(201,2193,101,57,40723,6133,1,3200.00,0,'2020-11-24','2021-05-01 19:14:21','2021-05-01 19:14:21',NULL),(202,2193,101,757,40723,6133,2,3200.00,0,'2020-11-24','2021-05-01 19:14:21','2021-05-01 19:14:21',NULL),(203,2193,102,57,40723,6133,1,3000.00,0,'2020-11-18','2021-05-01 19:15:17','2021-05-01 19:15:17',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (204,2193,102,757,40723,6133,2,3000.00,0,'2020-11-18','2021-05-01 19:15:17','2021-05-01 19:15:17',NULL),(205,2193,103,57,40723,6133,1,63000.00,0,'2020-11-24','2021-05-01 19:16:22','2021-05-01 19:16:22',NULL),(206,2193,103,757,40723,6133,2,63000.00,0,'2020-11-24','2021-05-01 19:16:22','2021-05-01 19:16:22',NULL),(207,2193,104,57,40723,6133,1,1400.00,0,'2020-11-24','2021-05-01 19:18:04','2021-05-01 19:18:04',NULL),(208,2193,104,757,40723,6133,2,1400.00,0,'2020-11-24','2021-05-01 19:18:04','2021-05-01 19:18:04',NULL),(209,2193,105,57,40723,6133,1,9100.00,0,'2020-11-18','2021-05-01 19:19:01','2021-05-01 19:19:01',NULL),(210,2193,105,757,40723,6133,2,9100.00,0,'2020-11-18','2021-05-01 19:19:01','2021-05-01 19:19:01',NULL),(211,2193,106,57,40723,6133,1,8900.00,0,'2020-11-17','2021-05-01 19:19:55','2021-05-01 19:19:55',NULL),(212,2193,106,757,40723,6133,2,8900.00,0,'2020-11-17','2021-05-01 19:19:55','2021-05-01 19:19:55',NULL),(213,2193,107,57,40723,6133,1,2420.00,0,'2020-11-25','2021-05-01 19:20:52','2021-05-01 19:20:52',NULL),(214,2193,107,758,40723,6133,2,2420.00,0,'2020-11-25','2021-05-01 19:20:52','2021-05-01 19:20:52',NULL),(215,2193,108,57,40723,6133,1,6451.51,0,'2020-11-24','2021-05-01 19:21:51','2021-05-01 19:21:51',NULL),(216,2193,108,761,40723,6133,2,6451.51,0,'2020-11-24','2021-05-01 19:21:51','2021-05-01 19:21:51',NULL),(217,2193,109,57,40723,6133,1,9626.76,0,'2020-11-25','2021-05-01 19:25:02','2021-05-01 19:25:02',NULL),(218,2193,109,359,40723,6133,2,9626.76,0,'2020-11-25','2021-05-01 19:25:02','2021-05-01 19:25:02',NULL),(219,2193,110,57,40723,6134,1,31460.00,0,'2020-12-16','2021-05-01 19:42:48','2021-05-01 19:42:48',NULL),(220,2193,110,758,40723,6134,2,31460.00,0,'2020-12-16','2021-05-01 19:42:48','2021-05-01 19:42:48',NULL),(221,2193,111,57,40723,6134,1,2500.00,0,'2020-12-23','2021-05-01 19:43:54','2021-05-01 19:43:54',NULL),(222,2193,111,758,40723,6134,2,2500.00,0,'2020-12-23','2021-05-01 19:43:54','2021-05-01 19:43:54',NULL),(223,2193,112,57,40723,6134,1,7260.00,0,'2020-12-23','2021-05-01 19:45:03','2021-05-01 19:45:03',NULL),(224,2193,112,758,40723,6134,2,7260.00,0,'2020-12-23','2021-05-01 19:45:03','2021-05-01 19:45:03',NULL),(225,2193,113,57,40723,6134,1,8900.00,0,'2020-12-22','2021-05-01 19:45:44','2021-05-01 19:45:44',NULL),(226,2193,113,757,40723,6134,2,8900.00,0,'2020-12-22','2021-05-01 19:45:44','2021-05-01 19:45:44',NULL),(227,2193,114,57,40723,6134,1,8900.00,0,'2020-12-22','2021-05-01 19:45:45','2021-05-01 19:45:45',NULL),(228,2193,114,757,40723,6134,2,8900.00,0,'2020-12-22','2021-05-01 19:45:45','2021-05-01 19:45:45',NULL),(229,2193,115,57,40723,6134,1,26400.00,0,'2020-12-23','2021-05-01 19:47:09','2021-05-01 19:47:09',NULL),(230,2193,115,757,40723,6134,2,26400.00,0,'2020-12-23','2021-05-01 19:47:09','2021-05-01 19:47:09',NULL),(231,2193,116,57,40723,6134,1,800.00,0,'2020-12-23','2021-05-01 19:48:24','2021-05-01 19:48:24',NULL),(232,2193,116,758,40723,6134,2,800.00,0,'2020-12-23','2021-05-01 19:48:24','2021-05-01 19:48:24',NULL),(233,2193,117,57,40723,6134,1,2000.00,0,'2020-12-23','2021-05-01 19:49:26','2021-05-01 19:49:26',NULL),(234,2193,117,757,40723,6134,2,2000.00,0,'2020-12-23','2021-05-01 19:49:26','2021-05-01 19:49:26',NULL),(235,2193,118,57,40723,6134,1,300.00,0,'2020-12-29','2021-05-01 19:50:21','2021-05-01 19:50:21',NULL),(236,2193,118,757,40723,6134,2,300.00,0,'2020-12-29','2021-05-01 19:50:21','2021-05-01 19:50:21',NULL),(239,2193,120,57,40723,6134,1,4600.00,0,'2020-12-17','2021-05-01 19:52:00','2021-05-01 19:52:00',NULL),(240,2193,120,757,40723,6134,2,4600.00,0,'2020-12-17','2021-05-01 19:52:00','2021-05-01 19:52:00',NULL),(241,2193,121,57,40723,6134,1,2450.00,0,'2020-12-16','2021-05-01 19:52:46','2021-05-01 19:52:46',NULL),(242,2193,121,757,40723,6134,2,2450.00,0,'2020-12-16','2021-05-01 19:52:46','2021-05-01 19:52:46',NULL),(243,2193,122,57,40723,6134,1,3600.00,0,'2020-12-22','2021-05-01 19:53:38','2021-05-01 19:53:38',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (244,2193,122,757,40723,6134,2,3600.00,0,'2020-12-22','2021-05-01 19:53:38','2021-05-01 19:53:38',NULL),(245,2193,123,57,40723,6134,1,2100.00,0,'2020-12-22','2021-05-01 19:54:35','2021-05-01 19:54:35',NULL),(246,2193,123,757,40723,6134,2,2100.00,0,'2020-12-22','2021-05-01 19:54:35','2021-05-01 19:54:35',NULL),(247,2193,124,57,40723,6134,1,5000.00,0,'2020-12-22','2021-05-01 19:55:28','2021-05-01 19:55:28',NULL),(248,2193,124,757,40723,6134,2,5000.00,0,'2020-12-22','2021-05-01 19:55:28','2021-05-01 19:55:28',NULL),(249,2193,125,57,40723,6134,1,6600.00,0,'2020-12-16','2021-05-01 19:56:24','2021-05-01 19:56:24',NULL),(250,2193,125,757,40723,6134,2,6600.00,0,'2020-12-16','2021-05-01 19:56:24','2021-05-01 19:56:24',NULL),(251,2193,126,57,40723,6134,1,8450.00,0,'2020-12-23','2021-05-01 19:58:19','2021-05-01 19:58:19',NULL),(252,2193,126,757,40723,6134,2,8450.00,0,'2020-12-23','2021-05-01 19:58:19','2021-05-01 19:58:19',NULL),(253,2193,127,57,40723,6134,1,2200.00,0,'2020-12-23','2021-05-01 19:59:03','2021-05-01 19:59:03',NULL),(254,2193,127,757,40723,6134,2,2200.00,0,'2020-12-23','2021-05-01 19:59:03','2021-05-01 19:59:03',NULL),(255,2193,128,57,40723,6134,1,7360.00,0,'2020-12-15','2021-05-01 20:00:00','2021-05-01 20:00:00',NULL),(256,2193,128,757,40723,6134,2,7360.00,0,'2020-12-15','2021-05-01 20:00:00','2021-05-01 20:00:00',NULL),(257,2193,129,57,40723,6134,1,4500.00,0,'2020-12-21','2021-05-01 20:00:59','2021-05-01 20:00:59',NULL),(258,2193,129,757,40723,6134,2,4500.00,0,'2020-12-21','2021-05-01 20:00:59','2021-05-01 20:00:59',NULL),(259,2193,130,57,40723,6134,1,350.00,0,'2020-12-22','2021-05-01 20:02:05','2021-05-01 20:02:05',NULL),(260,2193,130,757,40723,6134,2,350.00,0,'2020-12-22','2021-05-01 20:02:05','2021-05-01 20:02:05',NULL),(261,2193,131,57,40723,6134,1,4900.00,0,'2020-12-14','2021-05-01 20:03:26','2021-05-01 20:03:26',NULL),(262,2193,131,758,40723,6134,2,4900.00,0,'2020-12-14','2021-05-01 20:03:26','2021-05-01 20:03:26',NULL),(263,2193,132,57,40723,6134,1,2100.00,0,'2020-12-21','2021-05-01 20:04:23','2021-05-01 20:04:23',NULL),(264,2193,132,757,40723,6134,2,2100.00,0,'2020-12-21','2021-05-01 20:04:23','2021-05-01 20:04:23',NULL),(265,2193,133,57,40723,6134,1,460.00,0,'2020-12-17','2021-05-01 20:05:35','2021-05-01 20:05:35',NULL),(266,2193,133,757,40723,6134,2,460.00,0,'2020-12-17','2021-05-01 20:05:35','2021-05-01 20:05:35',NULL),(267,2193,134,57,40723,6134,1,1800.00,0,'2020-12-17','2021-05-01 20:06:21','2021-05-01 20:06:21',NULL),(268,2193,134,757,40723,6134,2,1800.00,0,'2020-12-17','2021-05-01 20:06:21','2021-05-01 20:06:21',NULL),(269,2193,135,57,40723,6134,1,6000.00,0,'2020-12-23','2021-05-01 20:07:14','2021-05-01 20:07:14',NULL),(270,2193,135,757,40723,6134,2,6000.00,0,'2020-12-23','2021-05-01 20:07:14','2021-05-01 20:07:14',NULL),(271,2193,136,57,40723,6134,1,2000.00,0,'2020-12-22','2021-05-01 20:08:04','2021-05-01 20:08:04',NULL),(272,2193,136,757,40723,6134,2,2000.00,0,'2020-12-22','2021-05-01 20:08:04','2021-05-01 20:08:04',NULL),(273,2193,137,57,40723,6134,1,3000.00,0,'2020-12-22','2021-05-01 20:08:46','2021-05-01 20:08:46',NULL),(274,2193,137,757,40723,6134,2,3000.00,0,'2020-12-22','2021-05-01 20:08:46','2021-05-01 20:08:46',NULL),(275,2193,138,57,40723,6134,1,3750.00,0,'2020-12-22','2021-05-01 20:09:43','2021-05-01 20:09:43',NULL),(276,2193,138,757,40723,6134,2,3750.00,0,'2020-12-22','2021-05-01 20:09:43','2021-05-01 20:09:43',NULL),(277,2193,139,57,40723,6134,1,1500.00,0,'2020-12-22','2021-05-01 20:10:27','2021-05-01 20:10:27',NULL),(278,2193,139,757,40723,6134,2,1500.00,0,'2020-12-22','2021-05-01 20:10:27','2021-05-01 20:10:27',NULL),(279,2193,140,57,40723,6134,1,10120.00,0,'2020-12-22','2021-05-01 20:11:35','2021-05-01 20:11:35',NULL),(280,2193,140,758,40723,6134,2,10120.00,0,'2020-12-22','2021-05-01 20:11:35','2021-05-01 20:11:35',NULL),(281,2193,141,57,40723,6134,1,1250.00,0,'2020-12-22','2021-05-01 20:12:40','2021-05-01 20:12:40',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (282,2193,141,757,40723,6134,2,1250.00,0,'2020-12-22','2021-05-01 20:12:40','2021-05-01 20:12:40',NULL),(283,2193,142,57,40723,6134,1,1000.00,0,'2020-12-28','2021-05-01 20:13:34','2021-05-01 20:13:34',NULL),(284,2193,142,757,40723,6134,2,1000.00,0,'2020-12-28','2021-05-01 20:13:34','2021-05-01 20:13:34',NULL),(285,2193,143,57,40723,6134,1,2800.00,0,'2020-12-22','2021-05-01 20:14:28','2021-05-01 20:14:28',NULL),(286,2193,143,757,40723,6134,2,2800.00,0,'2020-12-22','2021-05-01 20:14:28','2021-05-01 20:14:28',NULL),(287,2193,144,57,40723,6134,1,5400.00,0,'2020-12-28','2021-05-01 20:15:18','2021-05-01 20:15:18',NULL),(288,2193,144,757,40723,6134,2,5400.00,0,'2020-12-28','2021-05-01 20:15:18','2021-05-01 20:15:18',NULL),(289,2193,145,57,40723,6134,1,10150.00,0,'2020-12-16','2021-05-01 20:16:03','2021-05-01 20:16:03',NULL),(290,2193,145,757,40723,6134,2,10150.00,0,'2020-12-16','2021-05-01 20:16:03','2021-05-01 20:16:03',NULL),(291,2193,146,57,40723,6134,1,5000.00,0,'2020-12-17','2021-05-01 20:16:57','2021-05-01 20:16:57',NULL),(292,2193,146,757,40723,6134,2,5000.00,0,'2020-12-17','2021-05-01 20:16:57','2021-05-01 20:16:57',NULL),(293,2193,147,57,40723,6134,1,4750.00,0,'2020-12-16','2021-05-01 20:17:53','2021-05-01 20:17:53',NULL),(294,2193,147,757,40723,6134,2,4750.00,0,'2020-12-16','2021-05-01 20:17:53','2021-05-01 20:17:53',NULL),(295,2193,148,57,40723,6134,1,39760.00,0,'2020-12-21','2021-05-01 20:18:42','2021-05-01 20:18:42',NULL),(296,2193,148,757,40723,6134,2,39760.00,0,'2020-12-21','2021-05-01 20:18:42','2021-05-01 20:18:42',NULL),(297,2193,149,57,40723,6134,1,5249.00,0,'2020-12-22','2021-05-01 20:19:31','2021-05-01 20:19:31',NULL),(298,2193,149,758,40723,6134,2,5249.00,0,'2020-12-22','2021-05-01 20:19:31','2021-05-01 20:19:31',NULL),(299,2193,150,57,40723,6134,1,7000.00,0,'2020-12-23','2021-05-01 20:20:20','2021-05-01 20:20:20',NULL),(300,2193,150,757,40723,6134,2,7000.00,0,'2020-12-23','2021-05-01 20:20:20','2021-05-01 20:20:20',NULL),(301,2193,151,57,40723,6134,1,1500.00,0,'2020-12-16','2021-05-01 20:21:18','2021-05-01 20:21:18',NULL),(302,2193,151,757,40723,6134,2,1500.00,0,'2020-12-16','2021-05-01 20:21:18','2021-05-01 20:21:18',NULL),(303,2193,152,57,40723,6134,1,49980.01,0,'2020-12-29','2021-05-01 20:28:20','2021-05-01 20:28:20',NULL),(304,2193,152,762,40723,6134,2,49980.01,0,'2020-12-29','2021-05-01 20:28:20','2021-05-01 20:28:20',NULL),(305,2193,153,57,40723,6134,1,9626.76,0,'2020-12-23','2021-05-01 20:29:04','2021-05-01 20:29:04',NULL),(306,2193,153,359,40723,6134,2,9626.76,0,'2020-12-23','2021-05-01 20:29:04','2021-05-01 20:29:04',NULL),(309,2193,155,57,40723,6134,1,1800.00,0,'2020-12-23','2021-05-01 20:36:58','2021-05-01 20:36:58',NULL),(310,2193,155,758,40723,6134,2,1800.00,0,'2020-12-23','2021-05-01 20:36:58','2021-05-01 20:36:58',NULL),(311,2193,156,57,40723,6134,1,6013.28,0,'2020-12-29','2021-05-01 20:38:39','2021-05-01 20:38:39',NULL),(312,2193,156,761,40723,6134,2,6013.28,0,'2020-12-29','2021-05-01 20:38:39','2021-05-01 20:38:39',NULL),(313,2193,157,57,40723,6134,1,21424.00,0,'2020-12-30','2021-05-01 20:45:32','2021-05-01 20:45:32',NULL),(314,2193,157,757,40723,6134,2,21424.00,0,'2020-12-30','2021-05-01 20:45:32','2021-05-01 20:45:32',NULL),(319,2193,160,57,40723,6130,1,4544.56,0,'2020-08-18','2021-05-03 08:45:17','2021-05-03 08:45:17',NULL),(320,2193,160,761,40723,6130,2,4544.56,0,'2020-08-18','2021-05-03 08:45:17','2021-05-03 08:45:17',NULL),(323,2193,162,57,40723,6129,1,9626.76,0,'2020-07-22','2021-05-03 08:54:15','2021-05-03 08:54:15',NULL),(324,2193,162,359,40723,6129,2,9626.76,0,'2020-07-22','2021-05-03 08:54:15','2021-05-03 08:54:15',NULL),(325,2193,163,57,40723,6129,1,37560.00,0,'2020-07-22','2021-05-03 09:20:50','2021-05-03 09:20:50',NULL),(326,2193,163,359,40723,6129,2,37560.00,0,'2020-07-22','2021-05-03 09:20:50','2021-05-03 09:20:50',NULL),(329,2193,165,57,40723,6128,1,9000.00,0,'2020-06-25','2021-05-03 09:28:29','2021-05-03 09:28:29',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (330,2193,165,359,40723,6128,2,9000.00,0,'2020-06-25','2021-05-03 09:28:29','2021-05-03 09:28:29',NULL),(331,2193,166,57,40723,6125,1,6000.00,0,'2020-03-10','2021-05-03 09:53:17','2021-05-03 09:53:17',NULL),(332,2193,166,757,40723,6125,2,6000.00,0,'2020-03-10','2021-05-03 09:53:17','2021-05-03 09:53:17',NULL),(333,2193,167,57,40723,6127,1,13038.00,0,'2020-05-19','2021-05-03 10:21:54','2021-05-03 10:21:54',NULL),(334,2193,167,757,40723,6127,2,13038.00,0,'2020-05-19','2021-05-03 10:21:54','2021-05-03 10:21:54',NULL),(335,2193,168,57,40723,6138,1,5000.00,0,'2021-01-14','2021-05-28 09:12:52','2021-05-28 09:12:52',NULL),(336,2193,168,757,40723,6138,2,5000.00,0,'2021-01-14','2021-05-28 09:12:52','2021-05-28 09:12:52',NULL),(337,2193,169,57,40723,6138,1,2000.00,0,'2021-01-14','2021-05-28 09:15:05','2021-05-28 09:15:05',NULL),(338,2193,169,757,40723,6138,2,2000.00,0,'2021-01-14','2021-05-28 09:15:05','2021-05-28 09:15:05',NULL),(339,2193,170,57,40723,6138,1,3000.00,0,'2021-01-14','2021-05-28 09:16:03','2021-05-28 09:16:03',NULL),(340,2193,170,757,40723,6138,2,3000.00,0,'2021-01-14','2021-05-28 09:16:03','2021-05-28 09:16:03',NULL),(341,2193,171,57,40723,6138,1,4400.00,0,'2021-01-14','2021-05-28 09:17:05','2021-05-28 09:17:05',NULL),(342,2193,171,757,40723,6138,2,4400.00,0,'2021-01-14','2021-05-28 09:17:05','2021-05-28 09:17:05',NULL),(343,2193,172,57,40723,6138,1,15600.00,0,'2021-01-14','2021-05-28 09:18:23','2021-05-28 09:18:23',NULL),(344,2193,172,757,40723,6138,2,15600.00,0,'2021-01-14','2021-05-28 09:18:23','2021-05-28 09:18:23',NULL),(345,2193,173,57,40723,6138,1,11000.00,0,'2021-01-14','2021-05-28 09:19:30','2021-05-28 09:19:30',NULL),(346,2193,173,757,40723,6138,2,11000.00,0,'2021-01-14','2021-05-28 09:19:30','2021-05-28 09:19:30',NULL),(347,2193,174,57,40723,6138,1,14000.00,0,'2021-01-14','2021-05-28 09:20:35','2021-05-28 09:20:35',NULL),(348,2193,174,757,40723,6138,2,14000.00,0,'2021-01-14','2021-05-28 09:20:35','2021-05-28 09:20:35',NULL),(349,2193,175,57,40723,6138,1,3200.00,0,'2021-05-28','2021-05-28 09:21:40','2021-05-28 09:21:40',NULL),(350,2193,175,757,40723,6138,2,3200.00,0,'2021-05-28','2021-05-28 09:21:40','2021-05-28 09:21:40',NULL),(351,2193,176,57,40723,6138,1,36560.00,0,'2021-01-21','2021-05-28 09:22:31','2021-05-28 09:22:31',NULL),(352,2193,176,757,40723,6138,2,36560.00,0,'2021-01-21','2021-05-28 09:22:31','2021-05-28 09:22:31',NULL),(353,2193,177,57,40723,6138,1,2100.00,0,'2021-01-21','2021-05-28 09:26:18','2021-05-28 09:26:18',NULL),(354,2193,177,757,40723,6138,2,2100.00,0,'2021-01-21','2021-05-28 09:26:18','2021-05-28 09:26:18',NULL),(355,2193,178,57,40723,6138,1,2400.00,0,'2021-01-21','2021-05-28 09:27:19','2021-05-28 09:27:19',NULL),(356,2193,178,757,40723,6138,2,2400.00,0,'2021-01-21','2021-05-28 09:27:19','2021-05-28 09:27:19',NULL),(357,2193,179,57,40723,6138,1,2400.00,0,'2021-01-25','2021-05-28 09:28:42','2021-05-28 09:28:42',NULL),(358,2193,179,757,40723,6138,2,2400.00,0,'2021-01-25','2021-05-28 09:28:42','2021-05-28 09:28:42',NULL),(359,2193,180,57,40723,6138,1,2300.00,0,'2021-01-25','2021-05-28 09:30:06','2021-05-28 09:30:06',NULL),(360,2193,180,757,40723,6138,2,2300.00,0,'2021-01-25','2021-05-28 09:30:06','2021-05-28 09:30:06',NULL),(361,2193,181,57,40723,6138,1,5060.00,0,'2021-01-25','2021-05-28 09:30:43','2021-05-28 09:30:43',NULL),(362,2193,181,757,40723,6138,2,5060.00,0,'2021-01-25','2021-05-28 09:30:43','2021-05-28 09:30:43',NULL),(363,2193,182,57,40723,6138,1,1600.00,0,'2021-01-21','2021-05-28 09:32:42','2021-05-28 09:32:42',NULL),(364,2193,182,757,40723,6138,2,1600.00,0,'2021-01-21','2021-05-28 09:32:42','2021-05-28 09:32:42',NULL),(365,2193,183,57,40723,6138,1,1000.00,0,'2021-01-21','2021-05-28 09:33:48','2021-05-28 09:33:48',NULL),(366,2193,183,757,40723,6138,2,1000.00,0,'2021-01-21','2021-05-28 09:33:48','2021-05-28 09:33:48',NULL),(367,2193,184,57,40723,6138,1,2250.00,0,'2021-01-21','2021-05-28 09:34:44','2021-05-28 09:34:44',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (368,2193,184,757,40723,6138,2,2250.00,0,'2021-01-21','2021-05-28 09:34:44','2021-05-28 09:34:44',NULL),(369,2193,185,57,40723,6138,1,2000.00,0,'2021-01-21','2021-05-28 09:35:51','2021-05-28 09:35:51',NULL),(370,2193,185,757,40723,6138,2,2000.00,0,'2021-01-21','2021-05-28 09:35:51','2021-05-28 09:35:51',NULL),(371,2193,186,57,40723,6138,1,1400.00,0,'2021-01-21','2021-05-28 09:37:24','2021-05-28 09:37:24',NULL),(372,2193,186,757,40723,6138,2,1400.00,0,'2021-01-21','2021-05-28 09:37:24','2021-05-28 09:37:24',NULL),(373,2193,187,57,40723,6138,1,700.00,0,'2021-01-21','2021-05-28 09:38:09','2021-05-28 09:38:09',NULL),(374,2193,187,757,40723,6138,2,700.00,0,'2021-01-21','2021-05-28 09:38:09','2021-05-28 09:38:09',NULL),(375,2193,188,13,40723,6138,2,2750.00,0,'2021-01-21','2021-05-28 09:39:21','2021-05-28 09:39:21',NULL),(376,2193,188,757,40723,6138,1,2750.00,0,'2021-01-21','2021-05-28 09:39:21','2021-05-28 09:39:21',NULL),(377,2193,189,57,40723,6138,1,3850.00,0,'2021-01-21','2021-05-28 09:47:41','2021-05-28 09:47:41',NULL),(378,2193,189,757,40723,6138,2,3850.00,0,'2021-01-21','2021-05-28 09:47:41','2021-05-28 09:47:41',NULL),(379,2193,190,13,40723,6138,2,5100.00,0,'2021-01-21','2021-05-28 09:53:44','2021-05-28 09:53:44',NULL),(380,2193,190,757,40723,6138,1,5100.00,0,'2021-01-21','2021-05-28 09:53:44','2021-05-28 09:53:44',NULL),(381,2193,191,57,40723,6138,1,2750.00,0,'2021-05-21','2021-05-28 09:54:20','2021-05-28 09:54:20',NULL),(382,2193,191,757,40723,6138,2,2750.00,0,'2021-05-21','2021-05-28 09:54:20','2021-05-28 09:54:20',NULL),(383,2193,192,57,40723,6138,1,1500.00,0,'2021-01-21','2021-05-28 10:00:58','2021-05-28 10:00:58',NULL),(384,2193,192,757,40723,6138,2,1500.00,0,'2021-01-21','2021-05-28 10:00:58','2021-05-28 10:00:58',NULL),(385,2193,193,57,40723,6138,1,1750.00,0,'2021-01-21','2021-05-28 10:02:13','2021-05-28 10:02:13',NULL),(386,2193,193,757,40723,6138,2,1750.00,0,'2021-01-21','2021-05-28 10:02:13','2021-05-28 10:02:13',NULL),(387,2193,194,57,40723,6138,1,2700.00,0,'2021-01-21','2021-05-28 10:03:11','2021-05-28 10:03:11',NULL),(388,2193,194,757,40723,6138,2,2700.00,0,'2021-01-21','2021-05-28 10:03:11','2021-05-28 10:03:11',NULL),(389,2193,195,57,40723,6138,1,3300.00,0,'2021-01-21','2021-05-28 10:03:48','2021-05-28 10:03:48',NULL),(390,2193,195,757,40723,6138,2,3300.00,0,'2021-01-21','2021-05-28 10:03:48','2021-05-28 10:03:48',NULL),(391,2193,196,57,40723,6138,1,1380.00,0,'2021-01-21','2021-05-28 10:04:34','2021-05-28 10:04:34',NULL),(392,2193,196,757,40723,6138,2,1380.00,0,'2021-01-21','2021-05-28 10:04:34','2021-05-28 10:04:34',NULL),(393,2193,197,57,40723,6138,1,1200.00,0,'2021-01-21','2021-05-28 10:05:11','2021-05-28 10:05:11',NULL),(394,2193,197,757,40723,6138,2,1200.00,0,'2021-01-21','2021-05-28 10:05:11','2021-05-28 10:05:11',NULL),(395,2193,198,57,40723,6124,1,2000.00,0,'2021-02-22','2021-05-28 10:07:15','2021-05-28 10:07:15',NULL),(396,2193,198,757,40723,6124,2,2000.00,0,'2021-02-22','2021-05-28 10:07:15','2021-05-28 10:07:15',NULL),(397,2193,199,57,40723,6139,1,600.00,0,'2021-02-19','2021-05-28 10:08:04','2021-05-28 10:08:04',NULL),(398,2193,199,757,40723,6139,2,600.00,0,'2021-02-19','2021-05-28 10:08:04','2021-05-28 10:08:04',NULL),(399,2193,200,57,40723,6139,1,900.00,0,'2021-02-19','2021-05-28 10:09:06','2021-05-28 10:09:06',NULL),(400,2193,200,757,40723,6139,2,900.00,0,'2021-02-19','2021-05-28 10:09:06','2021-05-28 10:09:06',NULL),(403,2193,202,57,40723,6139,1,60630.00,0,'2021-02-19','2021-05-28 10:11:11','2021-05-28 10:11:11',NULL),(404,2193,202,757,40723,6139,2,60630.00,0,'2021-02-19','2021-05-28 10:11:11','2021-05-28 10:11:11',NULL),(405,2193,203,57,40723,6139,1,7000.00,0,'2021-02-19','2021-05-28 10:11:53','2021-05-28 10:11:53',NULL),(406,2193,203,757,40723,6139,2,7000.00,0,'2021-02-19','2021-05-28 10:11:53','2021-05-28 10:11:53',NULL),(407,2193,204,57,40723,6139,1,2300.42,0,'2021-02-19','2021-05-28 10:12:38','2021-05-28 10:12:38',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (408,2193,204,757,40723,6139,2,2300.42,0,'2021-02-19','2021-05-28 10:12:38','2021-05-28 10:12:38',NULL),(409,2193,205,57,40723,6139,1,1800.00,0,'2021-02-19','2021-05-28 10:13:27','2021-05-28 10:13:27',NULL),(410,2193,205,757,40723,6139,2,1800.00,0,'2021-02-19','2021-05-28 10:13:27','2021-05-28 10:13:27',NULL),(411,2193,206,57,40723,6139,1,2250.00,0,'2021-02-19','2021-05-28 10:13:57','2021-05-28 10:13:57',NULL),(412,2193,206,757,40723,6139,2,2250.00,0,'2021-02-19','2021-05-28 10:13:57','2021-05-28 10:13:57',NULL),(413,2193,207,57,40723,6139,1,21400.00,0,'2021-02-19','2021-05-28 10:15:01','2021-05-28 10:15:01',NULL),(414,2193,207,757,40723,6139,2,21400.00,0,'2021-02-19','2021-05-28 10:15:01','2021-05-28 10:15:01',NULL),(415,2193,208,57,40723,6138,1,750.00,0,'2021-02-19','2021-05-28 10:15:40','2021-05-28 10:15:40',NULL),(416,2193,208,757,40723,6138,2,750.00,0,'2021-02-19','2021-05-28 10:15:40','2021-05-28 10:15:40',NULL),(417,2193,209,57,40723,6139,1,3000.00,0,'2021-02-19','2021-05-28 10:16:30','2021-05-28 10:16:30',NULL),(418,2193,209,757,40723,6139,2,3000.00,0,'2021-02-19','2021-05-28 10:16:30','2021-05-28 10:16:30',NULL),(419,2193,210,57,40723,6139,1,1840.00,0,'2021-02-19','2021-05-28 10:17:04','2021-05-28 10:17:04',NULL),(420,2193,210,757,40723,6139,2,1840.00,0,'2021-02-19','2021-05-28 10:17:04','2021-05-28 10:17:04',NULL),(421,2193,211,57,40723,6139,1,2800.00,0,'2021-02-19','2021-05-28 10:18:36','2021-05-28 10:18:36',NULL),(422,2193,211,757,40723,6139,2,2800.00,0,'2021-02-19','2021-05-28 10:18:36','2021-05-28 10:18:36',NULL),(423,2193,212,57,40723,6139,1,1600.00,0,'2021-02-19','2021-05-28 10:19:25','2021-05-28 10:19:25',NULL),(424,2193,212,757,40723,6139,2,1600.00,0,'2021-02-19','2021-05-28 10:19:25','2021-05-28 10:19:25',NULL),(425,2193,213,57,40723,6139,1,2100.00,0,'2021-02-19','2021-05-28 10:19:55','2021-05-28 10:19:55',NULL),(426,2193,213,757,40723,6139,2,2100.00,0,'2021-02-19','2021-05-28 10:19:55','2021-05-28 10:19:55',NULL),(427,2193,214,57,40723,6139,1,800.00,0,'2021-02-19','2021-05-28 10:20:41','2021-05-28 10:20:41',NULL),(428,2193,214,757,40723,6139,2,800.00,0,'2021-02-19','2021-05-28 10:20:41','2021-05-28 10:20:41',NULL),(429,2193,215,57,40723,6139,1,1050.00,0,'2021-02-19','2021-05-28 10:21:13','2021-05-28 10:21:13',NULL),(430,2193,215,757,40723,6139,2,1050.00,0,'2021-02-19','2021-05-28 10:21:13','2021-05-28 10:21:13',NULL),(431,2193,216,57,40723,6139,1,2800.00,0,'2021-02-19','2021-05-28 10:21:51','2021-05-28 10:21:51',NULL),(432,2193,216,757,40723,6139,2,2800.00,0,'2021-02-19','2021-05-28 10:21:51','2021-05-28 10:21:51',NULL),(433,2193,217,57,40723,6139,1,3000.00,0,'2021-02-19','2021-05-28 10:22:23','2021-05-28 10:22:23',NULL),(434,2193,217,757,40723,6139,2,3000.00,0,'2021-02-19','2021-05-28 10:22:23','2021-05-28 10:22:23',NULL),(435,2193,218,57,40723,6139,1,2000.00,0,'2021-02-19','2021-05-28 10:22:57','2021-05-28 10:22:57',NULL),(436,2193,218,757,40723,6139,2,2000.00,0,'2021-02-19','2021-05-28 10:22:57','2021-05-28 10:22:57',NULL),(437,2193,219,57,40723,6139,1,1840.00,0,'2021-02-19','2021-05-28 10:23:44','2021-05-28 10:23:44',NULL),(438,2193,219,757,40723,6139,2,1840.00,0,'2021-02-19','2021-05-28 10:23:44','2021-05-28 10:23:44',NULL),(439,2193,220,57,40723,6139,1,750.00,0,'2021-02-19','2021-05-28 10:24:17','2021-05-28 10:24:17',NULL),(440,2193,220,757,40723,6139,2,750.00,0,'2021-02-19','2021-05-28 10:24:17','2021-05-28 10:24:17',NULL),(441,2193,221,57,40723,6139,1,4200.00,0,'2021-02-19','2021-05-28 10:24:48','2021-05-28 10:24:48',NULL),(442,2193,221,757,40723,6139,2,4200.00,0,'2021-02-19','2021-05-28 10:24:48','2021-05-28 10:24:48',NULL),(443,2193,222,57,40723,6139,1,3000.00,0,'2021-02-19','2021-05-28 10:25:29','2021-05-28 10:25:29',NULL),(444,2193,222,757,40723,6139,2,3000.00,0,'2021-02-19','2021-05-28 10:25:29','2021-05-28 10:25:29',NULL),(445,2193,223,57,40723,6139,1,200.00,0,'2021-02-19','2021-05-28 10:26:52','2021-05-28 10:26:52',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (446,2193,223,757,40723,6139,2,200.00,0,'2021-02-19','2021-05-28 10:26:52','2021-05-28 10:26:52',NULL),(447,2193,224,57,40723,6139,1,1800.00,0,'2021-02-19','2021-05-28 10:27:30','2021-05-28 10:27:30',NULL),(448,2193,224,757,40723,6139,2,1800.00,0,'2021-02-19','2021-05-28 10:27:30','2021-05-28 10:27:30',NULL),(451,2193,226,57,40723,6142,1,6670.00,0,'2021-05-17','2021-07-12 10:24:28','2021-07-12 10:24:28',NULL),(452,2193,226,757,40723,6142,2,6670.00,0,'2021-05-17','2021-07-12 10:24:28','2021-07-12 10:24:28',NULL),(455,2193,228,57,40723,6142,1,4000.00,0,'2021-05-17','2021-07-12 10:31:44','2021-07-12 10:31:44',NULL),(456,2193,228,757,40723,6142,2,4000.00,0,'2021-05-17','2021-07-12 10:31:44','2021-07-12 10:31:44',NULL),(457,2193,229,57,40723,6142,1,2000.00,0,'2021-05-17','2021-07-12 10:32:25','2021-07-12 10:32:25',NULL),(458,2193,229,757,40723,6142,2,2000.00,0,'2021-05-17','2021-07-12 10:32:25','2021-07-12 10:32:25',NULL),(459,2193,230,57,40723,6142,1,5000.00,0,'2021-05-17','2021-07-12 10:33:09','2021-07-12 10:33:09',NULL),(460,2193,230,757,40723,6142,2,5000.00,0,'2021-05-17','2021-07-12 10:33:09','2021-07-12 10:33:09',NULL),(461,2193,231,57,40723,6142,1,2000.00,0,'2021-05-17','2021-07-12 10:33:55','2021-07-12 10:33:55',NULL),(462,2193,231,757,40723,6142,2,2000.00,0,'2021-05-17','2021-07-12 10:33:55','2021-07-12 10:33:55',NULL),(463,2193,232,57,40723,6142,1,2000.00,0,'2021-05-17','2021-07-12 10:34:35','2021-07-12 10:34:35',NULL),(464,2193,232,757,40723,6142,2,2000.00,0,'2021-05-17','2021-07-12 10:34:35','2021-07-12 10:34:35',NULL),(465,2193,233,57,40723,6142,1,3000.00,0,'2021-05-17','2021-07-12 10:35:13','2021-07-12 10:35:13',NULL),(466,2193,233,757,40723,6142,2,3000.00,0,'2021-05-17','2021-07-12 10:35:13','2021-07-12 10:35:13',NULL),(467,2193,234,57,40723,6142,1,9100.00,0,'2021-05-17','2021-07-12 10:36:07','2021-07-12 10:36:07',NULL),(468,2193,234,757,40723,6142,2,9100.00,0,'2021-05-17','2021-07-12 10:36:07','2021-07-12 10:36:07',NULL),(471,2193,236,57,40723,6142,1,23200.00,0,'2021-05-17','2021-07-12 10:38:04','2021-07-12 10:38:04',NULL),(472,2193,236,757,40723,6142,2,4000.00,0,'2021-05-17','2021-07-12 10:38:04','2021-07-12 10:38:04',NULL),(473,2193,236,757,40723,6142,2,19200.00,0,'2021-05-17','2021-07-12 10:38:04','2021-07-12 10:38:04',NULL),(474,2193,237,57,40723,6142,1,7000.00,0,'2021-05-17','2021-07-12 10:39:02','2021-07-12 10:39:02',NULL),(475,2193,237,757,40723,6142,2,7000.00,0,'2021-05-17','2021-07-12 10:39:02','2021-07-12 10:39:02',NULL),(476,2193,238,57,40723,6142,1,1000.00,0,'2021-05-17','2021-07-12 10:41:41','2021-07-12 10:41:41',NULL),(477,2193,238,757,40723,6142,2,1000.00,0,'2021-05-17','2021-07-12 10:41:41','2021-07-12 10:41:41',NULL),(478,2193,239,57,40723,6142,1,1500.00,0,'2021-05-17','2021-07-12 10:42:14','2021-07-12 10:42:14',NULL),(479,2193,239,757,40723,6142,2,1500.00,0,'2021-05-17','2021-07-12 10:42:14','2021-07-12 10:42:14',NULL),(480,2193,240,57,40723,6142,1,3300.00,0,'2021-05-17','2021-07-12 10:42:51','2021-07-12 10:42:51',NULL),(481,2193,240,757,40723,6142,2,3300.00,0,'2021-05-17','2021-07-12 10:42:51','2021-07-12 10:42:51',NULL),(482,2193,241,57,40723,6142,1,1750.00,0,'2021-05-17','2021-07-12 10:43:31','2021-07-12 10:43:31',NULL),(483,2193,241,757,40723,6142,2,1750.00,0,'2021-05-17','2021-07-12 10:43:31','2021-07-12 10:43:31',NULL),(484,2193,242,57,40723,6142,1,1000.00,0,'2021-05-17','2021-07-12 10:44:04','2021-07-12 10:44:04',NULL),(485,2193,242,757,40723,6142,2,1000.00,0,'2021-05-17','2021-07-12 10:44:04','2021-07-12 10:44:04',NULL),(486,2193,243,57,40723,6142,1,1250.00,0,'2021-05-17','2021-07-12 10:44:39','2021-07-12 10:44:39',NULL),(487,2193,243,757,40723,6142,2,1250.00,0,'2021-05-17','2021-07-12 10:44:39','2021-07-12 10:44:39',NULL),(488,2193,244,57,40723,6142,1,3900.00,0,'2021-05-17','2021-07-12 10:45:30','2021-07-12 10:45:30',NULL),(489,2193,244,757,40723,6142,2,3900.00,0,'2021-05-17','2021-07-12 10:45:30','2021-07-12 10:45:30',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (490,2193,245,57,40723,6142,1,900.00,0,'2021-05-17','2021-07-12 10:46:12','2021-07-12 10:46:12',NULL),(491,2193,245,757,40723,6142,2,900.00,0,'2021-05-17','2021-07-12 10:46:12','2021-07-12 10:46:12',NULL),(492,2193,246,57,40723,6142,1,4550.00,0,'2021-05-17','2021-07-12 10:47:26','2021-07-12 10:47:26',NULL),(493,2193,246,757,40723,6142,2,4550.00,0,'2021-05-17','2021-07-12 10:47:26','2021-07-12 10:47:26',NULL),(494,2193,247,57,40723,6142,1,1500.00,0,'2021-05-17','2021-07-12 10:48:18','2021-07-12 10:48:18',NULL),(495,2193,247,757,40723,6142,2,1500.00,0,'2021-05-17','2021-07-12 10:48:18','2021-07-12 10:48:18',NULL),(496,2193,248,57,40723,6142,1,1250.00,0,'2021-05-17','2021-07-12 10:48:48','2021-07-12 10:48:48',NULL),(497,2193,248,757,40723,6142,2,1250.00,0,'2021-05-17','2021-07-12 10:48:48','2021-07-12 10:48:48',NULL),(498,2193,249,57,40723,6142,1,7360.00,0,'2021-05-17','2021-07-12 10:49:20','2021-07-12 10:49:20',NULL),(499,2193,249,757,40723,6142,2,7360.00,0,'2021-05-17','2021-07-12 10:49:20','2021-07-12 10:49:20',NULL),(500,2193,250,57,40723,6142,1,1750.00,0,'2021-05-17','2021-07-12 10:49:57','2021-07-12 10:49:57',NULL),(501,2193,250,757,40723,6142,2,1750.00,0,'2021-05-17','2021-07-12 10:49:57','2021-07-12 10:49:57',NULL),(502,2193,251,57,40723,6142,1,2400.00,0,'2021-05-17','2021-07-12 10:50:29','2021-07-12 10:50:29',NULL),(503,2193,251,757,40723,6142,2,2400.00,0,'2021-05-17','2021-07-12 10:50:29','2021-07-12 10:50:29',NULL),(504,2193,252,57,40723,6142,1,2100.00,0,'2021-05-17','2021-07-12 10:51:09','2021-07-12 10:51:09',NULL),(505,2193,252,757,40723,6142,2,2100.00,0,'2021-05-17','2021-07-12 10:51:09','2021-07-12 10:51:09',NULL),(506,2193,253,57,40723,6142,1,7820.00,0,'2021-05-17','2021-07-12 10:51:45','2021-07-12 10:51:45',NULL),(507,2193,253,757,40723,6142,2,7820.00,0,'2021-05-17','2021-07-12 10:51:45','2021-07-12 10:51:45',NULL),(508,2193,254,57,40723,6142,1,9460.00,0,'2021-05-18','2021-07-12 10:53:10','2021-07-12 10:53:10',NULL),(509,2193,254,757,40723,6142,2,9460.00,0,'2021-05-18','2021-07-12 10:53:10','2021-07-12 10:53:10',NULL),(510,2193,255,57,40723,6142,1,13310.00,0,'2021-05-20','2021-07-12 10:54:08','2021-07-12 10:54:08',NULL),(511,2193,255,757,40723,6142,2,13310.00,0,'2021-05-20','2021-07-12 10:54:08','2021-07-12 10:54:08',NULL),(512,2193,256,57,40723,6142,1,4500.00,0,'2021-05-28','2021-07-12 10:55:06','2021-07-12 10:55:06',NULL),(513,2193,256,757,40723,6142,2,4500.00,0,'2021-05-28','2021-07-12 10:55:06','2021-07-12 10:55:06',NULL),(517,2193,258,13,40723,6142,2,650.00,0,'2021-05-06','2021-07-12 11:05:17','2021-07-12 11:05:17',NULL),(518,2193,258,760,40723,6142,1,650.00,0,'2021-05-06','2021-07-12 11:05:17','2021-07-12 11:05:17',NULL),(519,2193,259,13,40723,6142,2,650.00,0,'2021-05-13','2021-07-12 11:06:05','2021-07-12 11:06:05',NULL),(520,2193,259,760,40723,6142,1,650.00,0,'2021-05-13','2021-07-12 11:06:05','2021-07-12 11:06:05',NULL),(521,2193,260,13,40723,6142,2,400.00,0,'2021-05-06','2021-07-12 11:07:11','2021-07-12 11:07:11',NULL),(522,2193,260,760,40723,6142,1,400.00,0,'2021-05-06','2021-07-12 11:07:11','2021-07-12 11:07:11',NULL),(523,2193,261,57,40723,6144,1,3500.00,0,'2021-07-06','2021-08-12 09:31:40','2021-08-12 09:31:40',NULL),(524,2193,261,757,40723,6144,2,3500.00,0,'2021-07-06','2021-08-12 09:31:40','2021-08-12 09:31:40',NULL),(525,2193,262,57,40723,6144,1,3000.00,0,'2021-07-06','2021-08-12 09:32:23','2021-08-12 09:32:23',NULL),(526,2193,262,757,40723,6144,2,3000.00,0,'2021-07-06','2021-08-12 09:32:23','2021-08-12 09:32:23',NULL),(529,2193,264,57,40723,6144,1,1500.00,0,'2021-07-06','2021-08-12 09:34:29','2021-08-12 09:34:29',NULL),(530,2193,264,757,40723,6144,2,1500.00,0,'2021-07-06','2021-08-12 09:34:29','2021-08-12 09:34:29',NULL),(531,2193,265,57,40723,6144,1,5000.00,0,'2021-07-06','2021-08-12 09:35:16','2021-08-12 09:35:16',NULL),(532,2193,265,757,40723,6144,2,5000.00,0,'2021-07-06','2021-08-12 09:35:16','2021-08-12 09:35:16',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (533,2193,266,57,40723,6144,1,12500.00,0,'2021-07-06','2021-08-12 09:36:03','2021-08-12 09:36:03',NULL),(534,2193,266,757,40723,6144,2,8000.00,0,'2021-07-06','2021-08-12 09:36:03','2021-08-12 09:36:03',NULL),(535,2193,266,757,40723,6144,2,4500.00,0,'2021-07-06','2021-08-12 09:36:03','2021-08-12 09:36:03',NULL),(536,2193,267,57,40723,6144,1,15160.00,0,'2021-07-06','2021-08-12 09:37:12','2021-08-12 09:37:12',NULL),(537,2193,267,757,40723,6144,2,2000.00,0,'2021-07-06','2021-08-12 09:37:12','2021-08-12 09:37:12',NULL),(538,2193,267,757,40723,6144,2,13160.00,0,'2021-07-06','2021-08-12 09:37:12','2021-08-12 09:37:12',NULL),(539,2193,268,57,40723,6144,1,11550.00,0,'2021-07-06','2021-08-12 09:38:05','2021-08-12 09:38:05',NULL),(540,2193,268,757,40723,6144,2,11550.00,0,'2021-07-06','2021-08-12 09:38:05','2021-08-12 09:38:05',NULL),(541,2193,269,57,40723,6144,1,12000.00,0,'2021-07-06','2021-08-12 09:38:54','2021-08-12 09:38:54',NULL),(542,2193,269,757,40723,6144,2,12000.00,0,'2021-07-06','2021-08-12 09:38:54','2021-08-12 09:38:54',NULL),(543,2193,270,57,40723,6144,1,880.00,0,'2021-07-06','2021-08-12 09:41:51','2021-08-12 09:41:51',NULL),(544,2193,270,757,40723,6144,2,880.00,0,'2021-07-06','2021-08-12 09:41:51','2021-08-12 09:41:51',NULL),(545,2193,271,57,40723,6144,1,660.00,0,'2021-07-06','2021-08-12 09:42:29','2021-08-12 09:42:29',NULL),(546,2193,271,757,40723,6144,2,660.00,0,'2021-07-06','2021-08-12 09:42:29','2021-08-12 09:42:29',NULL),(547,2193,272,57,40723,6144,1,2340.00,0,'2021-07-06','2021-08-12 09:43:09','2021-08-12 09:43:09',NULL),(548,2193,272,757,40723,6144,2,2340.00,0,'2021-07-06','2021-08-12 09:43:09','2021-08-12 09:43:09',NULL),(549,2193,273,57,40723,6144,1,3570.00,0,'2021-07-06','2021-08-12 09:43:45','2021-08-12 09:43:45',NULL),(550,2193,273,757,40723,6144,2,3570.00,0,'2021-07-06','2021-08-12 09:43:45','2021-08-12 09:43:45',NULL),(551,2193,274,57,40723,6144,1,880.00,0,'2021-07-06','2021-08-12 09:44:23','2021-08-12 09:44:23',NULL),(552,2193,274,757,40723,6144,2,880.00,0,'2021-07-06','2021-08-12 09:44:23','2021-08-12 09:44:23',NULL),(553,2193,275,57,40723,6144,1,825.00,0,'2021-07-06','2021-08-12 09:44:52','2021-08-12 09:44:52',NULL),(554,2193,275,757,40723,6144,2,825.00,0,'2021-07-06','2021-08-12 09:44:52','2021-08-12 09:44:52',NULL),(555,2193,276,57,40723,6144,1,3960.00,0,'2021-07-06','2021-08-12 09:45:25','2021-08-12 09:45:25',NULL),(556,2193,276,757,40723,6144,2,3960.00,0,'2021-07-06','2021-08-12 09:45:25','2021-08-12 09:45:25',NULL),(557,2193,277,57,40723,6144,1,3520.00,0,'2021-07-06','2021-08-12 09:46:38','2021-08-12 09:46:38',NULL),(558,2193,277,757,40723,6144,2,3520.00,0,'2021-07-06','2021-08-12 09:46:38','2021-08-12 09:46:38',NULL),(559,2193,278,57,40723,6144,1,3025.00,0,'2021-07-06','2021-08-12 09:48:04','2021-08-12 09:48:04',NULL),(560,2193,278,757,40723,6144,2,3025.00,0,'2021-07-06','2021-08-12 09:48:04','2021-08-12 09:48:04',NULL),(561,2193,279,57,40723,6144,1,3960.00,0,'2021-07-06','2021-08-12 09:48:33','2021-08-12 09:48:33',NULL),(562,2193,279,757,40723,6144,2,3960.00,0,'2021-07-06','2021-08-12 09:48:33','2021-08-12 09:48:33',NULL),(563,2193,280,57,40723,6144,1,3300.00,0,'2021-07-06','2021-08-12 09:49:03','2021-08-12 09:49:03',NULL),(564,2193,280,757,40723,6144,2,3300.00,0,'2021-07-06','2021-08-12 09:49:03','2021-08-12 09:49:03',NULL),(565,2193,281,57,40723,6144,1,2970.00,0,'2021-07-06','2021-08-12 09:49:36','2021-08-12 09:49:36',NULL),(566,2193,281,757,40723,6144,2,2970.00,0,'2021-07-06','2021-08-12 09:49:36','2021-08-12 09:49:36',NULL),(567,2193,282,57,40723,6144,1,7800.00,0,'2021-07-06','2021-08-12 09:50:15','2021-08-12 09:50:15',NULL),(568,2193,282,757,40723,6144,2,7800.00,0,'2021-07-06','2021-08-12 09:50:15','2021-08-12 09:50:15',NULL),(569,2193,283,57,40723,6144,1,2310.00,0,'2021-07-06','2021-08-12 09:50:43','2021-08-12 09:50:43',NULL),(570,2193,283,757,40723,6144,2,2310.00,0,'2021-07-06','2021-08-12 09:50:43','2021-08-12 09:50:43',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (571,2193,284,57,40723,6144,1,2200.00,0,'2021-07-06','2021-08-12 09:51:26','2021-08-12 09:51:26',NULL),(572,2193,284,757,40723,6144,2,2200.00,0,'2021-07-06','2021-08-12 09:51:26','2021-08-12 09:51:26',NULL),(573,2193,285,57,40723,6144,1,2200.00,0,'2021-07-06','2021-08-12 09:52:13','2021-08-12 09:52:13',NULL),(574,2193,285,757,40723,6144,2,2200.00,0,'2021-07-06','2021-08-12 09:52:13','2021-08-12 09:52:13',NULL),(575,2193,286,57,40723,6144,1,2640.00,0,'2021-07-06','2021-08-12 09:53:13','2021-08-12 09:53:13',NULL),(576,2193,286,757,40723,6144,2,2640.00,0,'2021-07-06','2021-08-12 09:53:13','2021-08-12 09:53:13',NULL),(577,2193,287,57,40723,6144,1,6375.00,0,'2021-07-06','2021-08-12 09:53:42','2021-08-12 09:53:42',NULL),(578,2193,287,757,40723,6144,2,6375.00,0,'2021-07-06','2021-08-12 09:53:42','2021-08-12 09:53:42',NULL),(579,2193,288,57,40723,6144,1,2750.00,0,'2021-07-06','2021-08-12 09:54:14','2021-08-12 09:54:14',NULL),(580,2193,288,757,40723,6144,2,2750.00,0,'2021-07-06','2021-08-12 09:54:14','2021-08-12 09:54:14',NULL),(581,2193,289,57,40723,6144,1,3960.00,0,'2021-07-06','2021-08-12 09:55:14','2021-08-12 09:55:14',NULL),(582,2193,289,757,40723,6144,2,3960.00,0,'2021-07-06','2021-08-12 09:55:14','2021-08-12 09:55:14',NULL),(583,2193,290,57,40723,6144,1,8415.00,0,'2021-07-06','2021-08-12 09:55:45','2021-08-12 09:55:45',NULL),(584,2193,290,757,40723,6144,2,8415.00,0,'2021-07-06','2021-08-12 09:55:45','2021-08-12 09:55:45',NULL),(585,2193,291,57,40723,6144,1,2295.00,0,'2021-07-06','2021-08-12 09:56:23','2021-08-12 09:56:23',NULL),(586,2193,291,757,40723,6144,2,2295.00,0,'2021-07-06','2021-08-12 09:56:23','2021-08-12 09:56:23',NULL),(587,2193,292,57,40723,6144,1,10390.00,0,'2021-07-06','2021-08-12 09:56:57','2021-08-12 09:56:57',NULL),(588,2193,292,757,40723,6144,2,10390.00,0,'2021-07-06','2021-08-12 09:56:57','2021-08-12 09:56:57',NULL),(591,2193,294,57,40723,6143,1,1000.00,0,'2021-06-10','2021-08-16 17:40:47','2021-08-16 17:40:47',NULL),(592,2193,294,760,40723,6143,2,1000.00,0,'2021-06-10','2021-08-16 17:40:47','2021-08-16 17:40:47',NULL),(593,2193,295,13,40723,6143,2,1950.00,0,'2021-06-10','2021-08-16 17:41:54','2021-08-16 17:41:54',NULL),(594,2193,295,760,40723,6143,1,650.00,0,'2021-06-10','2021-08-16 17:41:54','2021-08-16 17:41:54',NULL),(595,2193,295,760,40723,6143,1,650.00,0,'2021-06-10','2021-08-16 17:41:54','2021-08-16 17:41:54',NULL),(596,2193,295,760,40723,6143,1,650.00,0,'2021-06-10','2021-08-16 17:41:54','2021-08-16 17:41:54',NULL),(597,2193,296,57,40723,6143,1,880.00,0,'2021-06-15','2021-08-16 17:44:05','2021-08-16 17:44:05',NULL),(598,2193,296,757,40723,6143,2,880.00,0,'2021-06-15','2021-08-16 17:44:05','2021-08-16 17:44:05',NULL),(599,2193,297,57,40723,6143,1,1100.00,0,'2021-06-15','2021-08-16 17:45:13','2021-08-16 17:45:13',NULL),(600,2193,297,757,40723,6143,2,1100.00,0,'2021-06-15','2021-08-16 17:45:13','2021-08-16 17:45:13',NULL),(601,2193,298,13,40723,6143,2,2640.00,0,'2021-06-15','2021-08-16 17:46:25','2021-08-16 17:46:25',NULL),(602,2193,298,757,40723,6143,1,2640.00,0,'2021-06-15','2021-08-16 17:46:25','2021-08-16 17:46:25',NULL),(603,2193,299,57,40723,6143,1,3120.00,0,'2021-06-15','2021-08-16 17:47:36','2021-08-16 17:47:36',NULL),(604,2193,299,757,40723,6143,2,3120.00,0,'2021-06-15','2021-08-16 17:47:36','2021-08-16 17:47:36',NULL),(605,2193,300,57,40723,6143,1,1375.00,0,'2021-06-15','2021-08-16 17:48:48','2021-08-16 17:48:48',NULL),(606,2193,300,757,40723,6143,2,1375.00,0,'2021-06-15','2021-08-16 17:48:48','2021-08-16 17:48:48',NULL),(607,2193,301,57,40723,6143,1,3960.00,0,'2021-06-15','2021-08-16 17:50:03','2021-08-16 17:50:03',NULL),(608,2193,301,757,40723,6143,2,3960.00,0,'2021-06-15','2021-08-16 17:50:03','2021-08-16 17:50:03',NULL),(609,2193,302,57,40723,6143,1,2640.00,0,'2021-06-15','2021-08-16 17:51:20','2021-08-16 17:51:20',NULL),(610,2193,302,757,40723,6143,2,2640.00,0,'2021-06-15','2021-08-16 17:51:20','2021-08-16 17:51:20',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (611,2193,303,57,40723,6143,1,2750.00,0,'2021-06-15','2021-08-16 17:52:20','2021-08-16 17:52:20',NULL),(612,2193,303,757,40723,6143,2,2750.00,0,'2021-06-15','2021-08-16 17:52:20','2021-08-16 17:52:20',NULL),(613,2193,304,57,40723,6143,1,3960.00,0,'2021-06-15','2021-08-16 17:53:15','2021-08-16 17:53:15',NULL),(614,2193,304,757,40723,6143,2,3960.00,0,'2021-06-15','2021-08-16 17:53:15','2021-08-16 17:53:15',NULL),(615,2193,305,57,40723,6143,1,4620.00,0,'2021-06-15','2021-08-16 17:54:14','2021-08-16 17:54:14',NULL),(616,2193,305,757,40723,6143,2,4620.00,0,'2021-06-15','2021-08-16 17:54:14','2021-08-16 17:54:14',NULL),(617,2193,306,57,40723,6143,1,5280.00,0,'2021-06-15','2021-08-16 17:54:53','2021-08-16 17:54:53',NULL),(618,2193,306,757,40723,6143,2,5280.00,0,'2021-06-15','2021-08-16 17:54:53','2021-08-16 17:54:53',NULL),(619,2193,307,57,40723,6143,1,7240.00,0,'2021-06-15','2021-08-16 17:55:52','2021-08-16 17:55:52',NULL),(620,2193,307,757,40723,6143,2,6240.00,0,'2021-06-15','2021-08-16 17:55:52','2021-08-16 17:55:52',NULL),(621,2193,307,757,40723,6143,2,1000.00,0,'2021-06-15','2021-08-16 17:55:52','2021-08-16 17:55:52',NULL),(622,2193,308,57,40723,6143,1,2640.00,0,'2021-06-15','2021-08-16 17:56:44','2021-08-16 17:56:44',NULL),(624,2193,308,757,40723,6143,2,2640.00,0,'2021-06-15','2021-08-16 17:56:44','2021-08-16 17:56:44',NULL),(626,2193,310,57,40723,6143,1,3575.00,0,'2021-06-15','2021-08-16 17:57:44','2021-08-16 17:57:44',NULL),(627,2193,310,757,40723,6143,2,3575.00,0,'2021-06-15','2021-08-16 17:57:44','2021-08-16 17:57:44',NULL),(628,2193,311,57,40723,6143,1,2200.00,0,'2021-06-15','2021-08-16 17:59:26','2021-08-16 17:59:26',NULL),(629,2193,311,757,40723,6143,2,2200.00,0,'2021-06-15','2021-08-16 17:59:26','2021-08-16 17:59:26',NULL),(630,2193,312,57,40723,6143,1,5070.00,0,'2021-06-15','2021-08-16 18:01:20','2021-08-16 18:01:20',NULL),(631,2193,312,757,40723,6143,2,5070.00,0,'2021-06-15','2021-08-16 18:01:20','2021-08-16 18:01:20',NULL),(632,2193,313,57,40723,6143,1,550.00,0,'2021-06-15','2021-08-16 18:02:06','2021-08-16 18:02:06',NULL),(633,2193,313,757,40723,6143,2,550.00,0,'2021-06-15','2021-08-16 18:02:06','2021-08-16 18:02:06',NULL),(634,2193,314,57,40723,6143,1,2640.00,0,'2021-06-15','2021-08-16 18:02:48','2021-08-16 18:02:48',NULL),(635,2193,314,757,40723,6143,2,2640.00,0,'2021-06-15','2021-08-16 18:02:48','2021-08-16 18:02:48',NULL),(636,2193,315,57,40723,6143,1,10660.00,0,'2021-06-15','2021-08-16 18:04:01','2021-08-16 18:04:01',NULL),(637,2193,315,757,40723,6143,2,8160.00,0,'2021-06-15','2021-08-16 18:04:01','2021-08-16 18:04:01',NULL),(638,2193,315,757,40723,6143,2,2500.00,0,'2021-06-15','2021-08-16 18:04:01','2021-08-16 18:04:01',NULL),(639,2193,316,57,40723,6143,1,2200.00,0,'2021-06-15','2021-08-16 18:04:44','2021-08-16 18:04:44',NULL),(640,2193,316,757,40723,6143,2,2200.00,0,'2021-06-15','2021-08-16 18:04:44','2021-08-16 18:04:44',NULL),(641,2193,317,13,40723,6143,2,25710.00,0,'2021-06-15','2021-08-16 18:05:55','2021-08-16 18:05:55',NULL),(642,2193,317,757,40723,6143,1,3510.00,0,'2021-06-15','2021-08-16 18:05:55','2021-08-16 18:05:55',NULL),(643,2193,317,757,40723,6143,1,4200.00,0,'2021-06-15','2021-08-16 18:05:55','2021-08-16 18:05:55',NULL),(644,2193,317,757,40723,6143,1,14000.00,0,'2021-06-15','2021-08-16 18:05:55','2021-08-16 18:05:55',NULL),(645,2193,317,757,40723,6143,1,4000.00,0,'2021-06-15','2021-08-16 18:05:55','2021-08-16 18:05:55',NULL),(646,2193,318,57,40723,6143,1,660.00,0,'2021-06-15','2021-08-16 18:06:43','2021-08-16 18:06:43',NULL),(647,2193,318,757,40723,6143,2,660.00,0,'2021-06-15','2021-08-16 18:06:43','2021-08-16 18:06:43',NULL),(648,2193,319,57,40723,6143,1,1560.00,0,'2021-06-15','2021-08-16 18:07:31','2021-08-16 18:07:31',NULL),(649,2193,319,757,40723,6143,2,1560.00,0,'2021-06-15','2021-08-16 18:07:31','2021-08-16 18:07:31',NULL),(650,2193,320,57,40723,6143,1,7140.00,0,'2021-06-15','2021-08-16 18:08:06','2021-08-16 18:08:06',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (651,2193,320,757,40723,6143,2,7140.00,0,'2021-06-15','2021-08-16 18:08:06','2021-08-16 18:08:06',NULL),(652,2193,321,57,40723,6143,1,5980.00,0,'2021-06-15','2021-08-16 18:08:40','2021-08-16 18:08:40',NULL),(653,2193,321,757,40723,6143,2,2530.00,0,'2021-06-15','2021-08-16 18:08:40','2021-08-16 18:08:40',NULL),(654,2193,321,757,40723,6143,2,3450.00,0,'2021-06-15','2021-08-16 18:08:40','2021-08-16 18:08:40',NULL),(655,2193,322,57,40723,6143,1,10400.00,0,'2021-06-15','2021-08-16 18:09:34','2021-08-16 18:09:34',NULL),(656,2193,322,757,40723,6143,2,2000.00,0,'2021-06-15','2021-08-16 18:09:34','2021-08-16 18:09:34',NULL),(657,2193,322,757,40723,6143,2,8400.00,0,'2021-06-15','2021-08-16 18:09:34','2021-08-16 18:09:34',NULL),(658,2193,323,57,40723,6143,1,7000.00,0,'2021-06-15','2021-08-16 18:11:06','2021-08-16 18:11:06',NULL),(659,2193,323,757,40723,6143,2,5000.00,0,'2021-06-15','2021-08-16 18:11:06','2021-08-16 18:11:06',NULL),(660,2193,323,757,40723,6143,2,2000.00,0,'2021-06-15','2021-08-16 18:11:06','2021-08-16 18:11:06',NULL),(661,2193,324,57,40723,6143,1,2000.00,0,'2021-06-15','2021-08-16 18:11:35','2021-08-16 18:11:35',NULL),(662,2193,324,757,40723,6143,2,2000.00,0,'2021-06-15','2021-08-16 18:11:35','2021-08-16 18:11:35',NULL),(663,2193,325,57,40723,6143,1,3000.00,0,'2021-06-15','2021-08-16 18:12:16','2021-08-16 18:12:16',NULL),(664,2193,325,757,40723,6143,2,3000.00,0,'2021-06-15','2021-08-16 18:12:16','2021-08-16 18:12:16',NULL),(665,2193,326,57,40723,6143,1,6000.00,0,'2021-06-15','2021-08-16 18:12:53','2021-08-16 18:12:53',NULL),(666,2193,326,757,40723,6143,2,6000.00,0,'2021-06-15','2021-08-16 18:12:53','2021-08-16 18:12:53',NULL),(667,2193,327,57,40723,6141,1,1000.00,0,'2021-04-20','2021-08-16 23:35:04','2021-08-16 23:35:04',NULL),(668,2193,327,757,40723,6141,2,1000.00,0,'2021-04-20','2021-08-16 23:35:04','2021-08-16 23:35:04',NULL),(669,2193,328,57,40723,6141,1,1200.00,0,'2021-04-20','2021-08-16 23:36:42','2021-08-16 23:36:42',NULL),(670,2193,328,757,40723,6141,2,1200.00,0,'2021-04-20','2021-08-16 23:36:42','2021-08-16 23:36:42',NULL),(671,2193,329,57,40723,6141,1,1050.00,0,'2021-04-20','2021-08-16 23:38:30','2021-08-16 23:38:30',NULL),(672,2193,329,757,40723,6141,2,1050.00,0,'2021-04-20','2021-08-16 23:38:30','2021-08-16 23:38:30',NULL),(673,2193,330,57,40723,6141,1,3220.00,0,'2021-04-20','2021-08-16 23:39:11','2021-08-16 23:39:11',NULL),(674,2193,330,757,40723,6141,2,3220.00,0,'2021-04-20','2021-08-16 23:39:11','2021-08-16 23:39:11',NULL),(675,2193,331,57,40723,6141,1,700.00,0,'2021-04-20','2021-08-16 23:39:58','2021-08-16 23:39:58',NULL),(676,2193,331,757,40723,6141,2,700.00,0,'2021-04-20','2021-08-16 23:39:58','2021-08-16 23:39:58',NULL),(677,2193,332,57,40723,6141,1,3000.00,0,'2021-04-20','2021-08-16 23:40:54','2021-08-16 23:40:54',NULL),(678,2193,332,757,40723,6141,2,3000.00,0,'2021-04-20','2021-08-16 23:40:54','2021-08-16 23:40:54',NULL),(679,2193,333,57,40723,6141,1,2400.00,0,'2021-04-20','2021-08-16 23:41:54','2021-08-16 23:41:54',NULL),(680,2193,333,757,40723,6141,2,2400.00,0,'2021-04-20','2021-08-16 23:41:54','2021-08-16 23:41:54',NULL),(681,2193,334,57,40723,6141,1,1000.00,0,'2021-04-20','2021-08-16 23:42:36','2021-08-16 23:42:36',NULL),(682,2193,334,757,40723,6141,2,1000.00,0,'2021-04-20','2021-08-16 23:42:36','2021-08-16 23:42:36',NULL),(683,2193,335,57,40723,6141,1,2700.00,0,'2021-04-20','2021-08-16 23:43:22','2021-08-16 23:43:22',NULL),(684,2193,335,757,40723,6141,2,2700.00,0,'2021-04-20','2021-08-16 23:43:22','2021-08-16 23:43:22',NULL),(685,2193,336,57,40723,6141,1,2700.00,0,'2021-04-20','2021-08-16 23:44:03','2021-08-16 23:44:03',NULL),(686,2193,336,757,40723,6141,2,2700.00,0,'2021-04-20','2021-08-16 23:44:03','2021-08-16 23:44:03',NULL),(687,2193,337,57,40723,6141,1,3500.00,0,'2021-04-20','2021-08-16 23:44:47','2021-08-16 23:44:47',NULL),(688,2193,337,757,40723,6141,2,3500.00,0,'2021-04-20','2021-08-16 23:44:47','2021-08-16 23:44:47',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (689,2193,338,13,40723,6141,2,600.00,0,'2021-04-20','2021-08-16 23:47:16','2021-08-16 23:47:16',NULL),(690,2193,338,757,40723,6141,1,600.00,0,'2021-04-20','2021-08-16 23:47:16','2021-08-16 23:47:16',NULL),(691,2193,339,57,40723,6141,1,900.00,0,'2021-04-20','2021-08-16 23:48:13','2021-08-16 23:48:13',NULL),(692,2193,339,757,40723,6141,2,900.00,0,'2021-04-20','2021-08-16 23:48:13','2021-08-16 23:48:13',NULL),(693,2193,340,57,40723,6141,1,1400.00,0,'2021-04-20','2021-08-16 23:48:52','2021-08-16 23:48:52',NULL),(694,2193,340,757,40723,6141,2,1400.00,0,'2021-04-20','2021-08-16 23:48:52','2021-08-16 23:48:52',NULL),(695,2193,341,57,40723,6141,1,1000.00,0,'2021-04-20','2021-08-16 23:49:27','2021-08-16 23:49:27',NULL),(696,2193,341,757,40723,6141,2,1000.00,0,'2021-04-20','2021-08-16 23:49:27','2021-08-16 23:49:27',NULL),(697,2193,342,57,40723,6141,1,750.00,0,'2021-04-20','2021-08-16 23:50:05','2021-08-16 23:50:05',NULL),(698,2193,342,757,40723,6141,2,750.00,0,'2021-04-20','2021-08-16 23:50:05','2021-08-16 23:50:05',NULL),(699,2193,343,57,40723,6141,1,900.00,0,'2021-04-20','2021-08-16 23:50:44','2021-08-16 23:50:44',NULL),(700,2193,343,757,40723,6141,2,900.00,0,'2021-04-20','2021-08-16 23:50:44','2021-08-16 23:50:44',NULL),(701,2193,344,57,40723,6141,1,6900.00,0,'2021-04-20','2021-08-16 23:51:27','2021-08-16 23:51:27',NULL),(702,2193,344,757,40723,6141,2,6900.00,0,'2021-04-20','2021-08-16 23:51:27','2021-08-16 23:51:27',NULL),(703,2193,345,57,40723,6141,1,1500.00,0,'2021-04-20','2021-08-16 23:52:04','2021-08-16 23:52:04',NULL),(704,2193,345,757,40723,6141,2,1500.00,0,'2021-04-20','2021-08-16 23:52:04','2021-08-16 23:52:04',NULL),(705,2193,346,57,40723,6141,1,1800.00,0,'2021-04-20','2021-08-16 23:52:58','2021-08-16 23:52:58',NULL),(706,2193,346,757,40723,6141,2,1800.00,0,'2021-04-20','2021-08-16 23:52:58','2021-08-16 23:52:58',NULL),(707,2193,347,57,40723,6141,1,1400.00,0,'2021-04-20','2021-08-16 23:53:33','2021-08-16 23:53:33',NULL),(708,2193,347,757,40723,6141,2,1400.00,0,'2021-04-20','2021-08-16 23:53:33','2021-08-16 23:53:33',NULL),(709,2193,348,57,40723,6141,1,3220.00,0,'2021-04-20','2021-08-16 23:54:15','2021-08-16 23:54:15',NULL),(710,2193,348,757,40723,6141,2,3220.00,0,'2021-04-20','2021-08-16 23:54:15','2021-08-16 23:54:15',NULL),(711,2193,349,57,40723,6141,1,1380.00,0,'2021-04-20','2021-08-16 23:55:04','2021-08-16 23:55:04',NULL),(712,2193,349,757,40723,6141,2,1380.00,0,'2021-04-20','2021-08-16 23:55:04','2021-08-16 23:55:04',NULL),(713,2193,350,57,40723,6141,1,1500.00,0,'2021-04-20','2021-08-16 23:55:44','2021-08-16 23:55:44',NULL),(714,2193,350,757,40723,6141,2,1500.00,0,'2021-04-20','2021-08-16 23:55:44','2021-08-16 23:55:44',NULL),(715,2193,351,57,40723,6141,1,2000.00,0,'2021-04-20','2021-08-16 23:57:17','2021-08-16 23:57:17',NULL),(716,2193,351,757,40723,6141,2,2000.00,0,'2021-04-20','2021-08-16 23:57:17','2021-08-16 23:57:17',NULL),(717,2193,352,57,40723,6141,1,5000.00,0,'2021-04-20','2021-08-16 23:58:17','2021-08-16 23:58:17',NULL),(718,2193,352,757,40723,6141,2,5000.00,0,'2021-04-20','2021-08-16 23:58:17','2021-08-16 23:58:17',NULL),(719,2193,353,57,40723,6141,1,2000.00,0,'2021-04-20','2021-08-16 23:59:02','2021-08-16 23:59:02',NULL),(720,2193,353,757,40723,6141,2,2000.00,0,'2021-04-20','2021-08-16 23:59:02','2021-08-16 23:59:02',NULL),(721,2193,354,57,40723,6141,1,2000.00,0,'2021-04-20','2021-08-16 23:59:52','2021-08-16 23:59:52',NULL),(722,2193,354,757,40723,6141,2,2000.00,0,'2021-04-20','2021-08-16 23:59:52','2021-08-16 23:59:52',NULL),(723,2193,355,57,40723,6141,1,3000.00,0,'2021-04-20','2021-08-17 00:00:36','2021-08-17 00:00:36',NULL),(724,2193,355,757,40723,6141,2,3000.00,0,'2021-04-20','2021-08-17 00:00:36','2021-08-17 00:00:36',NULL),(725,2193,356,57,40723,6141,1,11550.00,0,'2021-04-19','2021-08-17 00:01:24','2021-08-17 00:01:24',NULL),(726,2193,356,757,40723,6141,2,11550.00,0,'2021-04-19','2021-08-17 00:01:24','2021-08-17 00:01:24',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (727,2193,357,57,40723,6141,1,6000.00,0,'2021-04-19','2021-08-17 00:02:10','2021-08-17 00:02:10',NULL),(728,2193,357,757,40723,6141,2,6000.00,0,'2021-04-19','2021-08-17 00:02:10','2021-08-17 00:02:10',NULL),(729,2193,358,57,40723,6141,1,22800.00,0,'2021-04-19','2021-08-17 00:02:58','2021-08-17 00:02:58',NULL),(730,2193,358,757,40723,6141,2,22800.00,0,'2021-04-19','2021-08-17 00:02:58','2021-08-17 00:02:58',NULL),(731,2193,359,57,40723,6141,1,6000.00,0,'2021-04-19','2021-08-17 00:04:03','2021-08-17 00:04:03',NULL),(732,2193,359,757,40723,6141,2,6000.00,0,'2021-04-19','2021-08-17 00:04:03','2021-08-17 00:04:03',NULL),(733,2193,360,57,40723,6141,1,39800.00,0,'2021-04-19','2021-08-17 00:05:26','2021-08-17 00:05:26',NULL),(734,2193,360,757,40723,6141,2,39800.00,0,'2021-04-19','2021-08-17 00:05:26','2021-08-17 00:05:26',NULL),(735,2193,361,57,40723,6141,1,1400.00,0,'2021-04-19','2021-08-17 00:06:49','2021-08-17 00:06:49',NULL),(736,2193,361,757,40723,6141,2,1400.00,0,'2021-04-19','2021-08-17 00:06:49','2021-08-17 00:06:49',NULL),(737,2193,362,57,40723,6141,1,14280.00,0,'2021-04-21','2021-08-17 00:08:08','2021-08-17 00:08:08',NULL),(738,2193,362,757,40723,6141,2,14280.00,0,'2021-04-21','2021-08-17 00:08:08','2021-08-17 00:08:08',NULL),(739,2193,363,57,40723,6145,1,85000.00,0,'2021-08-11','2021-09-13 20:28:59','2021-09-13 20:28:59',NULL),(740,2193,363,762,40723,6145,2,85000.00,0,'2021-08-11','2021-09-13 20:28:59','2021-09-13 20:28:59',NULL),(741,2193,364,57,40723,6145,1,4800.00,0,'2021-08-13','2021-09-13 20:30:39','2021-09-13 20:30:39',NULL),(742,2193,364,757,40723,6145,2,4800.00,0,'2021-08-13','2021-09-13 20:30:39','2021-09-13 20:30:39',NULL),(743,2193,365,57,40723,6145,1,4800.00,0,'2021-08-13','2021-09-13 20:32:39','2021-09-13 20:32:39',NULL),(744,2193,365,757,40723,6145,2,4800.00,0,'2021-08-13','2021-09-13 20:32:39','2021-09-13 20:32:39',NULL),(745,2193,366,13,40723,6145,2,3780.00,0,'2021-08-13','2021-09-13 20:33:42','2021-09-13 20:33:42',NULL),(746,2193,366,757,40723,6145,1,3780.00,0,'2021-08-13','2021-09-13 20:33:42','2021-09-13 20:33:42',NULL),(747,2193,367,57,40723,6145,1,10390.00,0,'2021-08-13','2021-09-13 20:34:44','2021-09-13 20:34:44',NULL),(748,2193,367,757,40723,6145,2,10390.00,0,'2021-08-13','2021-09-13 20:34:44','2021-09-13 20:34:44',NULL),(749,2193,368,57,40723,6145,1,8250.00,0,'2021-08-13','2021-09-13 20:40:18','2021-09-13 20:40:18',NULL),(750,2193,368,757,40723,6145,2,8250.00,0,'2021-08-13','2021-09-13 20:40:18','2021-09-13 20:40:18',NULL),(751,2193,369,57,40723,6145,1,3960.00,0,'2021-08-13','2021-09-13 20:42:19','2021-09-13 20:42:19',NULL),(752,2193,369,757,40723,6145,2,3960.00,0,'2021-08-13','2021-09-13 20:42:19','2021-09-13 20:42:19',NULL),(753,2193,370,57,40723,6145,1,1825.00,0,'2021-08-13','2021-09-13 20:43:45','2021-09-13 20:43:45',NULL),(754,2193,370,757,40723,6145,2,1825.00,0,'2021-08-13','2021-09-13 20:43:45','2021-09-13 20:43:45',NULL),(755,2193,371,57,40723,6145,1,3690.00,0,'2021-08-13','2021-09-13 20:48:33','2021-09-13 20:48:33',NULL),(756,2193,371,757,40723,6145,2,3690.00,0,'2021-08-13','2021-09-13 20:48:33','2021-09-13 20:48:33',NULL),(757,2193,372,57,40723,6145,1,8000.00,0,'2021-08-13','2021-09-13 20:49:36','2021-09-13 20:49:36',NULL),(758,2193,372,757,40723,6145,2,8000.00,0,'2021-08-13','2021-09-13 20:49:36','2021-09-13 20:49:36',NULL),(759,2193,373,57,40723,6145,1,3600.00,0,'2021-08-13','2021-09-13 20:50:19','2021-09-13 20:50:19',NULL),(760,2193,373,757,40723,6145,2,3600.00,0,'2021-08-13','2021-09-13 20:50:19','2021-09-13 20:50:19',NULL),(761,2193,374,57,40723,6145,1,5400.00,0,'2021-08-13','2021-09-13 20:50:53','2021-09-13 20:50:53',NULL),(762,2193,374,757,40723,6145,2,5400.00,0,'2021-08-13','2021-09-13 20:50:53','2021-09-13 20:50:53',NULL),(763,2193,375,57,40723,6145,1,10000.00,0,'2021-08-13','2021-09-13 20:51:27','2021-09-13 20:51:27',NULL),(764,2193,375,757,40723,6145,2,10000.00,0,'2021-08-13','2021-09-13 20:51:27','2021-09-13 20:51:27',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (765,2193,376,57,40723,6145,1,5600.00,0,'2021-08-13','2021-09-13 20:52:00','2021-09-13 20:52:00',NULL),(766,2193,376,757,40723,6145,2,5600.00,0,'2021-08-13','2021-09-13 20:52:00','2021-09-13 20:52:00',NULL),(767,2193,377,13,40723,6145,2,880.00,0,'2021-08-13','2021-09-13 20:53:54','2021-09-13 20:53:54',NULL),(768,2193,377,757,40723,6145,1,880.00,0,'2021-08-13','2021-09-13 20:53:54','2021-09-13 20:53:54',NULL),(769,2193,378,57,40723,6145,1,1320.00,0,'2021-08-18','2021-09-13 20:54:25','2021-09-13 20:54:25',NULL),(770,2193,378,757,40723,6145,2,1320.00,0,'2021-08-18','2021-09-13 20:54:25','2021-09-13 20:54:25',NULL),(771,2193,379,57,40723,6145,1,780.00,0,'2021-08-13','2021-09-13 20:55:26','2021-09-13 20:55:26',NULL),(772,2193,379,757,40723,6145,2,780.00,0,'2021-08-13','2021-09-13 20:55:26','2021-09-13 20:55:26',NULL),(773,2193,380,57,40723,6145,1,3570.00,0,'2021-08-13','2021-09-13 20:56:08','2021-09-13 20:56:08',NULL),(774,2193,380,757,40723,6145,2,3570.00,0,'2021-08-13','2021-09-13 20:56:08','2021-09-13 20:56:08',NULL),(775,2193,381,57,40723,6145,1,3520.00,0,'2021-08-13','2021-09-13 20:56:50','2021-09-13 20:56:50',NULL),(776,2193,381,757,40723,6145,2,3520.00,0,'2021-08-13','2021-09-13 20:56:50','2021-09-13 20:56:50',NULL),(777,2193,382,57,40723,6145,1,2750.00,0,'2021-08-13','2021-09-13 20:58:38','2021-09-13 20:58:38',NULL),(778,2193,382,757,40723,6145,2,2750.00,0,'2021-08-13','2021-09-13 20:58:38','2021-09-13 20:58:38',NULL),(779,2193,383,57,40723,6145,1,3960.00,0,'2021-08-13','2021-09-13 20:59:09','2021-09-13 20:59:09',NULL),(780,2193,383,757,40723,6145,2,3960.00,0,'2021-08-13','2021-09-13 20:59:09','2021-09-13 20:59:09',NULL),(781,2193,384,57,40723,6145,1,4290.00,0,'2021-08-13','2021-09-13 20:59:37','2021-09-13 20:59:37',NULL),(782,2193,384,757,40723,6145,2,4290.00,0,'2021-08-13','2021-09-13 20:59:37','2021-09-13 20:59:37',NULL),(783,2193,385,57,40723,6145,1,8190.00,0,'2021-08-14','2021-09-13 21:01:10','2021-09-13 21:01:10',NULL),(784,2193,385,757,40723,6145,2,8190.00,0,'2021-08-14','2021-09-13 21:01:10','2021-09-13 21:01:10',NULL),(785,2193,386,57,40723,6145,1,2310.00,0,'2021-08-14','2021-09-13 21:01:38','2021-09-13 21:01:38',NULL),(786,2193,386,757,40723,6145,2,2310.00,0,'2021-08-14','2021-09-13 21:01:38','2021-09-13 21:01:38',NULL),(787,2193,387,57,40723,6145,1,1925.00,0,'2021-08-14','2021-09-13 21:02:05','2021-09-13 21:02:05',NULL),(788,2193,387,757,40723,6145,2,1925.00,0,'2021-08-14','2021-09-13 21:02:05','2021-09-13 21:02:05',NULL),(789,2193,388,57,40723,6145,1,1650.00,0,'2021-08-14','2021-09-13 21:02:36','2021-09-13 21:02:36',NULL),(790,2193,388,757,40723,6145,2,1650.00,0,'2021-08-14','2021-09-13 21:02:36','2021-09-13 21:02:36',NULL),(791,2193,389,57,40723,6145,1,2310.00,0,'2021-08-14','2021-09-13 21:03:18','2021-09-13 21:03:18',NULL),(792,2193,389,757,40723,6145,2,2310.00,0,'2021-08-14','2021-09-13 21:03:18','2021-09-13 21:03:18',NULL),(793,2193,390,57,40723,6145,1,1650.00,0,'2021-08-14','2021-09-13 21:03:49','2021-09-13 21:03:49',NULL),(794,2193,390,757,40723,6145,2,1650.00,0,'2021-08-14','2021-09-13 21:03:49','2021-09-13 21:03:49',NULL),(795,2193,391,57,40723,6145,1,4400.00,0,'2021-08-14','2021-09-13 21:04:38','2021-09-13 21:04:38',NULL),(796,2193,391,757,40723,6145,2,4400.00,0,'2021-08-14','2021-09-13 21:04:38','2021-09-13 21:04:38',NULL),(797,2193,392,57,40723,6145,1,2970.00,0,'2021-08-14','2021-09-13 21:05:22','2021-09-13 21:05:22',NULL),(798,2193,392,757,40723,6145,2,2970.00,0,'2021-08-14','2021-09-13 21:05:22','2021-09-13 21:05:22',NULL),(799,2193,393,57,40723,6145,1,3825.00,0,'2021-08-14','2021-09-13 21:05:52','2021-09-13 21:05:52',NULL),(800,2193,393,757,40723,6145,2,3825.00,0,'2021-08-14','2021-09-13 21:05:52','2021-09-13 21:05:52',NULL),(801,2193,394,57,40723,6145,1,2295.00,0,'2021-08-14','2021-09-13 21:06:25','2021-09-13 21:06:25',NULL),(802,2193,394,757,40723,6145,2,2295.00,0,'2021-08-14','2021-09-13 21:06:25','2021-09-13 21:06:25',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (803,2193,395,57,40723,6145,1,1100.00,0,'2021-08-14','2021-09-13 21:08:25','2021-09-13 21:08:25',NULL),(804,2193,395,757,40723,6145,2,1100.00,0,'2021-08-14','2021-09-13 21:08:25','2021-09-13 21:08:25',NULL),(805,2193,396,13,40723,6145,2,1300.00,0,'2021-08-14','2021-09-13 21:09:45','2021-09-13 21:09:45',NULL),(806,2193,396,760,40723,6145,1,650.00,0,'2021-08-14','2021-09-13 21:09:45','2021-09-13 21:09:45',NULL),(807,2193,396,760,40723,6145,1,650.00,0,'2021-08-14','2021-09-13 21:09:45','2021-09-13 21:09:45',NULL);

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

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

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

INSERT INTO `ctacte_bancos` VALUES (1,NULL,'BANCO DE GALICIA Y BUENOS AIRES S.A.',7,'30-50000173-5',NULL,NULL,NULL),(2,NULL,'BANCO DE LA NACION ARGENTINA',11,'30-50001091-2',NULL,NULL,NULL),(3,NULL,'BANCO DE LA PROVINCIA DE BUENOS AIRES',14,'33-99924210-9',NULL,NULL,NULL),(4,NULL,'INDUSTRIAL AND COMMERCIAL BANK OF CHINA',15,'30-70944784-6',NULL,NULL,NULL),(5,NULL,'CITIBANK N.A.',16,'30-50000562-5',NULL,NULL,NULL),(6,NULL,'BBVA BANCO FRANCES S.A.',17,'30-50000319-3',NULL,NULL,NULL),(7,NULL,'THE BANK OF TOKYO-MITSUBISHI UFJ, LTD.',18,'30-50001183-8',NULL,NULL,NULL),(8,NULL,'BANCO DE LA PROVINCIA DE CORDOBA S.A.',20,'30-99922856-5',NULL,NULL,NULL),(9,NULL,'BANCO SUPERVIELLE S.A.',27,'33-50000517-9',NULL,NULL,NULL),(10,NULL,'BANCO DE LA CIUDAD DE BUENOS AIRES',29,'30-99903208-3',NULL,NULL,NULL),(11,NULL,'BANCO PATAGONIA S.A.',34,'30-50000661-3',NULL,NULL,NULL),(12,NULL,'BANCO HIPOTECARIO S.A.',44,'30-50001107-2',NULL,NULL,NULL),(13,NULL,'BANCO DE SAN JUAN S.A.',45,'30-50000944-2',NULL,NULL,NULL),(14,NULL,'BANCO DEL TUCUMAN S.A.',60,'30-51794820-5',NULL,NULL,NULL),(15,NULL,'BANCO MUNICIPAL DE ROSARIO',65,'33-99918181-9',NULL,NULL,NULL),(16,NULL,'BANCO SANTANDER RIO S.A.',72,'30-50000845-4',NULL,NULL,NULL),(17,NULL,'BANCO DEL CHUBUT S.A.',83,'30-50001299-0',NULL,NULL,NULL),(18,NULL,'BANCO DE SANTA CRUZ S.A.',86,'30-50009880-1',NULL,NULL,NULL),(19,NULL,'BANCO DE LA PAMPA SOCIEDAD DE ECONOMÍA M',93,'30-50001251-6',NULL,NULL,NULL),(20,NULL,'BANCO DE CORRIENTES S.A.',94,'30-50001060-2',NULL,NULL,NULL),(21,NULL,'BANCO PROVINCIA DEL NEUQUÉN SOCIEDAD ANÓ',97,'30-50001404-7',NULL,NULL,NULL),(22,NULL,'BANCO INTERFINANZAS S.A.',147,'30-52271441-7',NULL,NULL,NULL),(23,NULL,'HSBC BANK ARGENTINA S.A.',150,'33-53718600-9',NULL,NULL,NULL),(24,NULL,'JPMORGAN CHASE BANK, NATIONAL ASSOCIATIO',165,'30-58313794-3',NULL,NULL,NULL),(25,NULL,'BANCO CREDICOOP COOPERATIVO LIMITADO',191,'30-57142135-2',NULL,NULL,NULL),(26,NULL,'BANCO DE VALORES S.A.',198,'30-57612427-5',NULL,NULL,NULL),(27,NULL,'BANCO ROELA S.A.',247,'30-53561044-0',NULL,NULL,NULL),(28,NULL,'BANCO MARIVA S.A.',254,'30-51642044-4',NULL,NULL,NULL),(29,NULL,'BANCO ITAU ARGENTINA S.A.',259,'30-58018941-1',NULL,NULL,NULL),(30,NULL,'BANK OF AMERICA, NATIONAL ASSOCIATION',262,'30-50005055-8',NULL,NULL,NULL),(31,NULL,'BNP PARIBAS',266,'30-58472756-6',NULL,NULL,NULL),(32,NULL,'BANCO PROVINCIA DE TIERRA DEL FUEGO',268,'30-57565578-1',NULL,NULL,NULL),(33,NULL,'BANCO DE LA REPUBLICA ORIENTAL DEL URUGU',269,'30-58833784-3',NULL,NULL,NULL),(34,NULL,'BANCO SAENZ S.A.',277,'30-53467243-4',NULL,NULL,NULL),(35,NULL,'BANCO MERIDIAN S.A.',281,'30-53448749-1',NULL,NULL,NULL),(36,NULL,'BANCO MACRO S.A.',285,'30-50001008-4',NULL,NULL,NULL),(37,NULL,'BANCO COMAFI SOCIEDAD ANONIMA',299,'30-60473101-8',NULL,NULL,NULL),(38,NULL,'BANCO DE INVERSION Y COMERCIO EXTERIOR S',300,'30-65112908-3',NULL,NULL,NULL),(39,NULL,'BANCO PIANO S.A.',301,'30-56915176-3',NULL,NULL,NULL),(40,NULL,'BANCO JULIO SOCIEDAD ANONIMA',305,'30-65744121-6',NULL,NULL,NULL),(41,NULL,'BANCO RIOJA SOCIEDAD ANONIMA UNIPERSONAL',309,'30-67185933-9',NULL,NULL,NULL),(42,NULL,'BANCO DEL SOL S.A.',310,'30-67793756-0',NULL,NULL,NULL),(43,NULL,'NUEVO BANCO DEL CHACO S. A.',311,'30-67015779-9',NULL,NULL,NULL),(44,NULL,'BANCO VOII S.A.',312,'30-54674163-6',NULL,NULL,NULL),(45,NULL,'BANCO DE FORMOSA S.A.',315,'30-67137590-0',NULL,NULL,NULL),(46,NULL,'BANCO CMF S.A.',319,'30-57661429-9',NULL,NULL,NULL),(47,NULL,'BANCO DE SANTIAGO DEL ESTERO S.A.',321,'33-68666464-9',NULL,NULL,NULL),(48,NULL,'BANCO INDUSTRIAL S.A.',322,'30-68502995-9',NULL,NULL,NULL),(49,NULL,'NUEVO BANCO DE SANTA FE SOCIEDAD ANONIMA',330,'30-69243266-1',NULL,NULL,NULL),(50,NULL,'BANCO CETELEM ARGENTINA S.A.',331,'30-69730636-2',NULL,NULL,NULL),(51,NULL,'BANCO DE SERVICIOS FINANCIEROS S.A.',332,'30-69726589-5',NULL,NULL,NULL),(52,NULL,'BANCO BRADESCO ARGENTINA S.A.U.',336,'30-70125555-7',NULL,NULL,NULL),(53,NULL,'BANCO DE SERVICIOS Y TRANSACCIONES S.A.',338,'30-70496099-5',NULL,NULL,NULL);
INSERT INTO `ctacte_bancos` VALUES (54,NULL,'RCI BANQUE S.A.',339,'30-70710834-3',NULL,NULL,NULL),(55,NULL,'BACS BANCO DE CREDITO Y SECURITIZACION S',340,'30-70722741-5',NULL,NULL,NULL),(56,NULL,'BANCO MASVENTAS S.A.',341,'30-54061826-3',NULL,NULL,NULL),(57,NULL,'BANCO WANAP S.A.',384,'30-71565463-2',NULL,NULL,NULL),(58,NULL,'NUEVO BANCO DE ENTRE RÍOS S.A.',386,'33-70799551-9',NULL,NULL,NULL),(59,NULL,'BANCO COLUMBIA S.A.',389,'30-51763749-8',NULL,NULL,NULL),(60,NULL,'BANCO BICA S.A.',426,'30-71233123-9',NULL,NULL,NULL),(61,NULL,'BANCO COINAG S.A.',431,'30-71419596-0',NULL,NULL,NULL),(62,NULL,'BANCO DE COMERCIO S.A.',432,'30-54203363-7',NULL,NULL,NULL),(63,NULL,'FORD CREDIT COMPAÑIA FINANCIERA S.A.',44059,'30-51654454-2',NULL,NULL,NULL),(64,NULL,'COMPAÑIA FINANCIERA ARGENTINA S.A.',44077,'30-53800640-4',NULL,NULL,NULL),(65,NULL,'VOLKWAGEN FINANCIAL SERVICES CIA.FIN.S.A',44088,'30-68241957-8',NULL,NULL,NULL),(66,NULL,'CORDIAL COMPAÑÍA FINANCIERA S.A.',44090,'30-70181085-2',NULL,NULL,NULL),(67,NULL,'FCA COMPAÑIA FINANCIERA S.A.',44092,'30-69230488-4',NULL,NULL,NULL),(68,NULL,'GPAT COMPAÑIA FINANCIERA S.A.',44093,'30-67856482-2',NULL,NULL,NULL),(69,NULL,'MERCEDES-BENZ COMPAÑÍA FINANCIERA ARGENT',44094,'30-70700229-4',NULL,NULL,NULL),(70,NULL,'ROMBO COMPAÑÍA FINANCIERA S.A.',44095,'33-70712490-9',NULL,NULL,NULL),(71,NULL,'JOHN DEERE CREDIT COMPAÑÍA FINANCIERA S.',44096,'30-70702485-9',NULL,NULL,NULL),(72,NULL,'PSA FINANCE ARGENTINA COMPAÑÍA FINANCIER',44098,'30-70784736-7',NULL,NULL,NULL),(73,NULL,'TOYOTA COMPAÑÍA FINANCIERA DE ARGENTINA',44099,'30-70900042-6',NULL,NULL,NULL),(74,NULL,'FINANDINO COMPAÑIA FINANCIERA S.A.',44100,'30-71259240-7',NULL,NULL,NULL),(75,NULL,'MONTEMAR COMPAÑIA FINANCIERA S.A.',45056,'30-58138551-6',NULL,NULL,NULL),(76,NULL,'MULTIFINANZAS COMPAÑIA FINANCIERA S.A.',45072,'30-62828435-7',NULL,NULL,NULL),(77,NULL,'CAJA DE CREDITO \"CUENCA\" COOPERATIVA LIM',65203,'30-71622694-4',NULL,NULL,NULL),(78,NULL,'MERCADO PAGO',NULL,NULL,NULL,NULL,NULL),(79,NULL,'UALA',NULL,NULL,NULL,NULL,NULL),(80,NULL,'ICBC',NULL,NULL,NULL,NULL,NULL),(81,NULL,'BMA SAU',NULL,NULL,NULL,NULL,NULL);

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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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

INSERT INTO `dc_estados` VALUES (1,NULL,'BORRADOR',1,NULL,'2023-08-06 23:52:51',NULL),(2,NULL,'TERMINADO',1,NULL,'2023-08-06 23:52:51',NULL),(3,NULL,'ELIMINADO',1,NULL,'2023-08-13 09:14:49',NULL),(4,NULL,'PAGADO',1,NULL,'2023-08-06 23:52:51','2023-08-06 23:52:51'),(5,NULL,'CONCILIADO',1,NULL,'2023-08-06 23:52:51','2023-08-06 23:52:51');

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

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

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

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

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

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

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

INSERT INTO `dc_firmas` VALUES (1,NULL,'NO',1,1,0,1,NULL,'2023-08-06 23:52:51',NULL),(2,NULL,'RECHAZADO',1,1,0,1,NULL,'2023-08-06 23:52:51',NULL),(3,NULL,'ACEPTADO',1,0,0,1,NULL,'2023-08-06 23:52:51',NULL),(4,NULL,'FALTAN FIRMAS',0,0,1,1,'2023-08-06 23:52:51','2023-08-06 23:52:51',NULL),(5,NULL,'EMITIDO',1,0,0,1,'2023-10-12 07:54:57','2023-10-12 07:54:57',NULL);

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

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

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


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

CREATE TABLE `dc_firmas_reglas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL,
  `grupos_users_ids` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_firmas_reglas_person_id_foreign` (`person_id`),
  KEY `dc_firmas_reglas_dc_orden_id_foreign` (`dc_orden_id`),
  CONSTRAINT `dc_firmas_reglas_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_firmas_reglas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

CREATE TABLE `dc_orden_de_pago` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2023-09-28 16:25:45',
  `dc_orden_id` bigint(20) unsigned NOT NULL DEFAULT '10',
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `request` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `dc_estado_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `dc_firma_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_orden_de_pago_person_id_foreign` (`person_id`),
  KEY `dc_orden_de_pago_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `dc_orden_de_pago_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_orden_de_pago_dc_firma_id_foreign` (`dc_firma_id`),
  KEY `dc_orden_de_pago_dc_estado_id_foreign` (`dc_estado_id`),
  CONSTRAINT `dc_orden_de_pago_dc_estado_id_foreign` FOREIGN KEY (`dc_estado_id`) REFERENCES `dc_estados` (`id`),
  CONSTRAINT `dc_orden_de_pago_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `dc_orden_de_pago_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_orden_de_pago_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_orden_de_pago_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- Table structure for table `dc_orden_de_pago_cheques`
--

CREATE TABLE `dc_orden_de_pago_cheques` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_de_pago_id` bigint(20) unsigned NOT NULL,
  `ctacte_cheque_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_orden_de_pago_cheques_dc_orden_de_pago_id_foreign` (`dc_orden_de_pago_id`),
  KEY `dc_orden_de_pago_cheques_ctacte_cheque_id_foreign` (`ctacte_cheque_id`),
  CONSTRAINT `dc_orden_de_pago_cheques_ctacte_cheque_id_foreign` FOREIGN KEY (`ctacte_cheque_id`) REFERENCES `ctacte_cheques` (`id`),
  CONSTRAINT `dc_orden_de_pago_cheques_dc_orden_de_pago_id_foreign` FOREIGN KEY (`dc_orden_de_pago_id`) REFERENCES `dc_orden_de_pago` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

CREATE TABLE `dc_orden_de_pago_receipts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_de_pago_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `importe` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_orden_de_pago_receipts_dc_orden_de_pago_id_foreign` (`dc_orden_de_pago_id`),
  KEY `dc_orden_de_pago_receipts_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `dc_orden_de_pago_receipts_dc_orden_de_pago_id_foreign` FOREIGN KEY (`dc_orden_de_pago_id`) REFERENCES `dc_orden_de_pago` (`id`),
  CONSTRAINT `dc_orden_de_pago_receipts_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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


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

CREATE TABLE `dc_ordenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_tipo_id` bigint(20) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `titulo` text COLLATE utf8mb4_unicode_ci,
  `sucursal` int(11) NOT NULL DEFAULT '1',
  `numero` int(11) NOT NULL,
  `numero_text` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sector` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `solicitante` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `syj_empleado_id` int(10) unsigned DEFAULT NULL,
  `fecha` date NOT NULL,
  `fecha_entrega` date DEFAULT NULL,
  `fecha_asignacion` datetime DEFAULT NULL,
  `fecha_cumplido` datetime DEFAULT NULL,
  `condicion_venta_id` int(10) unsigned DEFAULT NULL,
  `is_pago_adelantado` tinyint(1) DEFAULT NULL,
  `is_garantia` tinyint(1) NOT NULL DEFAULT '0',
  `forma_de_entrega_id` int(10) unsigned DEFAULT NULL,
  `plazo_de_pago_id` int(10) unsigned DEFAULT NULL,
  `cantidades` decimal(16,2) NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(16,2) NOT NULL DEFAULT '1.00',
  `neto` decimal(16,2) NOT NULL,
  `iva` decimal(16,2) NOT NULL,
  `total` decimal(16,2) NOT NULL,
  `facturada` decimal(16,2) NOT NULL DEFAULT '0.00',
  `is_pagada` tinyint(1) NOT NULL,
  `garantia` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mant_oferta` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comen_para_cliente` text COLLATE utf8mb4_unicode_ci,
  `comentario` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `dc_ov_origen_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_cobranza_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_factura_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_entrega_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_venta_id` bigint(20) unsigned DEFAULT NULL,
  `dc_estado_id` bigint(20) unsigned NOT NULL,
  `dc_estado_decision_id` bigint(20) unsigned DEFAULT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned DEFAULT NULL,
  `conta_cc_id` bigint(20) unsigned DEFAULT NULL,
  `origendestinoable_type` text COLLATE utf8mb4_unicode_ci,
  `origendestinoable_id` int(10) unsigned DEFAULT NULL,
  `is_multiples_ot` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `dc_orden_origen_destino_id` bigint(20) unsigned DEFAULT NULL,
  `is_completado` tinyint(1) NOT NULL DEFAULT '0',
  `is_credit` tinyint(1) DEFAULT NULL,
  `dc_firma_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_dc_orden_tipo_id_foreign` (`dc_orden_tipo_id`),
  KEY `dc_ordenes_person_id_foreign` (`person_id`),
  KEY `dc_ordenes_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `dc_ordenes_dc_estado_id_foreign` (`dc_estado_id`),
  KEY `dc_ordenes_conta_cc_id_foreign` (`conta_cc_id`),
  KEY `dc_ordenes_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  KEY `dc_ordenes_dc_orden_origen_destino_id_foreign` (`dc_orden_origen_destino_id`),
  KEY `dc_ordenes_moneda_id_foreign` (`moneda_id`),
  KEY `dc_ordenes_dc_firma_id_foreign` (`dc_firma_id`),
  KEY `dc_ordenes_syj_empleado_id_foreign` (`syj_empleado_id`),
  KEY `dc_ordenes_dc_estado_decision_id_foreign` (`dc_estado_decision_id`),
  KEY `dc_ordenes_dc_ov_origen_id_foreign` (`dc_ov_origen_id`),
  KEY `dc_ordenes_dc_ov_status_venta_id_foreign` (`dc_ov_status_venta_id`),
  KEY `dc_ordenes_dc_ov_status_entrega_id_foreign` (`dc_ov_status_entrega_id`),
  KEY `dc_ordenes_dc_ov_status_factura_id_foreign` (`dc_ov_status_factura_id`),
  KEY `dc_ordenes_dc_ov_status_cobranza_id_foreign` (`dc_ov_status_cobranza_id`),
  CONSTRAINT `dc_ordenes_conta_cc_id_foreign` FOREIGN KEY (`conta_cc_id`) REFERENCES `conta_centro_costos` (`id`),
  CONSTRAINT `dc_ordenes_dc_estado_decision_id_foreign` FOREIGN KEY (`dc_estado_decision_id`) REFERENCES `dc_estados_decisiones` (`id`),
  CONSTRAINT `dc_ordenes_dc_estado_id_foreign` FOREIGN KEY (`dc_estado_id`) REFERENCES `dc_estados` (`id`),
  CONSTRAINT `dc_ordenes_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `dc_ordenes_dc_orden_origen_destino_id_foreign` FOREIGN KEY (`dc_orden_origen_destino_id`) REFERENCES `dc_ordenes_origen_destino` (`id`),
  CONSTRAINT `dc_ordenes_dc_orden_tipo_id_foreign` FOREIGN KEY (`dc_orden_tipo_id`) REFERENCES `dc_ordenes_tipos` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_origen_id_foreign` FOREIGN KEY (`dc_ov_origen_id`) REFERENCES `dc_ov_origenes` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_cobranza_id_foreign` FOREIGN KEY (`dc_ov_status_cobranza_id`) REFERENCES `dc_ov_status_cobranza` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_entrega_id_foreign` FOREIGN KEY (`dc_ov_status_entrega_id`) REFERENCES `dc_ov_status_entrega` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_factura_id_foreign` FOREIGN KEY (`dc_ov_status_factura_id`) REFERENCES `dc_ov_status_factura` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_venta_id_foreign` FOREIGN KEY (`dc_ov_status_venta_id`) REFERENCES `dc_ov_status_venta` (`id`),
  CONSTRAINT `dc_ordenes_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `dc_ordenes_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `dc_ordenes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_ordenes_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_ordenes_syj_empleado_id_foreign` FOREIGN KEY (`syj_empleado_id`) REFERENCES `syj_empleados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

--
-- Dumping data for table `dc_ordenes_compra_coti`
--


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

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

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


--
-- Table structure for table `dc_ordenes_cotizacion_req`
--

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

--
-- Dumping data for table `dc_ordenes_cotizacion_req`
--


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

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

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


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

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

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


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

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

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


--
-- Table structure for table `dc_ordenes_ingxdev_rem_egr`
--

CREATE TABLE `dc_ordenes_ingxdev_rem_egr` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `dc_orden_rem_egr_id` bigint(20) unsigned NOT NULL,
  `dc_orden_rem_egr_detail_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_id_foreign` (`dc_orden_rem_egr_id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_detail_id_foreign` (`dc_orden_rem_egr_detail_id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_detail_id_foreign` FOREIGN KEY (`dc_orden_rem_egr_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_id_foreign` FOREIGN KEY (`dc_orden_rem_egr_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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


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

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

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

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

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

CREATE TABLE `dc_ordenes_pdf_templates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_tipo_id` bigint(20) unsigned NOT NULL,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `vista_blade` text COLLATE utf8mb4_unicode_ci,
  `pdf_base_path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tipo_plantilla` enum('blade','pdf_base') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'blade',
  `configuracion` json DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_person_tipo_template` (`person_id`,`dc_orden_tipo_id`),
  KEY `dc_ordenes_pdf_templates_dc_orden_tipo_id_foreign` (`dc_orden_tipo_id`),
  CONSTRAINT `dc_ordenes_pdf_templates_dc_orden_tipo_id_foreign` FOREIGN KEY (`dc_orden_tipo_id`) REFERENCES `dc_ordenes_tipos` (`id`),
  CONSTRAINT `dc_ordenes_pdf_templates_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_pdf_templates`
--


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

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

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


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

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

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


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

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

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

INSERT INTO `dc_ordenes_tipos` VALUES (1,NULL,'ORDEN DE COMPRAS',NULL,1,NULL,'2022-09-09 16:50:04',NULL),(2,NULL,'ORDEN DE VENTAS',NULL,1,NULL,'2022-09-09 16:50:04',NULL),(3,NULL,'PRESUPUESTO',NULL,1,NULL,NULL,NULL),(4,NULL,'REQUERIMIENTO',NULL,1,NULL,NULL,NULL),(5,NULL,'REMITO DE INGRESO',NULL,1,NULL,'2023-06-12 23:24:55',NULL),(6,NULL,'REMITO DE EGRESO',NULL,1,NULL,NULL,NULL),(7,NULL,'REMITO INTERNO',NULL,1,NULL,NULL,NULL),(8,NULL,'REMITO DE INGRESO','Es lo mismo que un remito de ingreso, \n        pero los productosa ingresar provienen de una Orden de Compra',1,NULL,NULL,NULL),(9,NULL,'REMITO DE SERVICIO','Es un remito de Ingreso de un servicio que se\n        asigna directo a una OT',1,NULL,NULL,NULL),(10,NULL,'ORDEN DE PAGO',NULL,1,'2023-09-28 16:25:45','2023-09-28 16:25:45',NULL),(11,NULL,'ANULACION REQUERIMIENTOS',NULL,1,'2024-04-02 22:51:04','2024-04-02 22:51:04',NULL),(12,NULL,'ANULACION COMPRAS PRODUCTOS',NULL,1,'2024-04-02 22:51:04','2024-04-02 22:51:04',NULL),(13,NULL,'ANULACION COMPRAS SERVICIOS',NULL,1,'2024-04-02 22:51:04','2024-04-02 22:51:04',NULL),(14,NULL,'REMITO DE GASTO',NULL,1,'2024-05-07 20:06:42','2024-05-07 20:06:42',NULL),(15,NULL,'COTIZACIONES',NULL,1,'2024-06-26 07:52:00','2024-06-26 07:52:00',NULL),(16,NULL,'REMITO INGRESO-DEVOLUCION',NULL,1,'2024-09-02 13:16:46','2024-09-02 13:16:46',NULL),(17,NULL,'REMITO EGRESO-DEVOLUCION',NULL,1,'2024-10-17 08:50:31','2024-10-17 08:50:31',NULL),(18,NULL,'REMITO','Es un remito de servicio, que no tiene ni ingreso ni egreso',1,'2024-12-03 21:44:15','2024-12-03 21:44:15',NULL),(19,NULL,'Remito de Cliente','Se usa en las Ordenes de Venta para demostrar que se entrego mercaderia al cliente',1,NULL,NULL,NULL),(20,NULL,'Orden de Compra de Cliente','Es la OC que envia el cliente para que se le haga el pedido',1,NULL,NULL,NULL),(21,NULL,'Solicitud de Facturacion','Es un documento que se usa para que se pueda facturar',1,NULL,NULL,NULL),(22,NULL,'Ordenes de Compra','Es una OC para Empresas',1,NULL,NULL,NULL);

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

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

--
-- Dumping data for table `dc_ov_cta_cte_cliente`
--


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

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

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


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

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

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


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

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

--
-- Dumping data for table `dc_ov_ocs`
--


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

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

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

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

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

CREATE TABLE `dc_ov_origenes_users` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `dc_ov_origen_id` bigint(20) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_origenes_users_dc_ov_origen_id_foreign` (`dc_ov_origen_id`),
  CONSTRAINT `dc_ov_origenes_users_dc_ov_origen_id_foreign` FOREIGN KEY (`dc_ov_origen_id`) REFERENCES `dc_ov_origenes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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


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

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

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


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

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

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


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

CREATE TABLE `dc_ov_remc_occ` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `dc_orden_id` bigint(20) unsigned DEFAULT NULL,
  `dc_orden_detail_id` bigint(20) unsigned DEFAULT NULL,
  `dc_occ_id` bigint(20) unsigned DEFAULT NULL,
  `dc_occ_detail_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_remc_occ_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_remc_occ_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ov_remc_occ_dc_occ_id_foreign` (`dc_occ_id`),
  KEY `dc_ov_remc_occ_dc_occ_detail_id_foreign` (`dc_occ_detail_id`),
  CONSTRAINT `dc_ov_remc_occ_dc_occ_detail_id_foreign` FOREIGN KEY (`dc_occ_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ov_remc_occ_dc_occ_id_foreign` FOREIGN KEY (`dc_occ_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_remc_occ_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ov_remc_occ_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_remc_occ`
--


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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

CREATE TABLE `dc_sol_fac_occ` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL COMMENT 'Solicitud Facturación (tipo 21)',
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL COMMENT 'Detalle de SF',
  `dc_occ_id` bigint(20) unsigned NOT NULL COMMENT 'OC Cliente (tipo 20)',
  `dc_occ_detail_id` bigint(20) unsigned NOT NULL COMMENT 'Detalle de OCC',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_sf` (`dc_orden_id`),
  KEY `idx_occ` (`dc_occ_id`),
  KEY `dc_sol_fac_occ_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_sol_fac_occ_dc_occ_detail_id_foreign` (`dc_occ_detail_id`),
  CONSTRAINT `dc_sol_fac_occ_dc_occ_detail_id_foreign` FOREIGN KEY (`dc_occ_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_sol_fac_occ_dc_occ_id_foreign` FOREIGN KEY (`dc_occ_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_sol_fac_occ_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_sol_fac_occ_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_sol_fac_occ`
--


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

CREATE TABLE `despachos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT '2025-04-28 16:05:00',
  `is_ponderacion_autom` tinyint(1) NOT NULL DEFAULT '1',
  `is_garantia` tinyint(1) NOT NULL DEFAULT '0',
  `numero` int(10) unsigned DEFAULT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_parte_1` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_parte_2` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_parte_3` decimal(16,2) NOT NULL DEFAULT '0.00',
  `cotizacion` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `despachos_person_id_foreign` (`person_id`),
  KEY `despachos_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `despachos_moneda_id_foreign` (`moneda_id`),
  CONSTRAINT `despachos_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `despachos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `despachos_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `despachos`
--


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

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

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


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

CREATE TABLE `despachos_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `despacho_id` bigint(20) unsigned NOT NULL,
  `despacho_parte_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `porcentaje_ponderacion` decimal(8,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `despachos_details_despacho_id_foreign` (`despacho_id`),
  KEY `despachos_details_despacho_parte_id_foreign` (`despacho_parte_id`),
  KEY `despachos_details_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `despachos_details_despacho_id_foreign` FOREIGN KEY (`despacho_id`) REFERENCES `despachos` (`id`),
  CONSTRAINT `despachos_details_despacho_parte_id_foreign` FOREIGN KEY (`despacho_parte_id`) REFERENCES `despachos_partes` (`id`),
  CONSTRAINT `despachos_details_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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


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

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

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

INSERT INTO `despachos_partes` VALUES (1,NULL,'Facturas del Proveedor',1,NULL,NULL,NULL),(2,NULL,'Despachos de Importacion',1,NULL,NULL,NULL),(3,NULL,'Facturas de Logistica',1,NULL,NULL,NULL);

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

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

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


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

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

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

INSERT INTO `ejer_anteriores` VALUES (1,1445,40724,2017,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'2021-01-26 17:07:19','2021-01-26 17:07:19',NULL);

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

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

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

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

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

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

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


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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

INSERT INTO `fact_elec_puntos_venta` VALUES (1,1445,'Direccion','2021-01-13 21:17:31','2021-01-13 21:17:31',40916,NULL,NULL,22,NULL,1,NULL),(2,1445,'Av Libertad 1536','2021-01-13 21:23:22','2021-01-13 21:51:39',40719,NULL,'1727',23,'img//27295066321/logo_punto_venta_27-29506632-1.JPG',1,NULL),(3,1445,'Direccion','2021-03-17 16:22:11','2021-03-17 16:22:11',40723,NULL,NULL,22,NULL,1,NULL),(4,1445,'Magñasco 36 - Isidro Casanova - Buenos Aires','2022-01-05 10:14:23','2022-01-05 10:40:04',40952,'1','null',23,NULL,1,NULL),(5,1445,'Direccion','2025-07-19 10:02:19','2025-07-19 10:02:19',40719,NULL,NULL,22,NULL,1,NULL);

--
