-- Table structure for table `bind_apibank_credentials`
--

CREATE TABLE `bind_apibank_credentials` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL COMMENT 'Usuario que configuró las credenciales',
  `person_id` int(10) unsigned NOT NULL COMMENT 'Empresa',
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL COMMENT 'Cuenta de tesorería vinculada',
  `env` enum('sandbox','prod') COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Ambiente: sandbox o producción',
  `username` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Usuario de Bind APIBank',
  `password` text COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Password encriptado con Laravel Crypt',
  `cert_path` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Path absoluto al certificado SSL del cliente (.crt)',
  `key_path` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Path absoluto a la llave privada SSL (.key)',
  `key_password` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Password de la llave privada (si está protegida con password)',
  `jwt_token` text COLLATE utf8mb4_unicode_ci COMMENT 'Token JWT actual',
  `jwt_expires_at` datetime DEFAULT NULL COMMENT 'Fecha de expiración del token JWT',
  `bind_account_id` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'ID de cuenta en Bind (obtenido al hacer login)',
  `active` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'Credencial activa?',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_bind_apibank_cred_person` (`person_id`),
  KEY `idx_bind_apibank_cred_cuenta` (`cta_cte_tesoreria_cuenta_id`),
  KEY `idx_bind_apibank_cred_active` (`active`),
  KEY `idx_bind_apibank_cred_bind_acc` (`bind_account_id`),
  KEY `idx_bind_apibank_cred_person_active` (`person_id`,`active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `bind_apibank_credentials`
--


--
-- Table structure for table `bind_apibank_movements`
--

CREATE TABLE `bind_apibank_movements` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL COMMENT 'Usuario que ejecutó la sincronización',
  `person_id` int(10) unsigned NOT NULL COMMENT 'Empresa',
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL COMMENT 'Cuenta de tesorería',
  `cta_cte_tesoreria_id` int(10) unsigned DEFAULT NULL COMMENT 'Movimiento en tesorería (vinculación bidireccional)',
  `bind_movement_id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'ID único del movimiento en Bind',
  `type` enum('in','out','fee') COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Tipo: in=transferencia entrante, out=transferencia saliente, fee=comisión',
  `status` enum('settled','pending','failed') COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Estado del movimiento',
  `amount` decimal(15,2) NOT NULL COMMENT 'Monto del movimiento',
  `currency` char(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ARS' COMMENT 'Moneda (ARS, USD)',
  `from_cbu_cvu` varchar(22) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'CBU/CVU origen',
  `from_titular` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Titular de la cuenta origen',
  `from_cuit` varchar(13) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'CUIT del titular origen',
  `to_cbu_cvu` varchar(22) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'CBU/CVU destino',
  `to_titular` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Titular de la cuenta destino',
  `to_cuit` varchar(13) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'CUIT del titular destino',
  `concept` text COLLATE utf8mb4_unicode_ci COMMENT 'Concepto/descripción del movimiento',
  `reference` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Referencia del movimiento',
  `executed_at` datetime DEFAULT NULL COMMENT 'Fecha de ejecución del movimiento en Bind',
  `raw_response` json DEFAULT NULL COMMENT 'Respuesta completa de la API de Bind (para auditoría)',
  `is_synced_to_treasury` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Ya sincronizado a tesorería?',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_bind_apibank_mov_bind_id` (`bind_movement_id`),
  KEY `idx_bind_apibank_mov_person` (`person_id`),
  KEY `idx_bind_apibank_mov_cuenta` (`cta_cte_tesoreria_cuenta_id`),
  KEY `idx_bind_apibank_mov_tesoreria` (`cta_cte_tesoreria_id`),
  KEY `idx_bind_apibank_mov_synced` (`is_synced_to_treasury`),
  KEY `idx_bind_apibank_mov_executed` (`executed_at`),
  KEY `idx_bind_apibank_mov_type_status` (`type`,`status`),
  KEY `idx_bind_apibank_mov_person_synced` (`person_id`,`is_synced_to_treasury`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `bind_apibank_movements`
--


--
-- Table structure for table `bind_apibank_sync_logs`
--

CREATE TABLE `bind_apibank_sync_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL COMMENT 'Usuario que ejecutó la sincronización',
  `person_id` int(10) unsigned NOT NULL COMMENT 'Empresa',
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL COMMENT 'Cuenta sincronizada',
  `sync_type` enum('movements','balance','transfers','webhook') COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Tipo de sincronización: movements=movimientos, balance=saldo, transfers=transferencias, webhook=desde webhook',
  `last_sync_at` datetime NOT NULL COMMENT 'Fecha/hora de la sincronización',
  `records_synced` int(11) NOT NULL DEFAULT '0' COMMENT 'Cantidad de registros sincronizados',
  `status` enum('success','error') COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Estado de la sincronización',
  `error_message` text COLLATE utf8mb4_unicode_ci COMMENT 'Mensaje de error (si status=error)',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_bind_apibank_sync_person` (`person_id`),
  KEY `idx_bind_apibank_sync_cuenta` (`cta_cte_tesoreria_cuenta_id`),
  KEY `idx_bind_apibank_sync_type` (`sync_type`),
  KEY `idx_bind_apibank_sync_last` (`last_sync_at`),
  KEY `idx_bind_apibank_sync_type_status` (`sync_type`,`status`),
  KEY `idx_bind_apibank_sync_person_type` (`person_id`,`sync_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `bind_apibank_sync_logs`
--


--
-- Table structure for table `bind_apibank_transfers`
--

CREATE TABLE `bind_apibank_transfers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL COMMENT 'Usuario que ejecutó la transferencia',
  `person_id` int(10) unsigned NOT NULL COMMENT 'Empresa',
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL COMMENT 'Cuenta origen de la transferencia',
  `cta_cte_tesoreria_id` int(10) unsigned DEFAULT NULL COMMENT 'Movimiento en tesorería resultante (vinculación)',
  `bind_transfer_id` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'ID de transferencia en Bind',
  `numero_operacion` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Número de operación bancaria',
  `cbu_origin` varchar(22) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'CBU origen (nuestra cuenta)',
  `cbu_destination` varchar(22) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'CBU destino',
  `alias_destination` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Alias destino (alternativo a CBU)',
  `amount` decimal(15,2) NOT NULL COMMENT 'Monto de la transferencia',
  `currency` char(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ARS' COMMENT 'Moneda (ARS, USD)',
  `concept` text COLLATE utf8mb4_unicode_ci COMMENT 'Concepto de la transferencia',
  `reference` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Referencia interna (ej: FAC-001-1234)',
  `type` enum('INMEDIATA','PROGRAMADA') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'INMEDIATA' COMMENT 'Tipo de transferencia',
  `status` enum('PENDIENTE','APROBADA','RECHAZADA','CANCELADA') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'PENDIENTE' COMMENT 'Estado de la transferencia',
  `scheduled_at` datetime DEFAULT NULL COMMENT 'Fecha programada (si type=PROGRAMADA)',
  `executed_at` datetime DEFAULT NULL COMMENT 'Fecha de ejecución real',
  `comision` decimal(15,2) DEFAULT '0.00' COMMENT 'Comisión cobrada por Bind',
  `iva_comision` decimal(15,2) DEFAULT '0.00' COMMENT 'IVA de la comisión',
  `total_debitado` decimal(15,2) DEFAULT NULL COMMENT 'Total debitado (monto + comisión + IVA)',
  `raw_response` json DEFAULT NULL COMMENT 'Respuesta completa de la API de Bind',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_bind_apibank_trf_person` (`person_id`),
  KEY `idx_bind_apibank_trf_cuenta` (`cta_cte_tesoreria_cuenta_id`),
  KEY `idx_bind_apibank_trf_tesoreria` (`cta_cte_tesoreria_id`),
  KEY `idx_bind_apibank_trf_status` (`status`),
  KEY `idx_bind_apibank_trf_bind_id` (`bind_transfer_id`),
  KEY `idx_bind_apibank_trf_executed` (`executed_at`),
  KEY `idx_bind_apibank_trf_type_status` (`type`,`status`),
  KEY `idx_bind_apibank_trf_person_status` (`person_id`,`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `bind_apibank_transfers`
--


--
-- Table structure for table `blogs`
--

CREATE TABLE `blogs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fecha` date NOT NULL,
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `blogs_categoria_id` int(10) unsigned NOT NULL,
  `blogs_categoria_sub_id` int(10) unsigned NOT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `titulo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `contenido` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `autor` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `publicar` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `blogs_blogs_categoria_id_foreign` (`blogs_categoria_id`),
  KEY `blogs_blogs_categoria_sub_id_foreign` (`blogs_categoria_sub_id`),
  CONSTRAINT `blogs_blogs_categoria_id_foreign` FOREIGN KEY (`blogs_categoria_id`) REFERENCES `blogs_categorias` (`id`),
  CONSTRAINT `blogs_blogs_categoria_sub_id_foreign` FOREIGN KEY (`blogs_categoria_sub_id`) REFERENCES `blogs_categorias_sub` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `blogs`
--


--
-- Table structure for table `blogs_categorias`
--

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

--
-- Dumping data for table `blogs_categorias`
--


--
-- Table structure for table `blogs_categorias_sub`
--

CREATE TABLE `blogs_categorias_sub` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `blogs_categoria_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `blogs_categorias_sub_blogs_categoria_id_foreign` (`blogs_categoria_id`),
  CONSTRAINT `blogs_categorias_sub_blogs_categoria_id_foreign` FOREIGN KEY (`blogs_categoria_id`) REFERENCES `blogs_categorias` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `blogs_categorias_sub`
--


--
-- Table structure for table `bs_per_alicuotas`
--

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

--
-- Dumping data for table `bs_per_alicuotas`
--

INSERT INTO `bs_per_alicuotas` VALUES (1,2017,950000.00,0.00,999999999.99,0.00,0.0050,950000.00,'2019-11-19 21:09:50','2019-11-19 21:09:50',NULL),(2,2018,1050000.00,0.00,999999999.99,0.00,0.0025,1050000.00,'2019-11-19 21:09:50','2019-11-19 21:09:50',NULL),(3,2019,2000000.00,0.00,3000000.00,0.00,0.0050,0.00,'2019-11-19 21:09:50','2022-10-11 14:20:32',NULL),(4,2019,2000000.00,3000000.00,6500000.00,15000.00,0.0075,3000000.00,'2019-11-19 21:09:50','2022-10-11 14:20:32',NULL),(5,2019,2000000.00,6500000.00,18000000.00,41250.00,0.0100,6500000.00,'2019-11-19 21:09:50','2022-10-11 14:20:32',NULL),(6,2019,2000000.00,18000000.00,999999999.99,156250.00,0.0125,18000000.00,'2022-10-11 14:20:32','2022-10-11 14:20:32',NULL),(7,2020,2000000.00,0.00,3000000.00,0.00,0.0050,0.00,'2022-10-11 14:20:40','2022-10-11 14:20:40',NULL),(8,2020,2000000.00,3000000.00,6500000.00,15000.00,0.0075,3000000.00,'2022-10-11 14:20:40','2022-10-11 14:20:40',NULL),(9,2020,2000000.00,6500000.00,18000000.00,41250.00,0.0100,6500000.00,'2022-10-11 14:20:40','2022-10-11 14:20:40',NULL),(10,2020,2000000.00,18000000.00,999999999.99,156250.00,0.0125,18000000.00,'2022-10-11 14:20:40','2022-10-11 14:20:40',NULL),(11,2021,6000000.00,0.00,3000000.00,0.00,0.0050,0.00,'2022-10-11 14:20:49','2022-10-11 14:20:49',NULL),(12,2021,6000000.00,3000000.00,6500000.00,15000.00,0.0075,3000000.00,'2022-10-11 14:20:49','2022-10-11 14:20:49',NULL),(13,2021,6000000.00,6500000.00,18000000.00,41250.00,0.0100,6500000.00,'2022-10-11 14:20:49','2022-10-11 14:20:49',NULL),(14,2021,6000000.00,18000000.00,999999999.99,156250.00,0.0125,18000000.00,'2022-10-11 14:20:49','2022-10-11 14:20:49',NULL),(15,2022,11282141.08,0.00,5641070.54,0.00,0.0050,0.00,'2023-05-30 15:04:56','2023-05-30 15:04:56',NULL),(16,2022,11282141.08,5641070.54,12222319.51,28205.35,0.0075,5641070.54,'2023-05-30 15:04:56','2023-05-30 15:04:56',NULL),(17,2022,11282141.08,12222319.51,33846423.25,77564.72,0.0100,12222319.51,'2023-05-30 15:04:56','2023-05-30 15:04:56',NULL),(18,2022,11282141.08,33846423.25,188035684.71,293802.76,0.0125,33846423.25,'2023-05-30 15:04:56','2023-05-30 15:04:56',NULL),(19,2022,11282141.08,188035684.71,564107054.14,2221171.53,0.0150,188035684.71,'2023-05-30 15:04:56','2023-05-30 15:04:56',NULL),(20,2022,11282141.08,564107054.14,999999999999.00,7682242.07,0.0175,564107054.14,'2023-05-30 15:04:56','2023-05-30 15:04:56',NULL);

--
-- Table structure for table `bs_per_ddjjs`
--

CREATE TABLE `bs_per_ddjjs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `anio` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `total_bienes_gravados` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_bienes_exentos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `min_no_imponible` decimal(16,2) NOT NULL DEFAULT '0.00',
  `base_imponible` decimal(16,2) NOT NULL DEFAULT '0.00',
  `impuesto_determinado` decimal(16,2) NOT NULL DEFAULT '0.00',
  `saldo_a_pagar` decimal(16,2) NOT NULL DEFAULT '0.00',
  `saldo_a_favor` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bs_per_ddjjs_person_id_foreign` (`person_id`),
  CONSTRAINT `bs_per_ddjjs_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `bs_per_ddjjs`
--


--
-- Table structure for table `bs_pers_conceptos`
--

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

--
-- Dumping data for table `bs_pers_conceptos`
--

INSERT INTO `bs_pers_conceptos` VALUES (1,'Inmuebles',1,'2019-11-19 21:09:50','2019-11-19 21:09:50',NULL),(2,'Derechos Reales',1,'2019-11-19 21:09:50','2019-11-19 21:09:50',NULL),(3,'Naves y Aeronaves',1,'2019-11-19 21:09:50','2019-11-19 21:09:50',NULL),(4,'Automotores y otros rodados',1,'2019-11-19 21:09:50','2019-11-19 21:09:50',NULL),(5,'Dinero y depósitos en dinero',1,'2019-11-19 21:09:50','2019-11-19 21:09:50',NULL),(6,'Títulos, acciones, cuotas o participaciones sociales y otros títulos valores',1,'2019-11-19 21:09:50','2019-11-19 21:09:50',NULL),(7,'Patrimonio de empresas o explotaciones unipersonales',1,'2019-11-19 21:09:50','2019-11-19 21:09:50',NULL),(8,'Créditos y debentures',1,'2019-11-19 21:09:50','2019-11-19 21:09:50',NULL),(9,'Derechos de propiedad científica, literaria o artística, marcas, patentes y sus licencias',1,'2019-11-19 21:09:50','2019-11-19 21:09:50',NULL),(10,'Otros Bienes (incluye semovientes, antigüedades, objetos de colección, objetos de arte, ...)',1,'2019-11-19 21:09:50','2019-11-19 21:09:50',NULL),(11,'Objetos Personales y del Hogar',1,'2019-11-19 21:09:50','2019-11-19 21:09:50',NULL);

--
-- Table structure for table `bs_pers_detail_anticipos`
--

CREATE TABLE `bs_pers_detail_anticipos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `bs_per_ddjj_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `ganan_concepto_anticipo_id` int(10) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bs_pers_detail_anticipos_bs_per_ddjj_id_foreign` (`bs_per_ddjj_id`),
  KEY `bs_pers_detail_anticipos_person_id_foreign` (`person_id`),
  KEY `bs_pers_detail_anticipos_ganan_concepto_anticipo_id_foreign` (`ganan_concepto_anticipo_id`),
  CONSTRAINT `bs_pers_detail_anticipos_bs_per_ddjj_id_foreign` FOREIGN KEY (`bs_per_ddjj_id`) REFERENCES `bs_per_ddjjs` (`id`),
  CONSTRAINT `bs_pers_detail_anticipos_ganan_concepto_anticipo_id_foreign` FOREIGN KEY (`ganan_concepto_anticipo_id`) REFERENCES `ganan_conceptos_anticipos` (`id`),
  CONSTRAINT `bs_pers_detail_anticipos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `bs_pers_detail_anticipos`
--


--
-- Table structure for table `bs_pers_detail_bienes`
--

CREATE TABLE `bs_pers_detail_bienes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `bs_per_ddjj_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `bs_pers_concepto_id` int(10) unsigned NOT NULL,
  `concepto` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe_gravado` decimal(16,2) NOT NULL DEFAULT '0.00',
  `importe_exento` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bs_pers_detail_bienes_bs_per_ddjj_id_foreign` (`bs_per_ddjj_id`),
  KEY `bs_pers_detail_bienes_person_id_foreign` (`person_id`),
  KEY `bs_pers_detail_bienes_bs_pers_concepto_id_foreign` (`bs_pers_concepto_id`),
  CONSTRAINT `bs_pers_detail_bienes_bs_per_ddjj_id_foreign` FOREIGN KEY (`bs_per_ddjj_id`) REFERENCES `bs_per_ddjjs` (`id`),
  CONSTRAINT `bs_pers_detail_bienes_bs_pers_concepto_id_foreign` FOREIGN KEY (`bs_pers_concepto_id`) REFERENCES `bs_pers_conceptos` (`id`),
  CONSTRAINT `bs_pers_detail_bienes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `bs_pers_detail_bienes`
--


--
-- Table structure for table `calendar`
--

CREATE TABLE `calendar` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `ws_telefono_id` bigint(20) unsigned DEFAULT NULL,
  `inv_ot_id` bigint(20) unsigned DEFAULT NULL,
  `calendar_tur_dispo_dato_id` bigint(20) unsigned DEFAULT NULL,
  `title` longtext COLLATE utf8mb4_unicode_ci,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `descripcion_text` longtext COLLATE utf8mb4_unicode_ci,
  `url` text COLLATE utf8mb4_unicode_ci,
  `start` datetime DEFAULT NULL,
  `startEditable` tinyint(1) NOT NULL DEFAULT '1',
  `startStr` text COLLATE utf8mb4_unicode_ci,
  `end` datetime DEFAULT NULL,
  `endStr` text COLLATE utf8mb4_unicode_ci,
  `allDay` tinyint(1) NOT NULL DEFAULT '1',
  `allow` tinyint(1) DEFAULT NULL,
  `backgroundColor` text COLLATE utf8mb4_unicode_ci,
  `borderColor` text COLLATE utf8mb4_unicode_ci,
  `classNames` longtext COLLATE utf8mb4_unicode_ci,
  `constraint` text COLLATE utf8mb4_unicode_ci,
  `display` text COLLATE utf8mb4_unicode_ci,
  `durationEditable` tinyint(1) NOT NULL DEFAULT '1',
  `extendedProps` longtext COLLATE utf8mb4_unicode_ci,
  `groupId` text COLLATE utf8mb4_unicode_ci,
  `overlap` text COLLATE utf8mb4_unicode_ci,
  `source` longtext COLLATE utf8mb4_unicode_ci,
  `textColor` text COLLATE utf8mb4_unicode_ci,
  `is_impuesto_from_taxes` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `calendar_person_id_foreign` (`person_id`),
  KEY `calendar_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `calendar_ws_telefono_id_foreign` (`ws_telefono_id`),
  KEY `calendar_calendar_tur_dispo_dato_id_foreign` (`calendar_tur_dispo_dato_id`),
  KEY `calendar_inv_ot_id_foreign` (`inv_ot_id`),
  CONSTRAINT `calendar_calendar_tur_dispo_dato_id_foreign` FOREIGN KEY (`calendar_tur_dispo_dato_id`) REFERENCES `calendar_tur_dispo_datos` (`id`),
  CONSTRAINT `calendar_inv_ot_id_foreign` FOREIGN KEY (`inv_ot_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `calendar_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `calendar_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `calendar_ws_telefono_id_foreign` FOREIGN KEY (`ws_telefono_id`) REFERENCES `ws_telefonos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `calendar`
--


--
-- Table structure for table `calendar_emails_telefonos`
--

CREATE TABLE `calendar_emails_telefonos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `calendar_id` bigint(20) unsigned NOT NULL,
  `email` text COLLATE utf8mb4_unicode_ci,
  `celular` 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 `calendar_emails_telefonos_calendar_id_foreign` (`calendar_id`),
  CONSTRAINT `calendar_emails_telefonos_calendar_id_foreign` FOREIGN KEY (`calendar_id`) REFERENCES `calendar` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `calendar_emails_telefonos`
--


--
-- Table structure for table `calendar_files`
--

CREATE TABLE `calendar_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `calendar_id` bigint(20) unsigned NOT NULL,
  `path` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `original_name` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `calendar_files_calendar_id_foreign` (`calendar_id`),
  CONSTRAINT `calendar_files_calendar_id_foreign` FOREIGN KEY (`calendar_id`) REFERENCES `calendar` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `calendar_files`
--


--
-- Table structure for table `calendar_niv_1`
--

CREATE TABLE `calendar_niv_1` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `detalle` text COLLATE utf8mb4_unicode_ci,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `calendar_niv_1_person_id_foreign` (`person_id`),
  CONSTRAINT `calendar_niv_1_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `calendar_niv_1`
--


--
-- Table structure for table `calendar_niv_1_2`
--

CREATE TABLE `calendar_niv_1_2` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `calendar_niv_1_id` bigint(20) unsigned NOT NULL,
  `calendar_niv_2_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 `calendar_niv_1_2_person_id_foreign` (`person_id`),
  KEY `calendar_niv_1_2_calendar_niv_1_id_foreign` (`calendar_niv_1_id`),
  KEY `calendar_niv_1_2_calendar_niv_2_id_foreign` (`calendar_niv_2_id`),
  CONSTRAINT `calendar_niv_1_2_calendar_niv_1_id_foreign` FOREIGN KEY (`calendar_niv_1_id`) REFERENCES `calendar_niv_1` (`id`),
  CONSTRAINT `calendar_niv_1_2_calendar_niv_2_id_foreign` FOREIGN KEY (`calendar_niv_2_id`) REFERENCES `calendar_niv_2` (`id`),
  CONSTRAINT `calendar_niv_1_2_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `calendar_niv_1_2`
--


--
-- Table structure for table `calendar_niv_2`
--

CREATE TABLE `calendar_niv_2` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `detalle` text COLLATE utf8mb4_unicode_ci,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `calendar_niv_2_person_id_foreign` (`person_id`),
  CONSTRAINT `calendar_niv_2_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `calendar_niv_2`
--


--
-- Table structure for table `calendar_notificaciones`
--

CREATE TABLE `calendar_notificaciones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `calendar_id` bigint(20) unsigned NOT NULL,
  `start` datetime DEFAULT NULL,
  `tipo_de_notificacion_id` int(10) unsigned NOT NULL,
  `cantidad` int(10) unsigned NOT NULL,
  `unidad_de_tiempo_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 `calendar_notificaciones_calendar_id_foreign` (`calendar_id`),
  CONSTRAINT `calendar_notificaciones_calendar_id_foreign` FOREIGN KEY (`calendar_id`) REFERENCES `calendar` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `calendar_notificaciones`
--


--
-- Table structure for table `calendar_tur_dispo`
--

CREATE TABLE `calendar_tur_dispo` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `calendar_niv_1_id` bigint(20) unsigned NOT NULL,
  `calendar_niv_2_id` bigint(20) unsigned NOT NULL,
  `dia_hora` datetime(5) DEFAULT NULL,
  `duracion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '00:30',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `calendar_tur_dispo_person_id_foreign` (`person_id`),
  KEY `calendar_tur_dispo_calendar_niv_1_id_foreign` (`calendar_niv_1_id`),
  KEY `calendar_tur_dispo_calendar_niv_2_id_foreign` (`calendar_niv_2_id`),
  CONSTRAINT `calendar_tur_dispo_calendar_niv_1_id_foreign` FOREIGN KEY (`calendar_niv_1_id`) REFERENCES `calendar_niv_1` (`id`),
  CONSTRAINT `calendar_tur_dispo_calendar_niv_2_id_foreign` FOREIGN KEY (`calendar_niv_2_id`) REFERENCES `calendar_niv_2` (`id`),
  CONSTRAINT `calendar_tur_dispo_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `calendar_tur_dispo`
--


--
-- Table structure for table `calendar_tur_dispo_datos`
--

CREATE TABLE `calendar_tur_dispo_datos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `calendar_tur_dispo_id` bigint(20) unsigned NOT NULL,
  `email` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `nombre_ape` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `celular` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `calendar_tur_dispo_datos_person_id_foreign` (`person_id`),
  KEY `calendar_tur_dispo_datos_calendar_tur_dispo_id_foreign` (`calendar_tur_dispo_id`),
  CONSTRAINT `calendar_tur_dispo_datos_calendar_tur_dispo_id_foreign` FOREIGN KEY (`calendar_tur_dispo_id`) REFERENCES `calendar_tur_dispo` (`id`),
  CONSTRAINT `calendar_tur_dispo_datos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `calendar_tur_dispo_datos`
--


--
-- Table structure for table `calle`
--

CREATE TABLE `calle` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `localidad_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `desdealt` int(10) unsigned DEFAULT NULL,
  `hastaalt` int(10) unsigned DEFAULT NULL,
  `codpostal` 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 `calle_localidad_id_foreign` (`localidad_id`),
  CONSTRAINT `calle_localidad_id_foreign` FOREIGN KEY (`localidad_id`) REFERENCES `localidad` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `calle`
--

INSERT INTO `calle` VALUES (1,NULL,1,'Ramon Falcon',6800,7500,1408,1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);

--
-- Table structure for table `categorias_iibb`
--

CREATE TABLE `categorias_iibb` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `categoria` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `impuesto` decimal(16,2) DEFAULT NULL,
  `anual` decimal(16,2) DEFAULT NULL,
  `facAnual` decimal(16,2) DEFAULT NULL,
  `superficie` int(11) DEFAULT NULL,
  `energia` int(11) DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vigente` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `categorias_iibb`
--

INSERT INTO `categorias_iibb` VALUES (1,'A',1850.00,11100.00,370000.00,30,3300,NULL,'1',NULL,'2022-10-23 23:36:25',NULL),(2,'B',2750.00,16500.00,550000.00,45,5000,NULL,'1',NULL,'2022-10-23 23:36:25',NULL),(3,'C',3850.00,23100.00,770000.00,60,6700,NULL,'1',NULL,'2022-10-23 23:36:25',NULL),(4,'D',5300.00,31800.00,1060000.00,85,10000,NULL,'1',NULL,'2022-10-23 23:36:25',NULL),(5,'E',7000.00,42000.00,1400000.00,110,13000,NULL,'1',NULL,'2022-10-23 23:36:25',NULL),(6,'F',8750.00,52500.00,1750000.00,150,16500,NULL,'1',NULL,'2022-10-23 23:36:25',NULL),(7,'G',10500.00,63000.00,2100000.00,200,20000,NULL,'1',NULL,'2022-10-23 23:36:25',NULL),(8,'H',13000.00,78000.00,2600000.00,200,20000,NULL,'1',NULL,'2022-10-23 23:36:25',NULL);

--
-- Table structure for table `categorias_monotributo`
--

CREATE TABLE `categorias_monotributo` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `categoria` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `facAnual` decimal(16,2) DEFAULT NULL,
  `facMensual` decimal(16,2) DEFAULT NULL,
  `actividad` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `empleados` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `superficie` int(11) DEFAULT NULL,
  `energia` int(11) DEFAULT NULL,
  `alquileres` decimal(16,2) DEFAULT NULL,
  `impuesto_servicio` decimal(16,2) DEFAULT NULL,
  `impuesto_venta` decimal(16,2) DEFAULT NULL,
  `sipa` decimal(16,2) DEFAULT NULL,
  `obraSocial` decimal(16,2) DEFAULT NULL,
  `totalServicio` decimal(16,2) DEFAULT NULL,
  `totalVenta` decimal(16,2) DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `desde` date DEFAULT NULL,
  `hasta` date DEFAULT NULL,
  `vigente` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `categorias_monotributo`
--

INSERT INTO `categorias_monotributo` VALUES (1,'A',8992597.87,749383.16,'No Excluida','0',30,3330,2091301.83,4182.60,4182.60,13663.17,19239.97,37085.74,37085.74,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(2,'B',13175201.52,1097933.46,'No Excluida','0',45,5000,2091301.83,7946.95,7946.95,15029.49,19239.97,42216.41,42216.41,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(3,'C',18473166.15,1539430.51,'No Excluida','0',60,6700,2858112.50,13663.17,12547.81,16532.44,19239.97,49435.58,48320.22,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(4,'D',22934610.05,1911217.50,'No Excluida','0',85,10000,2858112.50,22307.22,20773.60,18185.68,22864.90,63357.80,61824.18,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(5,'E',26977793.60,2248149.47,'No Excluida','0',110,13000,3624923.17,41826.04,33181.99,20004.25,27884.02,89714.31,81070.26,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(6,'F',33809379.57,2817448.30,'No Excluida','0',150,16500,3624923.17,58835.29,43220.24,22004.67,32066.63,112906.59,97291.54,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(7,'G',40431835.35,3369319.61,'No Excluida','0',200,20000,4322023.77,107074.65,53537.32,30806.54,34576.19,172457.38,118920.05,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(8,'H',61344853.64,5112071.14,'No Excluida','0',200,20000,6273905.49,306724.27,153362.13,43129.16,41547.19,391400.62,238038.48,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(9,'I',68664410.05,5722034.17,'Venta de Bs Muebles','0',200,20000,6273905.49,609963.03,243985.21,60380.82,51306.61,721650.46,355672.64,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(10,'J',78632948.76,6552745.73,'Venta de Bs Muebles','0',200,20000,6273905.49,731955.63,292782.26,84533.15,57580.51,874069.29,434895.92,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(11,'K',94805682.90,7900473.58,'Venta de Bs Muebles','0',200,20000,6273905.49,1024737.89,341579.30,118346.41,65806.30,1208890.60,525732.01,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(12,'Monotributo Social',1414762.00,117896.00,'No Excluida','0',0,0,0.00,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'2018-01-01',NULL,'1','2020-02-27 02:46:40','2020-02-27 02:46:40',NULL),(13,'A Exento',1414762.00,117896.00,NULL,NULL,NULL,NULL,230178.48,0.00,0.00,2192.15,3061.75,5253.90,5253.90,'',NULL,NULL,'0',NULL,NULL,NULL),(14,'B Exento',2103025.00,175252.00,NULL,NULL,NULL,NULL,230178.48,0.00,0.00,2411.36,3061.75,5473.11,5473.11,'',NULL,NULL,'0',NULL,NULL,NULL);

--
-- Table structure for table `charlas_details`
--

CREATE TABLE `charlas_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `charla` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `status` int(10) 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 `charlas_details_person_id_foreign` (`person_id`),
  CONSTRAINT `charlas_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `charlas_details`
--

DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`forge`@`%`*/ /*!50003 TRIGGER `CharlaDetail_BD` BEFORE DELETE ON `charlas_details` FOR EACH ROW insert into back_up_charlas_details (charla,person_id,modificado)
values(old.charla,old.person_id,now()) */;;
DELIMITER ;

--
-- Table structure for table `chequeras_tipos`
--

CREATE TABLE `chequeras_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=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `chequeras_tipos`
--

INSERT INTO `chequeras_tipos` VALUES (1,NULL,'Fisica',1,NULL,NULL,NULL),(2,NULL,'Electronica',1,NULL,NULL,NULL),(3,NULL,'Transferencias',1,NULL,NULL,NULL);

--
-- Table structure for table `cheques_transfer_emitidas`
--

CREATE TABLE `cheques_transfer_emitidas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_cliente_detail_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_detail_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_banco_cheq_id` int(10) unsigned NOT NULL,
  `fecha_emision` date NOT NULL,
  `fecha_cobro` date NOT NULL,
  `numero_cheque` int(11) NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cheques_transfer_emitidas_person_id_foreign` (`person_id`),
  KEY `cheques_transfer_emitidas_cta_cte_cliente_detail_id_foreign` (`cta_cte_cliente_detail_id`),
  KEY `cheques_transfer_emitidas_cta_cte_tesoreria_detail_id_foreign` (`cta_cte_tesoreria_detail_id`),
  KEY `cheques_transfer_emitidas_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cte_tes_ban_che_id_foreign` (`cta_cte_tesoreria_banco_cheq_id`),
  CONSTRAINT `cheques_transfer_emitidas_cta_cte_cliente_detail_id_foreign` FOREIGN KEY (`cta_cte_cliente_detail_id`) REFERENCES `cta_cte_cliente_details` (`id`),
  CONSTRAINT `cheques_transfer_emitidas_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cheques_transfer_emitidas_cta_cte_tesoreria_detail_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_detail_id`) REFERENCES `cta_cte_tesoreria_detail` (`id`),
  CONSTRAINT `cheques_transfer_emitidas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cte_tes_ban_che_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_banco_cheq_id`) REFERENCES `cta_cte_tesoreria_banco_cheq` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cheques_transfer_emitidas`
--


--
-- Table structure for table `claves`
--

CREATE TABLE `claves` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `name` 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=44 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `claves`
--

INSERT INTO `claves` VALUES (1,NULL,'Clave Fiscal',NULL,NULL,NULL),(2,NULL,'Clave Ciudad',NULL,NULL,NULL),(3,NULL,'Clave ARBA',NULL,NULL,NULL),(4,NULL,'Clave ANSES',NULL,NULL,NULL),(5,NULL,'Catedral',NULL,NULL,NULL),(6,NULL,'CEMIBA',NULL,NULL,NULL),(7,NULL,'COMPRA ARG',NULL,NULL,NULL),(8,NULL,'Consejo Ciencias Economicas',NULL,NULL,NULL),(9,NULL,'Correo',NULL,NULL,NULL),(10,NULL,'CUR',NULL,NULL,NULL),(11,NULL,'Firma Digital',NULL,NULL,NULL),(12,NULL,'Interbanking',NULL,NULL,NULL),(13,NULL,'Banco Citibank',NULL,NULL,NULL),(14,NULL,'Banco Ciudad',NULL,NULL,NULL),(15,NULL,'Banco Frances',NULL,NULL,NULL),(16,NULL,'Banco Galicia',NULL,NULL,NULL),(17,NULL,'Banco HSBC',NULL,NULL,NULL),(18,NULL,'Banco Itau',NULL,NULL,NULL),(19,NULL,'Banco Nacion',NULL,NULL,NULL),(20,NULL,'Banco Macro',NULL,NULL,NULL),(21,NULL,'Banco Patagonia',NULL,NULL,NULL),(22,NULL,'Banco Provincia',NULL,NULL,NULL),(23,NULL,'Banco Santander',NULL,NULL,NULL),(24,NULL,'Banco Supervielle',NULL,NULL,NULL),(25,NULL,'Seguridad e Higiene',NULL,NULL,NULL),(26,NULL,'Sindicato - ANSES',NULL,NULL,NULL),(27,NULL,'Sindicato - AOT',NULL,NULL,NULL),(28,NULL,'Sindicato - ATSA',NULL,NULL,NULL),(29,NULL,'Sindicato - Camioneros',NULL,NULL,NULL),(30,NULL,'Sindicato - Guinchero',NULL,NULL,NULL),(31,NULL,'Sindicato - IERIC',NULL,NULL,NULL),(32,NULL,'Sindicato - La Estrella',NULL,NULL,NULL),(33,NULL,'Sindicato - Nemesis',NULL,NULL,NULL),(34,NULL,'Sindicato - Pasta',NULL,NULL,NULL),(35,NULL,'Sindicato - SEC',NULL,NULL,NULL),(36,NULL,'Sindicato - SICOP',NULL,NULL,NULL),(37,NULL,'Sindicato - SOCAYA',NULL,NULL,NULL),(38,NULL,'Sindicato - UTHGRA',NULL,NULL,NULL),(39,NULL,'Sindicato - INACAP',NULL,NULL,NULL),(40,NULL,'Sindicato - Otro',NULL,NULL,NULL),(41,NULL,'Otra',NULL,NULL,NULL),(42,NULL,'Prisma - Firma Digital',NULL,NULL,NULL),(43,NULL,'Sindicato - FATSA',NULL,NULL,NULL);

--
-- Table structure for table `claves_details`
--

CREATE TABLE `claves_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `clave` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `valor` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `clave_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `status` int(10) 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 `claves_details_clave_id_foreign` (`clave_id`),
  KEY `claves_details_person_id_foreign` (`person_id`),
  CONSTRAINT `claves_details_clave_id_foreign` FOREIGN KEY (`clave_id`) REFERENCES `claves` (`id`),
  CONSTRAINT `claves_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `claves_details`
--

DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`forge`@`%`*/ /*!50003 TRIGGER `ClavesDetail_BD` BEFORE DELETE ON `claves_details` FOR EACH ROW insert into back_up_claves_details (clave,valor,comentario,clave_id,person_id,modificado)
values(old.clave,old.valor,old.comentario,old.clave_id,old.person_id,now()) */;;
DELIMITER ;

--
-- Table structure for table `claves_mails`
--

CREATE TABLE `claves_mails` (
  `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,
  `path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `claves_mails`
--

INSERT INTO `claves_mails` VALUES (1,'Listado de Claves',1,'Claves','claves_mails/claves_listado',NULL,NULL),(3,'Listado de Mails',2,'Mails','claves_mails/mails_listado',NULL,NULL),(5,'Listado de Charlas',3,'Charlas','claves_mails/charlas_listado',NULL,NULL);

--
-- Table structure for table `cm_articulos_regimenes`
--

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

--
-- Dumping data for table `cm_articulos_regimenes`
--

INSERT INTO `cm_articulos_regimenes` VALUES (1,NULL,'Articulo 2',2,1,'2022-10-11 14:20:40','2022-10-11 14:20:41',NULL),(2,NULL,'Articulo 6',6,0,'2022-10-11 14:20:40','2022-10-11 14:20:41',NULL),(3,NULL,'Articulo 7',7,0,'2022-10-11 14:20:40','2022-10-11 14:20:41',NULL),(4,NULL,'Articulo 8',8,0,'2022-10-11 14:20:40','2022-10-11 14:20:41',NULL),(5,NULL,'Articulo 9',9,0,'2022-10-11 14:20:40','2022-10-11 14:20:41',NULL),(6,NULL,'Articulo 10',10,0,'2022-10-11 14:20:40','2022-10-11 14:20:41',NULL),(7,NULL,'Articulo 11',11,0,'2022-10-11 14:20:40','2022-10-11 14:20:41',NULL),(8,NULL,'Articulo 12',12,0,'2022-10-11 14:20:40','2022-10-11 14:20:41',NULL),(9,NULL,'Articulo 13',13,0,'2022-10-11 14:20:40','2022-10-11 14:20:41',NULL),(10,NULL,'Articulo 14',14,1,'2022-10-11 14:20:40','2022-10-11 14:20:41',NULL);

--
-- Table structure for table `cobradores`
--

CREATE TABLE `cobradores` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `telefono` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cobradores_person_id_foreign` (`person_id`),
  CONSTRAINT `cobradores_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cobradores`
--


--
-- Table structure for table `cobradores_datos`
--

CREATE TABLE `cobradores_datos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cobrador_id` bigint(20) unsigned NOT NULL,
  `url_panel` longtext COLLATE utf8mb4_unicode_ci,
  `usuario` text COLLATE utf8mb4_unicode_ci,
  `clave` text COLLATE utf8mb4_unicode_ci,
  `numero_de_soporte` text COLLATE utf8mb4_unicode_ci,
  `inicial_create_user` text COLLATE utf8mb4_unicode_ci,
  `imp_min_p_retirar` int(11) DEFAULT NULL,
  `secret_recarga` text COLLATE utf8mb4_unicode_ci,
  `secret_on_off` text COLLATE utf8mb4_unicode_ci,
  `clave_new_user` 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 `cobradores_datos_cobrador_id_foreign` (`cobrador_id`),
  CONSTRAINT `cobradores_datos_cobrador_id_foreign` FOREIGN KEY (`cobrador_id`) REFERENCES `cobradores` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cobradores_datos`
--


--
-- Table structure for table `cobradores_metodos`
--

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

--
-- Dumping data for table `cobradores_metodos`
--


--
-- Table structure for table `cobradores_on_off`
--

CREATE TABLE `cobradores_on_off` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cobrador_id` bigint(20) unsigned NOT NULL,
  `on_off` 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`),
  KEY `cobradores_on_off_cobrador_id_foreign` (`cobrador_id`),
  CONSTRAINT `cobradores_on_off_cobrador_id_foreign` FOREIGN KEY (`cobrador_id`) REFERENCES `cobradores` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cobradores_on_off`
--


--
-- Table structure for table `conciliaciones`
--

CREATE TABLE `conciliaciones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `fecha` datetime NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `saldo_conciliado` decimal(13,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 `conciliaciones_person_id_foreign` (`person_id`),
  CONSTRAINT `conciliaciones_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `conciliaciones`
--


--
-- Table structure for table `conciliaciones_details`
--

CREATE TABLE `conciliaciones_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `conciliacion_id` bigint(20) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_detail_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 `conciliaciones_details_person_id_foreign` (`person_id`),
  KEY `conciliaciones_details_cta_cte_tesoreria_detail_id_foreign` (`cta_cte_tesoreria_detail_id`),
  CONSTRAINT `conciliaciones_details_cta_cte_tesoreria_detail_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_detail_id`) REFERENCES `cta_cte_tesoreria_detail` (`id`),
  CONSTRAINT `conciliaciones_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `conciliaciones_details`
--


--
-- Table structure for table `condicion_frente_al_iva`
--

CREATE TABLE `condicion_frente_al_iva` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `codigo_afip` int(11) DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `show_comprobantes_a` tinyint(1) NOT NULL DEFAULT '0',
  `show_comprobantes_b` 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=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `condicion_frente_al_iva`
--

INSERT INTO `condicion_frente_al_iva` VALUES (1,NULL,1,'IVA Responsable Inscripto',1,0,1,NULL,NULL,NULL),(2,NULL,2,'IVA Responsable no Inscripto',0,0,1,NULL,'2025-02-11 16:29:09','2025-02-11 16:29:09'),(3,NULL,3,'IVA no Responsable',0,0,1,NULL,'2025-02-11 16:29:09','2025-02-11 16:29:09'),(4,NULL,4,'IVA Sujeto Exento',0,1,1,NULL,NULL,NULL),(5,NULL,5,'Consumidor Final',0,1,1,NULL,NULL,NULL),(6,NULL,6,'Responsable Monotributo',1,0,1,NULL,NULL,NULL),(7,NULL,7,'Sujeto no Categorizado',0,1,1,NULL,NULL,NULL),(8,NULL,8,'Proveedor del Exterior',0,1,1,NULL,NULL,NULL),(9,NULL,9,'Cliente del Exterior',0,1,1,NULL,NULL,NULL),(10,NULL,10,'IVA Liberado – Ley Nº 19.640',0,1,1,NULL,NULL,NULL),(11,NULL,11,'IVA Responsable Inscripto – Agente de Percepción',0,0,1,NULL,'2025-02-11 16:29:09','2025-02-11 16:29:09'),(12,NULL,12,'Pequeño Contribuyente Eventual',0,0,1,NULL,'2025-02-11 16:29:09','2025-02-11 16:29:09'),(13,NULL,13,'Monotributista Social',1,0,1,NULL,NULL,NULL),(14,NULL,14,'Pequeño Contribuyente Eventual Social',0,0,1,NULL,'2025-02-11 16:29:09','2025-02-11 16:29:09'),(15,NULL,15,'IVA No Alcanzado',0,1,1,NULL,'2025-02-11 19:29:09',NULL),(16,NULL,NULL,'Monotributista Trabajador Independiente Promovido',1,0,1,NULL,'2025-02-11 16:29:09','2025-02-11 16:29:09');

--
-- Table structure for table `condiciones_venta`
--

CREATE TABLE `condiciones_venta` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `descripcion` varchar(100) 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=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `condiciones_venta`
--

INSERT INTO `condiciones_venta` VALUES (1,'Contado',NULL,NULL),(2,'Tarjeta de Debito',NULL,NULL),(3,'Tarjeta de Credito',NULL,NULL),(4,'Cuenta Corriente',NULL,NULL),(5,'Cheque',NULL,NULL),(6,'Ticket',NULL,NULL),(7,'Transferencia',NULL,NULL),(8,'Otra',NULL,NULL);

--
-- Table structure for table `consultas`
--

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

--
-- Dumping data for table `consultas`
--

INSERT INTO `consultas` VALUES (1,NULL,'Estado Liquidaciones',1,NULL,NULL,NULL),(2,NULL,'Consumo',1,NULL,NULL,NULL),(3,NULL,'Resultado Liquidacion Hijas',1,'2023-03-12 23:44:21','2023-03-12 23:44:21',NULL),(4,NULL,'Tablero Control',1,NULL,NULL,NULL);

--
-- Table structure for table `consultas_aux`
--

CREATE TABLE `consultas_aux` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `consulta_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `estado` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `consultas_aux_consulta_id_foreign` (`consulta_id`),
  KEY `consultas_aux_person_id_foreign` (`person_id`),
  CONSTRAINT `consultas_aux_consulta_id_foreign` FOREIGN KEY (`consulta_id`) REFERENCES `consultas` (`id`),
  CONSTRAINT `consultas_aux_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `consultas_aux`
--


--
-- Table structure for table `conta_asientos`
--

CREATE TABLE `conta_asientos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `tipo_asiento_id` int(10) unsigned NOT NULL,
  `debe_cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `haber_cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `ctactecheque_id` int(10) unsigned DEFAULT NULL,
  `num_asiento` int(11) DEFAULT NULL,
  `fecha_registracion` date DEFAULT NULL,
  `fecha_vencimiento` date DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `adjunto` text COLLATE utf8mb4_unicode_ci,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `radioChecked` int(11) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `CuentaTipo_id` int(10) unsigned DEFAULT NULL,
  `CentroCosto_id` int(10) unsigned DEFAULT NULL,
  `pagado` 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 `conta_asientos_person_id_foreign` (`person_id`),
  KEY `conta_asientos_period_id_foreign` (`period_id`),
  KEY `conta_asientos_tipo_asiento_id_foreign` (`tipo_asiento_id`),
  KEY `conta_asientos_cuentatipo_id_foreign` (`CuentaTipo_id`),
  KEY `conta_asientos_centrocosto_id_foreign` (`CentroCosto_id`),
  KEY `conta_asientos_ctactecheque_id_foreign` (`ctactecheque_id`),
  KEY `conta_asientos_haber_cta_cte_tesoreria_cuenta_id_foreign` (`haber_cta_cte_tesoreria_cuenta_id`),
  KEY `conta_asientos_debe_cta_cte_tesoreria_cuenta_id_foreign` (`debe_cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `conta_asientos_centrocosto_id_foreign` FOREIGN KEY (`CentroCosto_id`) REFERENCES `ctactegastos_centrocosto` (`id`),
  CONSTRAINT `conta_asientos_ctactecheque_id_foreign` FOREIGN KEY (`ctactecheque_id`) REFERENCES `ctacte_cheques` (`id`),
  CONSTRAINT `conta_asientos_cuentatipo_id_foreign` FOREIGN KEY (`CuentaTipo_id`) REFERENCES `ctactegastos_cuenta_tipo` (`idCuentaTipo`),
  CONSTRAINT `conta_asientos_debe_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`debe_cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `conta_asientos_haber_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`haber_cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `conta_asientos_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `conta_asientos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `conta_asientos_tipo_asiento_id_foreign` FOREIGN KEY (`tipo_asiento_id`) REFERENCES `conta_tipo_asientos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `conta_asientos`
--


--
-- Table structure for table `conta_asientos_details`
--

CREATE TABLE `conta_asientos_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `conta_asiento_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `tipo_asiento_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `monto` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `conta_asientos_details_conta_asiento_id_foreign` (`conta_asiento_id`),
  KEY `conta_asientos_details_person_id_foreign` (`person_id`),
  KEY `conta_asientos_details_period_id_foreign` (`period_id`),
  KEY `conta_asientos_details_tipo_asiento_id_foreign` (`tipo_asiento_id`),
  KEY `conta_asientos_details_saldo_id_foreign` (`saldo_id`),
  KEY `conta_asientos_details_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `conta_asientos_details_conta_asiento_id_foreign` FOREIGN KEY (`conta_asiento_id`) REFERENCES `conta_asientos` (`id`),
  CONSTRAINT `conta_asientos_details_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `conta_asientos_details_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `conta_asientos_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `conta_asientos_details_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`),
  CONSTRAINT `conta_asientos_details_tipo_asiento_id_foreign` FOREIGN KEY (`tipo_asiento_id`) REFERENCES `conta_tipo_asientos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `conta_asientos_details`
--


--
-- Table structure for table `conta_centro_costo_plan_cuenta`
--

CREATE TABLE `conta_centro_costo_plan_cuenta` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `conta_centro_costo_id` bigint(20) unsigned DEFAULT NULL,
  `conta_plan_cuenta_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 `conta_centro_costo_plan_cuenta_conta_centro_costo_id_foreign` (`conta_centro_costo_id`),
  KEY `conta_centro_costo_plan_cuenta_conta_plan_cuenta_id_foreign` (`conta_plan_cuenta_id`),
  CONSTRAINT `conta_centro_costo_plan_cuenta_conta_centro_costo_id_foreign` FOREIGN KEY (`conta_centro_costo_id`) REFERENCES `conta_centro_costos` (`id`),
  CONSTRAINT `conta_centro_costo_plan_cuenta_conta_plan_cuenta_id_foreign` FOREIGN KEY (`conta_plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `conta_centro_costo_plan_cuenta`
--

INSERT INTO `conta_centro_costo_plan_cuenta` VALUES (1,7941,1,455,NULL,NULL,NULL),(2,7941,2,62,NULL,NULL,NULL);

--
-- Table structure for table `conta_centro_costos`
--

CREATE TABLE `conta_centro_costos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `conta_centro_costos_person_id_foreign` (`person_id`),
  CONSTRAINT `conta_centro_costos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `conta_centro_costos`
--

INSERT INTO `conta_centro_costos` VALUES (1,7941,40734,'Planta',1,NULL,NULL,NULL),(2,7941,40734,'Planta',1,NULL,NULL,NULL);

--
-- Table structure for table `conta_plan_cuenta`
--

CREATE TABLE `conta_plan_cuenta` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `codigo` int(11) NOT NULL,
  `tipo_cuenta_id` int(10) unsigned NOT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `padre` int(11) NOT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `rubro` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cpcuenta_type_tc_id` bigint(20) unsigned DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(10) unsigned NOT NULL DEFAULT '1',
  `no_editable` int(11) NOT NULL DEFAULT '1',
  `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',
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `conta_plan_cuenta_tipo_cuenta_id_foreign` (`tipo_cuenta_id`),
  KEY `conta_plan_cuenta_saldo_id_foreign` (`saldo_id`),
  KEY `conta_plan_cuenta_cpcuenta_type_tc_id_foreign` (`cpcuenta_type_tc_id`),
  CONSTRAINT `conta_plan_cuenta_cpcuenta_type_tc_id_foreign` FOREIGN KEY (`cpcuenta_type_tc_id`) REFERENCES `cpcuenta_types_tc` (`id`),
  CONSTRAINT `conta_plan_cuenta_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`),
  CONSTRAINT `conta_plan_cuenta_tipo_cuenta_id_foreign` FOREIGN KEY (`tipo_cuenta_id`) REFERENCES `conta_tipo_cuentas` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1614 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `conta_plan_cuenta`
--

INSERT INTO `conta_plan_cuenta` VALUES (1,NULL,1000000,1,1,0,'ACTIVO','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(2,NULL,1100000,2,1,1000000,'ACTIVO CORRIENTE','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(3,NULL,1110000,3,1,1100000,'CAJA Y BANCOS','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(4,NULL,1110100,4,1,1110000,'CAJAS','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(5,NULL,1110101,5,1,1110100,'Caja Oficina','Activo',NULL,NULL,0,1,0,0,0,0,NULL),(6,NULL,1110102,5,1,1110100,'Caja Casa','Activo',NULL,NULL,0,1,0,0,0,0,NULL),(7,NULL,1110103,5,1,1110100,'Caja Dolares Casa','Activo',NULL,NULL,0,1,0,0,0,0,NULL),(8,NULL,1110104,5,1,1110100,'Banco Santander 015-372795/5','Activo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(9,NULL,1110200,4,1,1110000,'BANCOS','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(10,NULL,1110201,5,1,1110200,'Banco Santander Rio Cta Corriente','Activo',NULL,NULL,1,2,1,1,1,0,'2020-12-31 13:34:22'),(11,NULL,1110202,5,1,1110200,'Banco Santander Rio Cta Corriente DOLARES','Activo',NULL,NULL,1,2,1,1,1,0,'2020-12-31 13:34:22'),(12,NULL,1130000,3,1,1100000,'CREDITOS POR VENTAS','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(13,NULL,1130101,5,1,1130100,'Clientes - Deudores','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(14,NULL,1130102,5,1,1130100,'Deudores por ventas comunes','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(15,NULL,1130103,5,1,1130100,'Deudores por ventas morosos','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(16,NULL,1130104,5,1,1130100,'Deudores en gestión judicial','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(17,NULL,1130105,5,1,1130100,'Previsión deudores incobrables','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(18,NULL,1140000,3,1,1100000,'OTROS CREDITOS','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(19,NULL,1140100,4,1,1140000,'Retenciones Sufridas','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(20,NULL,1140301,5,1,1140300,'Anticipos Impuesto a las Ganancias','Activo',4,NULL,1,2,0,0,1,1,NULL),(21,NULL,1140102,5,1,1140100,'Retenciones Ingr. Brutos','Activo',NULL,NULL,0,1,0,0,0,0,NULL),(22,NULL,1140329,5,1,1140300,'Anticipo Impto.Ganancia Mínima Presunta','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(23,NULL,1140105,5,1,1140100,'Retenciones Impuesto a las Ganancias','Activo',3,NULL,1,2,1,0,0,1,NULL),(24,NULL,1140106,5,1,1140100,'Impuesto a las Ganancias (Saldo a favor)','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(25,NULL,1140107,5,1,1140100,'Retenciones de IVA','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(26,NULL,1140200,4,1,1140000,'CREDITOS DIVERSOS','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(27,7941,1140235,5,1,1140200,'Anticipos a proveedores','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(28,NULL,1140205,5,1,1140200,'Depósito en garantía alquileres','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(29,NULL,1140206,5,1,1140200,'Derechos adquiridos a devengar','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(30,NULL,1140207,5,1,1140200,'Intereses a devengar','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(31,NULL,1140208,5,1,1140200,'Cuentas a rendir - Directores','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(32,NULL,1140210,5,1,1140200,'Alquileres no devengados','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(33,NULL,1150000,3,1,1100000,'BIENES DE CAMBIO','Activo',5,NULL,1,1,0,0,0,0,NULL),(34,NULL,1150400,4,1,1150000,'MERCADERIA DE REVENTA','Activo',5,NULL,1,1,0,0,0,0,NULL),(35,NULL,1200000,2,1,1000000,'ACTIVO NO CORRIENTE','Activo',5,NULL,1,1,0,0,0,0,NULL),(36,NULL,1220000,3,1,1200000,'BIENES DE USO','Activo',5,NULL,1,1,0,0,0,0,NULL),(37,NULL,1220100,4,1,1220000,'EQUIPOS DE COMPUTACION','Activo',5,NULL,1,1,0,0,0,0,NULL),(38,NULL,1220101,5,1,1220100,'Equipos de computación valores históricos','Activo',5,NULL,1,1,0,0,0,1,NULL),(39,NULL,1220102,5,1,1220100,'Equipos de computación ajuste','Activo',5,NULL,1,1,0,0,0,1,NULL),(40,NULL,1220108,5,1,1220100,'Amortización Acumulada Equipos de comput.','Activo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(41,NULL,1220200,4,1,1220000,'INSTALACIONES','Activo',5,NULL,1,1,0,0,0,0,NULL),(42,NULL,1220201,5,1,1220200,'Instalaciones valores históricos','Activo',5,NULL,1,1,0,0,0,1,NULL),(43,NULL,1220202,5,1,1220200,'Instalaciones ajuste','Activo',5,NULL,1,1,0,0,0,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (44,NULL,1220206,5,1,1220200,'Amortización Acumulada Instalaciones','Activo',5,NULL,1,1,0,0,0,1,NULL),(45,NULL,1220300,4,1,1220000,'MUEBLES Y UTILES','Activo',5,NULL,1,1,0,0,0,0,NULL),(46,NULL,1220301,5,1,1220300,'Muebles y utiles valores históricos','Activo',5,NULL,1,1,0,0,0,1,NULL),(47,NULL,1220302,5,1,1220300,'Muebles y utiles ajuste','Activo',5,NULL,1,1,0,0,0,1,NULL),(48,NULL,1220306,5,1,1220300,'Amortización Acumulada Muebles y Útiles','Activo',5,NULL,1,1,0,0,0,1,NULL),(49,NULL,1230000,3,1,1200000,'ACTIVOS INTANGIBLES','Activo',5,NULL,1,1,0,0,0,0,NULL),(50,NULL,1230101,5,1,1230100,'Gastos de organización valores historicos','Activo',5,NULL,1,1,0,0,0,1,NULL),(51,NULL,1230102,5,1,1230100,'Gastos de organización ajuste','Activo',5,NULL,1,1,0,0,0,1,NULL),(52,NULL,1230103,5,1,1230100,'Amortización acumulada gs. de organización','Activo',5,NULL,1,1,0,0,0,1,NULL),(53,NULL,2000000,1,2,0,'PASIVO','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(54,NULL,2100000,2,2,2000000,'PASIVO CORRIENTE','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(55,NULL,2110000,3,2,2100000,'Deudas','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(56,NULL,2110100,4,2,2110000,'Comerciales','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(57,NULL,2110101,5,2,2110100,'Proveedores en Cta. Cte. locales','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(58,NULL,2110102,5,2,2110100,'Proveedores en cta. cte. exterior','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(59,NULL,2110103,5,2,2110100,'Derechos de exhibición a devengar','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(60,NULL,2110104,5,2,2110100,'Cheques emitidos ','Pasivo',NULL,NULL,1,2,1,1,1,1,NULL),(61,NULL,2110200,4,2,2110000,'REMUNERACIONES Y CARGAS SOCIALES','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(62,NULL,2110201,5,2,2110200,'Sueldos y Jornales a pagar','Pasivo',NULL,NULL,1,2,0,0,1,1,NULL),(63,NULL,2110202,5,2,2110200,'Cargas sociales a pagar','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(64,NULL,2110203,5,2,2110200,'Sindicatos a Pagar','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(65,NULL,2110300,4,2,2110000,'CARGAS FISCALES','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(67,NULL,2110301,5,2,2110300,'IVA Debito Fiscal','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(68,NULL,1140222,5,1,1140200,'IVA Credito Fiscal','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(69,NULL,2110303,5,2,2110300,'Impuestos Internos','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(70,NULL,2110304,5,2,2110300,'Impuestos al Combustible','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(71,NULL,2110601,5,2,2110600,'IVA Retenciones de terceros','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(72,NULL,2110306,5,2,2110300,'IVA Percepciones realiz.por terceros','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(73,NULL,2110307,5,2,2110300,'IVA Saldo a favor','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(74,NULL,2110308,5,2,2110300,'IVA a pagar','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(75,NULL,2110309,5,2,2110300,'Percepciones Ingresos Brutos','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(76,NULL,2110310,5,2,2110300,'Otros Pagos AFIP','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(78,NULL,2110350,5,2,2110300,'Impuesto a los Ingresos Brutos Pasivo','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(79,NULL,2110313,5,2,2110300,'Impuesto a las Ganancias','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(80,NULL,2110314,5,2,2110300,'Impuesto a la Ganancia Mínima Presunta','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(81,NULL,2110602,5,2,2110600,'AFIP - Retenciones Impuesto a las Ganancias','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(82,NULL,2110316,5,2,2110300,'AFIP - Plan de Facilidades Decreto 338/02','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(83,NULL,2200000,2,2,2000000,'PASIVO NO CORRIENTE','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(84,NULL,3000000,1,2,0,'PATRIMONIO NETO','Patrimonio Neto',NULL,NULL,1,1,0,0,0,0,NULL),(85,NULL,3100000,2,2,3000000,'APORTE DE LOS PROPIETARIOS','Patrimonio Neto',NULL,NULL,1,1,0,0,0,0,NULL),(86,NULL,3110100,4,2,3110000,'CAPITAL SOCIAL','Patrimonio Neto',NULL,NULL,1,1,0,0,0,0,NULL),(87,NULL,3110101,5,2,3110100,'Acciones en circulación','Patrimonio Neto',NULL,NULL,1,1,0,0,0,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (88,NULL,3110102,5,2,3110100,'Ajuste del Capital','Patrimonio Neto',NULL,NULL,1,2,0,0,0,1,NULL),(89,NULL,3110103,5,2,3110100,'Aportes Irrevocables Futuras Suscripciones','Patrimonio Neto',NULL,NULL,1,1,0,0,0,1,NULL),(90,NULL,3400000,2,2,3000000,'RESULTADOS','Patrimonio Neto',NULL,NULL,1,1,0,0,0,0,NULL),(91,NULL,3410101,5,2,3410100,'Resultado del ejercicio','Patrimonio Neto',NULL,NULL,1,1,0,0,0,1,NULL),(92,NULL,3410102,5,2,3410100,'Resultado ejercicios anteriores','Patrimonio Neto',NULL,NULL,1,1,0,0,0,1,NULL),(93,NULL,3410103,5,2,3410100,'A.R.E.A.','Patrimonio Neto',NULL,NULL,1,1,0,0,0,1,NULL),(94,NULL,4000000,1,2,0,'INGRESOS','Result. Positivo',NULL,NULL,1,1,0,0,0,0,NULL),(95,NULL,4100000,2,2,4000000,'INGRESOS ORDINARIOS','Result. Positivo',NULL,NULL,1,1,0,0,0,0,NULL),(96,11429,4110101,5,1,4110100,'VENTAS','Result. Positivo',NULL,NULL,1,2,0,0,0,1,NULL),(97,NULL,4110102,5,2,4110100,'Honorarios','Result. Positivo',NULL,NULL,1,1,0,0,0,1,NULL),(98,NULL,4110103,5,2,4110100,'Sueldo Vane','Result. Positivo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(99,NULL,4110104,5,2,4110100,'Descuentos obtenidos','Result. Positivo',NULL,NULL,1,1,0,0,0,1,NULL),(100,NULL,4110105,5,2,4110100,'Reintegros por exportaciones','Result. Positivo',NULL,NULL,1,1,0,0,0,1,NULL),(101,NULL,4120000,3,2,4100000,'OTROS INGRESOS','Result. Positivo',NULL,NULL,1,1,0,0,0,0,NULL),(102,NULL,4120101,5,2,4120100,'Intereses Cobrados','Result. Positivo',NULL,NULL,1,1,0,0,0,1,NULL),(103,NULL,4120102,5,2,4120100,'Diferencias de cambio','Result. Positivo',NULL,NULL,1,1,0,0,0,1,NULL),(104,NULL,4120103,5,2,4120100,'Descuentos obtenidos','Result. Positivo',NULL,NULL,1,1,0,0,0,1,NULL),(107,NULL,5000000,1,1,0,'GASTOS','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(108,NULL,5100000,2,1,5000000,'GASTOS ORDINARIOS','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(109,NULL,5110100,4,1,5110000,'ASIENTO DE SUELDO','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(110,NULL,5110101,5,1,5110100,'Sueldos','Result. Negativo',2,NULL,1,2,0,0,0,1,NULL),(111,NULL,5110102,5,1,5110100,'Contribuciones','Result. Negativo',2,NULL,1,2,0,0,0,1,NULL),(112,NULL,5110103,5,1,5110100,'Sindicato','Result. Negativo',2,NULL,1,2,0,0,0,1,NULL),(113,NULL,5120100,4,1,5120000,'GASTOS DE OPERACION','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(114,NULL,5120101,5,1,5120100,'ACA','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(115,NULL,5120102,5,1,5120100,'Aereos','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(116,NULL,5120103,5,1,5120100,'Alquiler','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(117,NULL,5120104,5,1,5120100,'AGUA AYSA','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(118,NULL,5120105,5,1,5120100,'TV Cablevision','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(119,NULL,5120106,5,1,5120100,'Caja Jubilacion Consejo','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(120,NULL,5120107,5,1,5120100,'Celulares','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(121,NULL,5120108,5,1,5120100,'Cheques','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(122,NULL,5120109,5,1,5120100,'Club la Nacion','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(123,NULL,5120110,5,1,5120100,'Comida','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(124,NULL,5120111,5,1,5120100,'Diario Clarin','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(125,NULL,5120112,5,1,5120100,'Digital Ocean','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(126,NULL,5120113,5,1,5120100,'Fletes y acarreos','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(127,NULL,5120114,5,1,5120100,'Luz Edesur','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(128,NULL,5120115,5,1,5120100,'Movilidad y Viáticos','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(129,NULL,5120116,5,1,5120100,'Mantenimiento','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22');
INSERT INTO `conta_plan_cuenta` VALUES (130,NULL,5120117,5,1,5120100,'IVA No Computable','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(131,NULL,5120118,5,1,5120100,'Entretenimiento','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(132,NULL,5120119,5,1,5120100,'Amortización Bienes de Uso','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(133,NULL,5120120,5,1,5120100,'Errepar','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(134,NULL,5120121,5,1,5120100,'Hosting Página Web To Webs','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(135,NULL,5120122,5,1,5120100,'Gastos varios','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(136,NULL,5120123,5,1,5120100,'Ajuste por redondeo','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(137,NULL,5120124,5,1,5120100,'Deudores Incobrables','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(138,NULL,5120125,5,1,5120100,'Faby Goncalves','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(139,NULL,5130100,4,1,5130000,'GASTOS FINANCIEROS','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(140,NULL,5130101,5,1,5130100,'Intereses y Gastos bancarios','Result. Negativo',NULL,NULL,1,2,0,0,1,1,NULL),(141,NULL,5130102,5,1,5130100,'Intereses Proveedores','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(142,NULL,5130103,5,1,5130100,'Damian Financiera','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(143,NULL,5130104,5,1,5130100,'Diferencias de cambio','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(144,NULL,5130105,5,1,5130100,'Diferencia de Cambio Bces. en M.Extranjera','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(145,NULL,5130106,5,1,5130100,'Diferencia tipo cambio Vendedor/Comprador','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(146,NULL,5130107,5,1,5130100,'Diferencia por conversion en Bce. en Mon. Extranj.','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(147,NULL,5130108,5,1,5130100,'Diferencia de cambio CMV','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(148,NULL,5130109,5,1,5130100,'Diferencia de cambio PT','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(149,NULL,5130110,5,1,5130100,'Resultado por Exposición a la Inflación','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(150,NULL,5130111,5,1,5130100,'Diferencia de cambio PE','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(151,NULL,5130112,5,1,5130100,'Diferencia de cambio Ds.Vtas.','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(152,NULL,5130113,5,1,5130100,'Diferencia de cambio ME','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(153,NULL,5130114,5,1,5130100,'Descuentos otorgados','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(154,NULL,5140100,4,1,5140000,'IMPUESTOS','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(155,NULL,5140101,5,1,5140100,'Impuesto a las Ganancias','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(156,NULL,5140164,5,1,5140100,'Impuesto a los Ingresos Brutos','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(157,NULL,5140102,5,1,5140100,'Impuesto al Debito y Credito Bancario','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(158,NULL,5200000,2,1,5000000,'GASTOS EXTRAORDINARIOS','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(159,NULL,5210101,5,1,5210100,'Pérdida por venta bienes de uso','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(160,NULL,5210102,5,1,5210100,'Inversiones','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(161,NULL,5210103,5,1,5210100,'Amortizaciones extraordinarias','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(162,NULL,1140103,5,1,1140100,'Retenciones SUSS','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(163,NULL,1110122,5,1,1110100,'Banco Patagonia Cta. Cte.','Activo',NULL,NULL,0,1,0,0,0,0,NULL),(164,NULL,1110106,5,1,1110100,'Banco HSBC','Activo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(165,NULL,1110123,5,1,1110100,'Banco Ciudad Cta. Cte.','Activo',NULL,NULL,0,1,0,0,0,0,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (166,NULL,1110124,5,1,1110100,'Banco Nacion Cta. Cte.','Activo',NULL,NULL,0,1,0,0,0,0,NULL),(167,NULL,1110109,5,1,1110100,'Banco Galicia Vane','Activo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(168,NULL,1110110,5,1,1110100,'Banco Frances Vane','Activo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(169,NULL,1110111,5,1,1110100,'Banco Patagonia In Time SRL','Activo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(170,NULL,1110112,5,1,1110100,'Banco Ciudad In Time SRL','Activo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(171,NULL,1110113,5,1,1110100,'Banco Provincia In Time SRL','Activo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(172,NULL,1110114,5,1,1110100,'Banco Macro PedimeOnline','Activo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(173,NULL,1110115,5,1,1110100,'Banco Patagonia Problema Resuelto','Activo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(174,NULL,1110116,5,1,1110100,'Banco Patagonia Graciela','Activo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(175,NULL,1110117,5,1,1110100,'Banco Patagonia Omar','Activo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(176,NULL,1110118,5,1,1110100,'Cheques','Activo',NULL,NULL,1,2,1,1,1,0,NULL),(177,NULL,5120126,5,1,5120100,'Gisela Larzabal','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(178,NULL,5120127,5,1,5120100,'Google','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(179,NULL,5120128,5,1,5120100,'Seguro Moto','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(180,NULL,5120129,5,1,5120100,'Sueldo Agustina','Result. Negativo',NULL,NULL,0,1,0,0,0,0,NULL),(181,NULL,5120130,5,1,5120100,'Sueldo Betty','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(182,NULL,5120131,5,1,5120100,'Sueldo Elizabet','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(183,NULL,5120132,5,1,5120100,'Sueldo Florencia','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(184,NULL,5120133,5,1,5120100,'Sueldo Graciela','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(185,NULL,5120134,5,1,5120100,'Sueldo Franco Sanchez','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(186,NULL,5120135,5,1,5120100,'Sueldo Santiago Sanchez','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(187,NULL,5120136,5,1,5120100,'Sueldo Jose Luis','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(188,NULL,5120137,5,1,5120100,'Publicidad','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(189,NULL,5120138,5,1,5120100,'Las Nieves','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(190,NULL,5120139,5,1,5120100,'Sueldo Lidia','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(191,NULL,5120140,5,1,5120100,'Cargas Sociales','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(192,NULL,5120141,5,1,5120100,'Honorarios','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(193,NULL,5120142,5,1,5120100,'Telefono Fijo','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(194,NULL,5120143,5,1,5120100,'ONE DRIVE','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(195,NULL,5120144,5,1,5120100,'OSDE','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(196,NULL,5120145,5,1,5120100,'SAS Constitucion','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(197,NULL,5120146,5,1,5120100,'Seguro de Vida Zurich','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(198,NULL,5120147,5,1,5120100,'Seguros','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(199,NULL,5120148,5,1,5120100,'Internet','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(200,NULL,5120149,5,1,5120100,'Seguro de Retiro Zurich','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(201,NULL,5140165,5,1,5140100,'Monotributo','Result. Negativo',NULL,NULL,1,2,0,0,1,1,NULL),(202,NULL,5140104,5,1,5140100,'IVA In Time SRL','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(203,NULL,5140105,5,1,5140100,'Autonomos','Result. Negativo',NULL,NULL,1,2,0,0,1,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (204,NULL,5140106,5,1,5140100,'Multas Impositivas','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(207,NULL,5120150,5,1,5120100,'Vanesa Gastos','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(208,NULL,5140166,5,1,5140100,'Impuesto a los Ingresos Brutos - BS AS','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(209,NULL,5140107,5,1,5140100,'SIRCREB','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(210,NULL,5140108,5,1,5140100,'Consejo Ciencias Economicas','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(211,NULL,5120152,5,1,5120100,'Albano Andres','Result. Negativo',NULL,NULL,0,1,0,0,0,0,'2020-12-31 13:34:22'),(212,NULL,5120153,5,1,5120100,'Tarjeta Visa','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(213,NULL,5120154,5,1,5120100,'Tarjeta American Express','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(214,NULL,5120155,5,1,5120100,'Tarjeta Mastercard','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(215,NULL,5120156,5,1,5120100,'Imp. Municipales Sufrida','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(216,NULL,5120157,5,1,5120100,'Perc/Ret. Imp. Ganancias Sufrida','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(217,NULL,5120158,5,1,5120100,'Compras','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(218,NULL,4110106,5,2,4110100,'Ventas No Gravadas','Result. Positivo',1,NULL,1,2,0,0,0,1,NULL),(219,NULL,6110103,5,1,6110100,'Pagos AFIP','Movimiento',NULL,NULL,1,2,0,0,1,1,NULL),(220,NULL,5140167,5,1,5140100,'Perc IVA -RG3337 Sufrida','Result. Negativo',6,NULL,1,2,0,0,0,1,NULL),(221,NULL,5140109,5,1,5140100,'Imps. Internos Sufrida','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(222,NULL,5140110,5,1,5140100,'Imp. Gasoil Sufrida','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(223,NULL,5140111,5,1,5140100,'Imp. Hídricos Sufrida','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(224,NULL,5140112,5,1,5140100,'ITC Sufrida','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(225,NULL,5140113,5,1,5140100,'Perc IIBB  Buenos Aires Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(226,NULL,5140114,5,1,5140100,'Perc IIBB  Capital Federal Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(227,NULL,5140115,5,1,5140100,'Perc IIBB  Catamarca Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(228,NULL,5140116,5,1,5140100,'Perc IIBB  Chaco Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(229,NULL,5140117,5,1,5140100,'Perc IIBB  Chubut Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(230,NULL,5140118,5,1,5140100,'Perc IIBB  Córdoba Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(231,NULL,5140119,5,1,5140100,'Perc IIBB  Corrientes Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(232,NULL,5140120,5,1,5140100,'Perc IIBB  Entre Ríos Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(233,NULL,5140121,5,1,5140100,'Perc IIBB  Formosa Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(234,NULL,5140122,5,1,5140100,'Perc IIBB  Jujuy Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(235,NULL,5140123,5,1,5140100,'Perc IIBB  La Pampa Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(236,NULL,5140124,5,1,5140100,'Perc IIBB  La Rioja Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(237,NULL,5140125,5,1,5140100,'Perc IIBB  Mendoza Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(238,NULL,5140126,5,1,5140100,'Perc IIBB  Misiones Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(239,NULL,5140127,5,1,5140100,'Perc IIBB  Neuquén Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(240,NULL,5140128,5,1,5140100,'Perc IIBB  Pascua Lama Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(241,NULL,5140129,5,1,5140100,'Perc IIBB  Río Negro Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(242,NULL,5140130,5,1,5140100,'Perc IIBB  Salta Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(243,NULL,5140131,5,1,5140100,'Perc IIBB  San Juan Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(244,NULL,5140132,5,1,5140100,'Perc IIBB  San Luis Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (245,NULL,5140133,5,1,5140100,'Perc IIBB  Santa Cruz Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(246,NULL,5140134,5,1,5140100,'Perc IIBB  Santa Fe Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(247,NULL,5140135,5,1,5140100,'Perc IIBB  Santiago del Estero Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(248,NULL,5140136,5,1,5140100,'Perc IIBB  Tierra del Fuego Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(249,NULL,5140137,5,1,5140100,'Perc IIBB  Tucuman Sufrida','Result. Negativo',7,NULL,1,2,0,0,0,1,NULL),(250,NULL,5140138,5,1,5140100,'Compras No Gravadas','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(251,NULL,1140108,5,1,1140100,'Retenciones de IIBB Buenos Aires','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(252,NULL,1140109,5,1,1140100,'Retenciones de IIBB Capital Federal','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(253,NULL,1140110,5,1,1140100,'Retenciones de IIBB Catamarca','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(254,NULL,1140111,5,1,1140100,'Retenciones de IIBB Chaco','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(255,NULL,1140112,5,1,1140100,'Retenciones de IIBB Chubut','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(256,NULL,1140113,5,1,1140100,'Retenciones de IIBB Córdoba','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(257,NULL,1140114,5,1,1140100,'Retenciones de IIBB Corrientes','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(258,NULL,1140115,5,1,1140100,'Retenciones de IIBB Entre Ríos','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(259,NULL,1140116,5,1,1140100,'Retenciones de IIBB Formosa','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(260,NULL,1140117,5,1,1140100,'Retenciones de IIBB Jujuy','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(261,NULL,1140118,5,1,1140100,'Retenciones de IIBB La Pampa','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(262,NULL,1140119,5,1,1140100,'Retenciones de IIBB La Rioja','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(263,NULL,1140120,5,1,1140100,'Retenciones de IIBB Mendoza','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(264,NULL,1140121,5,1,1140100,'Retenciones de IIBB Misiones','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(265,NULL,1140122,5,1,1140100,'Retenciones de IIBB Neuquén','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(266,NULL,1140123,5,1,1140100,'Retenciones de IIBB Pascua Lama','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(267,NULL,1140124,5,1,1140100,'Retenciones de IIBB Río Negro','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(268,NULL,1140125,5,1,1140100,'Retenciones de IIBB Salta','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(269,NULL,1140126,5,1,1140100,'Retenciones de IIBB San Juan','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(270,NULL,1140127,5,1,1140100,'Retenciones de IIBB San Luis','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(271,NULL,1140128,5,1,1140100,'Retenciones de IIBB Santa Cruz','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(272,NULL,1140129,5,1,1140100,'Retenciones de IIBB Santa Fe','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(273,NULL,1140130,5,1,1140100,'Retenciones de IIBB Santiago del Estero','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(274,NULL,1140131,5,1,1140100,'Retenciones de IIBB Tierra del Fuego','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(275,NULL,1140132,5,1,1140100,'Retenciones de IIBB Tucuman','Activo',NULL,NULL,1,2,1,0,0,1,NULL),(276,NULL,5140168,5,1,5140100,'SIRCREB Buenos Aires','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(277,NULL,5140139,5,1,5140100,'SIRCREB Capital Federal','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(278,NULL,5140140,5,1,5140100,'SIRCREB Catamarca','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(279,NULL,5140141,5,1,5140100,'SIRCREB Chaco','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(280,NULL,5140142,5,1,5140100,'SIRCREB Chubut','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(281,NULL,5140143,5,1,5140100,'SIRCREB Córdoba','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(282,NULL,5140144,5,1,5140100,'SIRCREB Corrientes','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(283,NULL,5140145,5,1,5140100,'SIRCREB Entre Ríos','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(284,NULL,5140146,5,1,5140100,'SIRCREB Formosa','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (285,NULL,5140147,5,1,5140100,'SIRCREB Jujuy','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(286,NULL,5140148,5,1,5140100,'SIRCREB La Pampa','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(287,NULL,5140149,5,1,5140100,'SIRCREB La Rioja','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(288,NULL,5140150,5,1,5140100,'SIRCREB Mendoza','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(289,NULL,5140151,5,1,5140100,'SIRCREB Misiones','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(290,NULL,5140152,5,1,5140100,'SIRCREB Neuquén','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(291,NULL,5140153,5,1,5140100,'SIRCREB Pascua Lama','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(292,NULL,5140154,5,1,5140100,'SIRCREB Río Negro','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(293,NULL,5140155,5,1,5140100,'SIRCREB Salta','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(294,NULL,5140156,5,1,5140100,'SIRCREB San Juan','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(295,NULL,5140157,5,1,5140100,'SIRCREB San Luis','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(296,NULL,5140158,5,1,5140100,'SIRCREB Santa Cruz','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(297,NULL,5140159,5,1,5140100,'SIRCREB Santa Fe','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(298,NULL,5140160,5,1,5140100,'SIRCREB Santiago del Estero','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(299,NULL,5140161,5,1,5140100,'SIRCREB Tierra del Fuego','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(300,NULL,5140162,5,1,5140100,'SIRCREB Tucuman','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(301,NULL,1140326,5,1,1140300,'IIBB a Favor Buenos Aires','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(302,NULL,1140302,5,1,1140300,'IIBB a Favor Capital Federal','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(303,NULL,1140303,5,1,1140300,'IIBB a Favor Catamarca','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(304,NULL,1140304,5,1,1140300,'IIBB a Favor Chaco','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(305,NULL,1140305,5,1,1140300,'IIBB a Favor Chubut','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(306,NULL,1140306,5,1,1140300,'IIBB a Favor Córdoba','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(307,NULL,1140307,5,1,1140300,'IIBB a Favor Corrientes','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(308,NULL,1140308,5,1,1140300,'IIBB a Favor Entre Ríos','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(309,NULL,1140309,5,1,1140300,'IIBB a Favor Formosa','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(310,NULL,1140310,5,1,1140300,'IIBB a Favor Jujuy','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(311,NULL,1140311,5,1,1140300,'IIBB a Favor La Pampa','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(312,NULL,1140312,5,1,1140300,'IIBB a Favor La Rioja','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(313,NULL,1140313,5,1,1140300,'IIBB a Favor Mendoza','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(314,NULL,1140314,5,1,1140300,'IIBB a Favor Misiones','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(315,NULL,1140315,5,1,1140300,'IIBB a Favor Neuquén','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(316,NULL,1140316,5,1,1140300,'IIBB a Favor Pascua Lama','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(317,NULL,1140317,5,1,1140300,'IIBB a Favor Río Negro','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(318,NULL,1140318,5,1,1140300,'IIBB a Favor Salta','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(319,NULL,1140319,5,1,1140300,'IIBB a Favor San Juan','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(320,NULL,1140320,5,1,1140300,'IIBB a Favor San Luis','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(321,NULL,1140321,5,1,1140300,'IIBB a Favor Santa Cruz','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(322,NULL,1140322,5,1,1140300,'IIBB a Favor Santa Fe','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(323,NULL,1140323,5,1,1140300,'IIBB a Favor Santiago del Estero','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(324,NULL,1140324,5,1,1140300,'IIBB a Favor Tierra del Fuego','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(325,NULL,1140325,5,1,1140300,'IIBB a Favor Tucuman','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(326,NULL,2110317,5,2,2110300,'IIBB a Pagar Buenos Aires','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (327,NULL,2110318,5,2,2110300,'IIBB a Pagar Capital Federal','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(328,NULL,2110319,5,2,2110300,'IIBB a Pagar Catamarca','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(329,NULL,2110320,5,2,2110300,'IIBB a Pagar Chaco','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(330,NULL,2110321,5,2,2110300,'IIBB a Pagar Chubut','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(331,NULL,2110322,5,2,2110300,'IIBB a Pagar Córdoba','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(332,NULL,2110323,5,2,2110300,'IIBB a Pagar Corrientes','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(333,NULL,2110324,5,2,2110300,'IIBB a Pagar Entre Ríos','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(334,NULL,2110325,5,2,2110300,'IIBB a Pagar Formosa','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(335,NULL,2110326,5,2,2110300,'IIBB a Pagar Jujuy','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(336,NULL,2110327,5,2,2110300,'IIBB a Pagar La Pampa','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(337,NULL,2110328,5,2,2110300,'IIBB a Pagar La Rioja','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(338,NULL,2110329,5,2,2110300,'IIBB a Pagar Mendoza','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(339,NULL,2110330,5,2,2110300,'IIBB a Pagar Misiones','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(340,NULL,2110331,5,2,2110300,'IIBB a Pagar Neuquén','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(341,NULL,2110332,5,2,2110300,'IIBB a Pagar Pascua Lama','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(342,NULL,2110333,5,2,2110300,'IIBB a Pagar Río Negro','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(343,NULL,2110334,5,2,2110300,'IIBB a Pagar Salta','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(344,NULL,2110335,5,2,2110300,'IIBB a Pagar San Juan','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(345,NULL,2110336,5,2,2110300,'IIBB a Pagar San Luis','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(346,NULL,2110337,5,2,2110300,'IIBB a Pagar Santa Cruz','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(347,NULL,2110338,5,2,2110300,'IIBB a Pagar Santa Fe','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(348,NULL,2110339,5,2,2110300,'IIBB a Pagar Santiago del Estero','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(349,NULL,2110340,5,2,2110300,'IIBB a Pagar Tierra del Fuego','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(350,NULL,2110341,5,2,2110300,'IIBB a Pagar Tucuman','Pasivo',NULL,NULL,1,2,0,0,0,1,NULL),(351,NULL,6110101,5,1,6110100,'BANCO SIRCREB','Movimiento',NULL,NULL,1,2,0,0,1,1,NULL),(352,NULL,6110102,5,1,6110100,'Compensacion','Movimiento',NULL,NULL,1,2,0,0,0,1,NULL),(353,NULL,1140327,5,1,1140300,'IVA Saldo Tecnico','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(354,NULL,1140328,5,1,1140300,'IVA Saldo Libre Disponibilidad','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(355,NULL,6000000,1,1,0,'Movimiento','Movimiento',NULL,NULL,1,1,0,0,0,0,NULL),(356,NULL,6100000,2,1,6000000,'Movimiento','Movimiento',NULL,NULL,1,1,0,0,0,0,NULL),(357,NULL,6110000,3,1,6100000,'Movimiento','Movimiento',NULL,NULL,1,1,0,0,0,0,NULL),(358,NULL,4110000,3,2,4100000,'Ingresos Operativos','Result. Positivo',NULL,NULL,1,1,0,0,0,0,NULL),(359,NULL,1110120,5,1,1110100,'Caja en Pesos','Activo',NULL,NULL,1,2,1,1,1,0,NULL),(360,NULL,1140211,5,1,1140200,'Retenciones Bancarias de Ganancias a Favor','Activo',3,NULL,1,2,0,0,1,1,NULL),(361,NULL,1220104,5,1,1220100,'Equipos de Computación','Activo',5,NULL,1,1,0,0,0,1,NULL),(362,NULL,1220105,5,1,1220100,'Computadoras','Activo',5,NULL,1,1,0,0,0,1,NULL),(363,NULL,1220304,5,1,1220300,'Muebles y Utiles','Activo',5,NULL,1,1,0,0,0,1,NULL),(364,NULL,2110105,5,2,2110100,'Anticipo de Clientes','Pasivo',NULL,NULL,1,2,0,0,1,1,NULL),(365,NULL,2110401,5,2,2110400,'Provision Honorarios','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(366,NULL,2110106,5,2,2110100,'Cta. Cte Directores','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(367,NULL,2110107,5,2,2110100,'Provisión Honorarios Directores','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(368,NULL,2110110,5,2,2110100,'Cuenta Particular Socio 1','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(369,NULL,3110104,5,2,3110100,'Capital','Patrimonio Neto',NULL,NULL,1,1,0,0,0,1,NULL),(370,NULL,1120000,3,1,1100000,'INVERSIONES','Activo',NULL,NULL,1,1,0,0,0,0,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (371,NULL,1160000,3,1,1100000,'OTROS ACTIVOS','Activo',5,NULL,1,1,0,0,0,0,NULL),(372,NULL,1160100,4,1,1160000,'OTROS','Activo',5,NULL,1,1,0,0,0,0,NULL),(373,NULL,2110400,4,2,2110000,'Provision de Honorarios','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(374,NULL,3410100,4,1,3410000,'RESULTADOS ACUMULADOS','Patrimonio Neto',NULL,NULL,1,1,0,0,0,0,NULL),(375,NULL,3420000,3,1,3400000,'GANACIAS RESERVADAS','Patrimonio Neto',NULL,NULL,1,1,0,0,0,0,NULL),(376,NULL,3420100,4,1,3420000,'Rerva Legal','Patrimonio Neto',NULL,NULL,1,1,0,0,0,0,NULL),(377,NULL,1220400,4,1,1220000,'INMUEBLES','Activo',5,NULL,1,1,0,0,0,0,NULL),(378,NULL,1220500,4,1,1220000,'RODADOS','Activo',5,NULL,1,1,0,0,0,0,NULL),(379,NULL,1220600,4,1,1220000,'MAQUINARIAS','Activo',5,NULL,1,1,0,0,0,0,NULL),(380,NULL,1220204,5,1,1220200,'Instalaciones','Activo',5,NULL,1,1,0,0,0,1,NULL),(381,NULL,3420101,5,2,3420100,'Reserva Legal','Patrimonio Neto',NULL,NULL,1,1,0,0,0,1,NULL),(382,NULL,3420102,5,2,3420100,'Reserva Legal','Patrimonio Neto',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(383,NULL,3410105,5,2,3410100,'Resultado no asignado','Patrimonio Neto',NULL,NULL,1,1,0,0,0,1,NULL),(384,NULL,1110121,5,1,1110100,'Caja en Dolares','Activo',NULL,NULL,1,2,1,1,1,0,NULL),(385,NULL,1120100,4,1,1120000,'TEMPORARIAS','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(386,11429,1120107,5,1,1120100,'Plazo Fijo','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(387,NULL,1120200,4,1,1120000,'PERMANENTES','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(388,NULL,1120201,5,1,1120200,'ACCIONES','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(389,NULL,1220401,5,1,1220400,'Inmuebles','Activo',5,NULL,1,1,0,0,0,1,NULL),(390,NULL,1220501,5,1,1220500,'Vehiculos','Activo',5,NULL,1,1,0,0,0,1,NULL),(391,NULL,1220601,5,1,1220600,'Maquinarias','Activo',5,NULL,1,1,0,0,0,1,NULL),(392,11429,1150411,5,1,1150400,'Mercaderias','Activo',5,NULL,1,1,0,0,0,1,NULL),(393,NULL,1160101,5,1,1160100,'OTROS','Activo',5,NULL,1,1,0,0,0,1,NULL),(394,NULL,1230100,4,1,1230000,'INTANGIBLES','Activo',5,NULL,1,1,0,0,0,0,NULL),(395,NULL,2110119,5,2,2110100,'Cuenta Particular Socio 2','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(396,NULL,5120160,5,1,5120100,'Comisiones Y gastos Bancarios','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(397,NULL,4110100,4,2,4110000,'Ingresos Operativos','Result. Positivo',NULL,NULL,1,1,0,0,0,0,NULL),(398,NULL,4120100,4,2,4120000,'OTROS INGRESOS','Result. Positivo',NULL,NULL,1,1,0,0,0,0,NULL),(399,NULL,5110000,3,1,5100000,'GASTOS ORDINARIOS','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(400,NULL,5120000,3,1,5100000,'GASTOS DE OPERACION','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(401,NULL,5130000,3,1,5100000,'GASTOS DE OPERACION','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(402,NULL,5140000,3,1,5100000,'GASTOS DE OPERACION','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(403,NULL,5210000,3,1,5200000,'GASTOS EXTRAORDINARIOS','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(404,NULL,5210100,4,1,5210000,'GASTOS EXTRAORDINARIOS','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(405,NULL,6110100,4,1,6110000,'Movimiento','Movimiento',NULL,NULL,1,1,0,0,0,0,NULL),(406,NULL,1130100,4,1,1130000,'Operaciones Ordinarias','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(407,NULL,3110000,3,2,3100000,'CAPITAL SOCIAL','Patrimonio Neto',NULL,NULL,1,1,0,0,0,0,NULL),(408,NULL,3410000,3,2,3400000,'RESULTADOS ANTERIORES','Patrimonio Neto',NULL,NULL,1,1,0,0,0,0,NULL),(409,NULL,5110101,5,2,5110000,'IVA Crédito Fiscal No computable','Result. Negativo',NULL,NULL,1,2,0,0,1,1,NULL),(410,NULL,1110203,5,1,1110200,'Banco ICBC Cta. Cte.','Activo',NULL,NULL,1,2,1,1,1,0,NULL),(411,NULL,2110342,5,2,2110300,'Provisión Impuesto a las Ganancias','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(412,NULL,5120107,5,2,5120000,'Amortización Muebles y Útiles','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(413,NULL,5120102,5,2,5120000,'Amortización Equipos','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(414,NULL,1220109,5,1,1220100,'Amortizacion Acumulada Equipos','Activo',5,NULL,1,1,0,0,0,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (415,NULL,1220602,5,1,1220600,'Amortización Acumulada Maquinarias','Activo',5,NULL,1,1,0,0,0,1,NULL),(416,NULL,1160102,5,1,1160100,'Materias Primas','Activo',5,NULL,1,1,0,0,0,1,NULL),(417,NULL,1110204,5,1,1110200,'Banco Itaú Cta. Cte.','Activo',NULL,NULL,1,2,1,1,1,0,NULL),(418,NULL,2110113,5,2,2110100,'Deudas Bancarias','Pasivo',NULL,NULL,1,2,0,1,1,1,NULL),(419,NULL,1220502,5,1,1220500,'Rodados','Activo',5,NULL,1,1,0,0,0,1,NULL),(420,NULL,1220503,5,1,1220500,'Amortización Acumulada Rodados','Activo',5,NULL,1,1,0,0,0,1,NULL),(421,NULL,5120105,5,2,5120000,'Amortización Rodados','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(422,NULL,5120109,5,2,5120000,'Amortización Maquinarias','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(423,NULL,1220504,5,1,1220500,'Accesorios','Activo',5,NULL,1,1,0,0,0,1,NULL),(424,NULL,1220505,5,1,1220500,'Amortización Acumulada Accesorios','Activo',5,NULL,1,1,0,0,0,1,NULL),(425,NULL,1110205,5,1,1110200,'Banco Galicia Cta. Cte.','Activo',NULL,NULL,1,2,1,1,1,0,NULL),(426,NULL,3420101,5,2,3420000,'Reserva Facultativa','Patrimonio Neto',NULL,NULL,1,1,0,0,0,1,NULL),(427,NULL,1140212,5,1,1140200,'Créditos por Impuestos Diferidos','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(428,NULL,1160103,5,1,1160100,'Fondo de Comercio','Activo',5,NULL,1,1,0,0,0,1,NULL),(429,NULL,1160104,5,1,1160100,'Amortizacion Acumulada Fondo de Comercio','Activo',5,NULL,1,1,0,0,0,1,NULL),(430,NULL,1140213,5,1,1140200,'Intereses a devengar AGIP','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(431,NULL,2110343,5,2,2110300,'PFP IIBB','Pasivo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(432,NULL,1140330,5,1,1140300,'Pago a Cuenta ITC','Activo',NULL,NULL,1,2,0,0,0,1,NULL),(433,NULL,2110114,5,2,2110100,'Préstamo','Pasivo',NULL,NULL,1,2,0,1,1,1,NULL),(434,NULL,1160106,5,1,1160100,'Productos','Activo',5,NULL,1,1,0,0,0,1,NULL),(435,NULL,2110345,5,2,2110300,'Intereses a devengar PFP','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(436,NULL,1110206,5,1,1110200,'Banco Provincia Cta. Cte.','Activo',NULL,NULL,1,2,1,1,1,0,NULL),(437,NULL,1140215,5,1,1140200,'Imp. Ley 25413 Cred 0.6%','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(438,NULL,2110402,5,2,2110400,'Honorarios Directorio a Pagar','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(439,NULL,3110101,5,2,3110100,'Reserva para Futuras Inversiones','Patrimonio Neto',NULL,NULL,1,1,0,0,0,1,NULL),(440,NULL,1130106,5,1,1130100,'TEAC - Trabajos Ejecutados a Certificar','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(441,NULL,2110115,5,2,2110100,'Leasing','Pasivo',NULL,NULL,1,2,0,1,1,1,NULL),(442,NULL,1110207,5,1,1110200,'Banco Comafi Cta. Cte','Activo',NULL,NULL,1,2,1,1,1,0,NULL),(443,NULL,2110500,4,2,2110000,'Deudas Financieras','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(444,NULL,2110501,5,2,2110500,'Banco Santander Rio Cta Cte','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(446,NULL,2210000,3,2,2200000,'Deudas','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(447,NULL,2210100,4,2,2210000,'Otras Deudas','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(448,NULL,2210101,5,2,2210100,'Planes de Pagos AFIP','Pasivo',NULL,NULL,1,2,0,1,1,1,NULL),(449,NULL,2110502,5,2,2110500,'Leasing','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(450,NULL,6110101,5,1,6110000,'Cheques Rechazados','Movimiento',NULL,NULL,1,2,0,0,1,1,NULL),(451,NULL,1110208,5,1,1110200,'Banco Patagonia Taxes Software','Activo',NULL,NULL,1,2,1,1,1,0,NULL),(452,NULL,1110209,5,1,1110200,'Banco Macro Cta. Cte.','Activo',NULL,NULL,1,2,1,1,1,0,NULL),(453,NULL,1120202,5,1,1120200,'Inversión Central Caribe','Activo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(454,NULL,1120102,5,1,1120100,'Otras Inversiones','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(455,NULL,1140216,5,1,1140200,'Otros Créditos','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(456,NULL,2110403,5,2,2110400,'Provisión Honorarios Socio Gerente','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(457,NULL,1110210,5,1,1110200,'Cheque Diferido Banco Santander Rio','Activo',NULL,NULL,1,2,1,1,1,0,'2020-12-31 13:34:22');
INSERT INTO `conta_plan_cuenta` VALUES (458,NULL,1110211,5,1,1110200,'Cheque Diferido Banco Macro','Activo',NULL,NULL,1,2,1,1,1,0,'2020-12-31 13:34:22'),(459,NULL,2110204,5,2,2110200,'Moratoria SUSS a pagar','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(460,NULL,2110344,5,2,2110300,'Impuestos Municipales a Pagar','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(461,NULL,5110103,5,2,5110000,'Amortización Instalaciones','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(462,NULL,5120110,5,2,5120000,'Amortización Equipos de comput.','Result. Negativo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(463,NULL,2110118,5,2,2110100,'Cuenta Particular Socio 3','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(464,NULL,2110120,5,2,2110100,'Cuenta Particular Socio 4','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(465,NULL,3110102,5,2,3110100,'Otras Reservas','Patrimonio Neto',NULL,NULL,1,1,0,0,0,1,NULL),(466,NULL,1140331,5,1,1140300,'IGMP (Saldo a Favor)','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(467,NULL,5110104,5,2,5110000,'Interés','Result. Negativo',NULL,NULL,1,2,0,0,1,1,NULL),(468,NULL,1150402,5,1,1150400,'Productos en Proceso','Activo',5,NULL,1,1,0,0,0,1,NULL),(469,NULL,2110205,5,2,2110200,'Depósitos en Garantía Socio Gerente','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(470,NULL,2110346,5,2,2110300,'Fondos Embargados','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(471,NULL,2110347,5,2,2110300,'Cuota Solid.','Pasivo',NULL,NULL,1,1,0,0,0,1,'2020-12-31 13:34:22'),(472,NULL,1140332,5,1,1140300,'Anticipo Honorarios Directores','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(473,NULL,2110348,5,2,2110300,'SICORE a Pagar','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(474,NULL,1110212,5,1,1110200,'Banco Credicoop Cta. Cte.','Activo',NULL,NULL,1,2,1,1,1,0,NULL),(475,NULL,1110213,5,1,1110200,'Banco Superville Cta. Cte.','Activo',NULL,NULL,1,2,1,1,1,0,NULL),(476,NULL,5110105,5,2,5110000,'RECPAM','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(477,NULL,1110125,5,1,1110100,'Caja Reales','Activo',NULL,NULL,1,2,1,1,1,0,NULL),(478,NULL,5140169,5,1,5140100,'CO2 - Imp. Al Carbono Sufrida','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(479,NULL,1140300,4,1,1140000,'Anticipo de Impuestos','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(480,NULL,2110600,4,2,2110000,'Retenciones Efectuadas','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(481,NULL,4200000,2,2,4000000,'INGRESOS EXTRAORDINARIOS','Result. Positivo',NULL,NULL,1,1,0,0,0,0,NULL),(482,7941,1110215,5,1,1110200,'Banco BBVA Cta Cte 9023-8','Activo',NULL,NULL,1,1,1,1,1,0,NULL),(483,7941,1110216,5,1,1110200,'Banco BBVA Cta Cte 2712-6','Activo',NULL,NULL,1,1,1,1,1,0,NULL),(484,7941,1220308,5,1,1220300,'Herramientas','Activo',5,NULL,1,1,0,0,0,1,NULL),(485,7941,1220309,5,1,1220300,'Amortización Acumulada Herramientas','Activo',5,NULL,1,1,0,0,0,0,NULL),(486,7941,1140223,5,1,1140200,'Adelanto de Sueldo','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(487,7941,1140224,5,1,1140200,'SIRCREB','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1001,NULL,5140170,5,1,5140100,'SIRTAC Córdoba','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1002,NULL,5140171,5,1,5140100,'SIRTAC Corrientes','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1003,NULL,5140172,5,1,5140100,'SIRTAC Chaco','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1004,NULL,5140173,5,1,5140100,'SIRTAC Chubut','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1005,NULL,5140174,5,1,5140100,'SIRTAC Entre Ríos','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1006,NULL,5140175,5,1,5140100,'SIRTAC Formosa','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1007,NULL,5140176,5,1,5140100,'SIRTAC Jujuy','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1008,NULL,5140177,5,1,5140100,'SIRTAC La Pampa','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1009,NULL,5140178,5,1,5140100,'SIRTAC La Rioja','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1010,NULL,5140179,5,1,5140100,'SIRTAC Mendoza','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1011,NULL,5140180,5,1,5140100,'SIRTAC Misiones','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1012,NULL,5140181,5,1,5140100,'SIRTAC Neuquén','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (1013,NULL,5140182,5,1,5140100,'SIRTAC Río Negro','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1014,NULL,5140183,5,1,5140100,'SIRTAC Salta','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1015,NULL,5140184,5,1,5140100,'SIRTAC San Juan','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1016,NULL,5140185,5,1,5140100,'SIRTAC San Luis','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1017,NULL,5140186,5,1,5140100,'SIRTAC Santa Cruz','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1018,NULL,5140187,5,1,5140100,'SIRTAC Santa Fe','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1019,NULL,5140188,5,1,5140100,'SIRTAC Santiago del Estero','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1020,NULL,5140189,5,1,5140100,'SIRTAC Tierra del Fuego','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1021,NULL,5140190,5,1,5140100,'SIRTAC Tucuman','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1022,NULL,5140191,5,1,5140100,'SIRTAC Capital Federal','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1023,NULL,5140192,5,1,5140100,'SIRTAC Buenos Aires','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1024,NULL,5140193,5,1,5140100,'SIRTAC Catamarca','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1025,NULL,5140194,5,1,5140100,'SIRTAC Pascua Lama','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1026,NULL,6110104,5,1,6110100,'BANCO SIRTAC','Movimiento',NULL,NULL,1,2,0,0,1,1,NULL),(1027,7941,5120108,5,2,5120100,'Gastos Refrigerios','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1028,7941,5120108,5,2,5120100,'Gatos de Empaquetamiento','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1029,7941,1140225,5,1,1140200,'Percepciones IIBB','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1030,7941,1110217,5,1,1110200,'Banco Santander Rio','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1031,11429,1140245,5,1,1140200,'Percepcion IVA','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1032,11429,1140246,5,1,1140200,'Retenciones IIBB','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1033,7941,1140228,5,1,1140200,'SIRCREB IIBB','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1034,11429,2110357,5,2,2110300,'IIBB a Pagar','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1035,11429,1140249,5,1,1140200,'IIBB a Favor','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1036,7941,5120108,5,2,5120100,'CMV','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1037,7941,1140133,5,1,1140100,'Retenciones de Ganancias','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1038,7941,5120108,5,2,5120100,'Indumentaria Laboral','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1039,7941,5120108,5,2,5120100,'Servicios varios - telefonía, internet, seguridad, abl, etc','Result. Negativo',NULL,NULL,1,1,1,1,1,1,NULL),(1040,7941,5120108,5,2,5120100,'Mantenimiento y reparaciones','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1041,7941,1110218,5,1,1110200,'Santander Rio 041-028387/2','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1042,7941,2110352,5,2,2110300,'Pasivo - Mis Facilidades a pagar','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1043,7941,2110353,5,2,2110300,'BP, ACC. y PART. SOC. a pagar','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1044,7941,1150403,5,1,1150400,'OBRA EN CURSO','Activo',5,NULL,1,1,0,0,0,0,NULL),(1045,7941,5120108,5,2,5120100,'GASTOS DEL PERSONAL','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1046,7941,5120108,5,2,5120100,'IMPUESTOS VARIOS','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1047,11429,1140250,5,1,1140200,'Impuesto al Debito y Credito Computable','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1048,11429,5120108,5,2,5120100,'Logistica y Distribucion','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1049,11429,1160116,5,1,1160100,'IVA Saldo a Favor','Activo',5,NULL,1,1,0,0,0,0,NULL),(1050,7941,1110219,5,1,1110200,'Activo - Santander Rio U$D 041-028388/9','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1051,7941,1110220,5,1,1110200,'BANCO DE COMERCIO 34101/8','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1052,7941,1110221,5,1,1110200,'BANCO DOLARES CTA 9555-4','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1053,7941,1120103,5,1,1120100,'FCI Balanz','Activo',NULL,NULL,1,1,0,0,0,0,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (1054,7941,5120108,5,2,5120100,'Pagos a Tarjeta Visa','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1055,7941,5210101,5,2,5210100,'Impuesto a los sellos','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1056,7941,5120108,5,2,5120100,'CORREOS Y ENCOMIENDAS','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1400,NULL,5140267,5,1,5140100,'Perc IVA -RG3337 Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1401,NULL,5140209,5,1,5140100,'Imps. Internos Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1402,NULL,5140210,5,1,5140100,'Imp. Gasoil Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1403,NULL,5140211,5,1,5140100,'Imp. Hídricos Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1404,NULL,5140212,5,1,5140100,'ITC Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1405,NULL,5140213,5,1,5140100,'Perc IIBB  Buenos Aires Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1406,NULL,5140214,5,1,5140100,'Perc IIBB  Capital Federal Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1407,NULL,5140215,5,1,5140100,'Perc IIBB  Catamarca Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1408,NULL,5140216,5,1,5140100,'Perc IIBB  Chaco Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1409,NULL,5140217,5,1,5140100,'Perc IIBB  Chubut Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1410,NULL,5140218,5,1,5140100,'Perc IIBB  Córdoba Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1411,NULL,5140219,5,1,5140100,'Perc IIBB  Corrientes Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1412,NULL,5140220,5,1,5140100,'Perc IIBB  Entre Ríos Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1413,NULL,5140221,5,1,5140100,'Perc IIBB  Formosa Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1414,NULL,5140222,5,1,5140100,'Perc IIBB  Jujuy Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1415,NULL,5140223,5,1,5140100,'Perc IIBB  La Pampa Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1416,NULL,5140224,5,1,5140100,'Perc IIBB  La Rioja Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1417,NULL,5140225,5,1,5140100,'Perc IIBB  Mendoza Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1418,NULL,5140226,5,1,5140100,'Perc IIBB  Misiones Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1419,NULL,5140227,5,1,5140100,'Perc IIBB  Neuquén Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1420,NULL,5140228,5,1,5140100,'Perc IIBB  Pascua Lama Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1421,NULL,5140229,5,1,5140100,'Perc IIBB  Río Negro Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1422,NULL,5140230,5,1,5140100,'Perc IIBB  Salta Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1423,NULL,5140231,5,1,5140100,'Perc IIBB  San Juan Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1424,NULL,5140232,5,1,5140100,'Perc IIBB  San Luis Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1425,NULL,5140233,5,1,5140100,'Perc IIBB  Santa Cruz Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1426,NULL,5140234,5,1,5140100,'Perc IIBB  Santa Fe Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1427,NULL,5140235,5,1,5140100,'Perc IIBB  Santiago del Estero Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1428,NULL,5140236,5,1,5140100,'Perc IIBB  Tierra del Fuego Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1429,NULL,5140237,5,1,5140100,'Perc IIBB  Tucuman Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1430,NULL,5140269,5,1,5140100,'CO2 - Imp. Al Carbono Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1431,NULL,5120256,5,1,5120100,'Imp. Municipales Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL),(1432,NULL,5120257,5,1,5120100,'Perc/Ret. Imp. Ganancias Efectuada','Result. Negativo',NULL,NULL,1,2,0,0,0,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (1433,7941,1140231,5,1,1140200,'Pago a cuenta Misiones','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1434,7941,1110222,5,1,1110200,'Banco Supervielle Cta Cte 281-04417996/3','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1435,7941,1110223,5,1,1110200,'Banco Credicoop Cta Cte 043-009798-0','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1436,7941,1110224,5,1,1110200,'Banco Credicoop Cta Cte 043-011286-1','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1437,7941,1110225,5,1,1110200,'Banco Credicoop Cta Cte 043-006949-5','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1438,7941,1110226,5,1,1110200,'Banco Credicoop Cta Cte 043-005902-9','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1439,7941,1110227,5,1,1110200,'Banco Credicoop Cta Cte 043-009996-2','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1440,7941,5120108,5,2,5120100,'Per. y Ret. No computables','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1441,7941,2110206,5,2,2110200,'Faecys a pagar','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(1442,7941,2110207,5,2,2110200,'Sec a pagar','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(1443,7941,2110208,5,2,2110200,'Inacap a pagar','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(1444,7941,2110209,5,2,2110200,'Osecac a pagar','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(1445,7941,1110230,5,1,1110200,'Prestamos al personal','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1446,7941,1120104,5,1,1120100,'Fondo Común de Inversión - Credicoop','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1447,7941,1110229,5,1,1110200,'Mercado Pago Cta. Cte.','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1448,7941,1140232,5,1,1140200,'Anticipo a Proveedores del Exterior','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1449,7941,1140233,5,1,1140200,'Cuenta Particular Gustavo Szuldman','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1450,7941,1140234,5,1,1140200,'Cuenta Particular Luciano Szuldman','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1451,7941,2110503,5,2,2110500,'Préstamos Bancarios a Pagar','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1452,7941,2110504,5,2,2110500,'Tarjeta de Crédito a Pagar','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1453,7941,1160108,5,1,1160100,'Intereses Mis Facilidades a Devengar','Activo',5,NULL,1,1,0,0,0,0,NULL),(1454,7941,1160109,5,1,1160100,'Intereses negativos a devengar -por deudas financieras','Activo',5,NULL,1,1,0,0,0,0,NULL),(1455,7941,1140134,5,1,1140100,'Percepciones de Ganancias','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1456,7941,5210101,5,2,5210100,'Intereses financieros e impositivos','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1457,7941,5110106,5,2,5110100,'Gastos de representación','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1458,7941,1110231,5,1,1110200,'Mercado Pago 1 - Cuenta Info','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1459,7941,5120108,5,2,5120100,'Comisiones MP y ML','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1460,7941,5120108,5,2,5120100,'Comisiones Mercado Libre','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1461,7941,5120108,5,2,5120100,'Comisiones por envío de Mercado Libre','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1462,7941,4120101,5,1,4120100,'Resultado por Tenencia','Result. Positivo',NULL,NULL,1,1,0,0,0,0,NULL),(1463,7941,4120101,5,1,4120100,'Resultado por Inversión','Result. Positivo',NULL,NULL,1,1,0,0,0,0,NULL),(1464,7941,5110106,5,2,5110100,'Gastos de Dominio Web','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1465,7941,1110232,5,1,1110200,'Mercado Pago 2 - Cuenta Logística','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1466,7941,1110233,5,1,1110200,'Mercado Pago 3 - Cuenta Miguel Hielogic','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1467,7941,1110234,5,1,1110200,'Mercado Pago 4 - Cuenta Luciano','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1468,7941,4120101,5,1,4120100,'Rendimiento de inversión - Mercado Pago','Result. Positivo',NULL,NULL,1,1,0,0,0,0,NULL),(1469,7941,5210101,5,2,5210100,'Costo de financiación e intereses - Mercado Pago','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1470,7941,6110102,5,1,6110100,'Cuenta Puente - Mercado Pago','Movimiento',NULL,NULL,1,1,0,0,0,0,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (1471,7941,2110121,5,2,2110100,'Anticipo para el Pago de Tributos Aduaneros','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1472,7941,2110505,5,2,2110500,'Préstamo bancario a pagar','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1473,7941,5210101,5,2,5210100,'Artículos de librería y oficina','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1474,7941,5210101,5,2,5210100,'Gastos de limpieza','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1475,7941,5210101,5,2,5210100,'Ropa de trabajo','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1476,7941,5210101,5,2,5210100,'Gastos de eventos','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1477,7941,5120108,5,2,5120100,'Fletes y correos','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1478,7941,5120108,5,2,5120100,'Gastos de importaciones','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1479,7941,5120108,5,2,5120100,'Insumos varios','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1480,7941,5120108,5,2,5120100,'Gastos de embalaje','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1481,7941,1220402,5,1,1220400,'Mejoras sobre Inmueble','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1482,7941,5210101,5,2,5210100,'Gastos de Rodados','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1483,7941,5120108,5,2,5120100,'Gastos de informática','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1484,7941,1110235,5,1,1110200,'Mercado Pago 5 - Cuenta Fadefil','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1485,7941,1150404,5,1,1150400,'Mercadería del Exterior','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1486,7941,1220403,5,1,1220400,'TERRENO - VALOR DE ORIGEN','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1487,7941,1220404,5,1,1220400,'TERRENO - VALOR ACTUALIZADO','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1488,7941,1220405,5,1,1220400,'Obra en curso - Valor Actualizado','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1489,7941,5210101,5,2,5210100,'BS. Acc. y Participaciones','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1490,7941,5120108,5,2,5120100,'Software y Comunicacion','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(1491,7941,5120108,5,2,5120100,'Gastos Varios Administracion','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(1492,7941,5120108,5,2,5120100,'Mantenimiento de automoviles','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(1493,7941,5120108,5,2,5120100,'Gastos Medicina Laboral','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(1494,7941,5120108,5,2,5120100,'Gasto de Alarma y Seguridad','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(1495,7941,5120108,5,2,5120100,'Gastos varios de fabricacion','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(1496,7941,5120108,5,2,5120100,'Combustible y Lubricentro','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(1497,7941,5120108,5,2,5120100,'Seguros Comercializacion','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(1498,7941,5120108,5,2,5120100,'Legalizaciones y certificaciones','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(1499,7941,1150407,5,1,1150400,'Despachos','Activo',NULL,NULL,0,1,0,0,0,0,NULL),(1500,7941,5120108,5,2,5120100,'Serv. de analisis bactereologico de agua','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(1501,7941,1110236,5,1,1110200,'Banco Macro Cta Cte USD','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1502,7941,1140333,5,1,1140300,'Anticipo pago de tributos aduaneros','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1503,7941,1220406,5,1,1220400,'Amortizacion acumulada inmuebles','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1504,7941,1220603,5,1,1220600,'Equipos en alquiler','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1505,7941,1220604,5,1,1220600,'Amortizacion acumulada Equipos de alquiler','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1506,7941,2210102,5,2,2210100,'Prevision Litigios Contingentes','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1507,7941,2210103,5,2,2210100,'Prevision contingencias proveedores','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1508,7941,1140334,5,1,1140300,'Saldo a favor SUSS','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1509,7941,1110237,5,1,1110200,'Banco Credicoop cta cte USD','Activo',NULL,NULL,1,1,0,0,0,0,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (1510,7941,5130101,5,2,5130100,'INTERESES PAGADOS','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1511,11429,2110358,5,2,2110300,'Bienes Personales Acciones y Participaciones a Pagar','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1512,7941,2110355,5,2,2110300,'RETENCIONES IMPUESTO A LAS GANANCIAS A PAGAR','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1513,7941,1140236,5,1,1140200,'Cuenta Particular Antonio Szulman','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1514,7941,1120105,5,1,1120100,'FONDO COMUN DE INVERSION','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1515,7941,5120108,5,2,5120100,'GASTOS DE COMPUTACION','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1516,11429,5120108,5,2,5120100,'Gastos de Oficina','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1517,7941,5120108,5,2,5120100,'IMPS. INTERNOS','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1518,7941,5120108,5,2,5120100,'HERRAMIENTAS','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1519,7941,5120108,5,2,5120100,'SEGURIDAD','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1520,7941,5120108,5,2,5120100,'SERVICIOS FLETE','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1521,7941,5120108,5,2,5120100,'CORREO','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1522,7941,5120108,5,2,5120100,'REGALOS EMPRESARIALES','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1523,7941,2110210,5,2,2110200,'SIRE A PAGAR','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1524,7941,2210104,5,2,2210100,'A cuenta Adq.unidades - Pesos','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1525,7941,2210105,5,2,2210100,'A cuenta Adq.unidades - Dolares','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1526,7941,2210107,5,2,2210100,'Embargos de sueldos a pagar','Pasivo',2,NULL,1,1,0,0,0,0,NULL),(1527,7941,5120108,5,2,5120100,'Seguridad e Higiene','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1528,7941,2210108,5,2,2210100,'Seguridad e Higiene a pagar','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1529,7941,1150408,5,1,1150400,'Materiales y Herramientas para la construccion','Activo',5,NULL,1,1,0,0,0,0,NULL),(1530,7941,2110506,5,2,2110500,'PRESTAMO','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1531,7941,2110507,5,2,2110500,'PRESTAMOS A PAGAR','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1532,7941,1230104,5,1,1230100,'Cuenta Particular Jimena Viva','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1533,7941,5120108,5,2,5120100,'Costo de MP','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1534,7941,5120108,5,2,5120100,'Impuesto al Debito y Credito de MP','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1535,7941,5120108,5,2,5120100,'gastos de comercializacion','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1536,7941,5120108,5,2,5120100,'IMPUESTOS ADUANEROS','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1537,11429,5120108,5,2,5120100,'Honorarios Profesionales','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1538,7941,1160110,5,1,1160100,'Ganancias-Saldo de Libre Disponibilidad','Activo',3,NULL,1,1,0,0,0,0,NULL),(1539,7941,1150409,5,1,1150400,'Insumos','Activo',5,NULL,1,1,0,0,0,0,NULL),(1540,7941,1160111,5,1,1160100,'Maquinarias Importadas','Activo',5,NULL,1,1,0,0,0,0,NULL),(1541,7941,6110102,5,1,6110100,'Amortizacion Acumulada Maquinarias Importadas','Movimiento',5,NULL,1,1,0,0,0,0,NULL),(1542,7941,2110122,5,2,2110100,'Otras Deudas','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1543,7941,1220110,5,1,1220100,'Amortizacion Equipos de Computacion','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1544,7941,1220111,5,1,1220100,'Amortizacion Acumulada Equipos de Computacion','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1545,7941,1140237,5,1,1140200,'Saldo a favor IIBB','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1546,7941,5120108,5,2,5120100,'CONSTRUCCION/REFORMA','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1547,7941,1110238,5,1,1110200,'BANCO CREDICOOP  CUENTA CORRIENTE','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1548,7941,5120108,5,2,5120100,'Intereses por giro en descubierto','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1549,7941,1160112,5,1,1160100,'IVA reducido','Activo',NULL,NULL,1,1,0,0,0,0,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (1550,7941,5120108,5,2,5120100,'Impuesto Pais','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1551,7941,2110211,5,2,2110200,'S.U.S.S. SEGURIDAD SOCIAL A PAGAR','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1552,7941,2110212,5,2,2110200,'S.U.S.S. OBRA SOCIAL A PAGAR','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1553,7941,2110213,5,2,2110200,'S.U.S.S. ART A PAGAR','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1554,7941,2110214,5,2,2110200,'S.U.S.S. SEGURO DE VIDA OBLIGATORIO A PAGAR','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1555,7941,5120108,5,2,5120100,'Gastos de reparaciones/mantenimiento','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1556,7941,5120108,5,2,5120100,'GASTOS SEGURIDAD','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1557,7941,1140238,5,1,1140200,'Cuenta Particular - Daniel Sidelski','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1558,7941,5120108,5,2,5120100,'Intereses saldo deudor','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1559,7941,5120108,5,2,5120100,'Impuesto sellos','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1560,7941,5120108,5,2,5120100,'IVA DEBITO FISCAL reducido','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1561,7941,5120108,5,2,5120100,'Reintegro Imp ley debito credito','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1562,7941,1110239,5,1,1110200,'Valores a depositar','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1563,7941,1120106,5,1,1120100,'Rescate Fondo Comun de Inversion','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1564,7941,1140239,5,1,1140200,'Cuenta Particular -UADE','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1565,7941,1140240,5,1,1140200,'Cuenta aportes socio','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1566,7941,1110240,5,1,1110200,'CC U$S Nº 041-028388/9','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1567,7941,1130107,5,1,1130100,'Tarjeta de Credito a Cobrar','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1568,11429,5120108,5,2,5120100,'Servicios Varios- Luz y Gas','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL),(1569,11429,4120101,5,1,4120100,'Bonificacion Banco Galicia','Result. Positivo',NULL,NULL,1,1,0,0,0,1,NULL),(1570,11429,1140242,5,1,1140200,'IVA Percepciones Aduaneras','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1571,11429,2110356,5,2,2110300,'IMPUESTO A LAS GANANCIAS A PAGAR','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(1572,11429,1110243,5,1,1110200,'Banco Credicoop cta cte 043-011286-1 NO USAR.','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1573,11429,6110102,5,1,6110100,'Cuenta Puente - Banco Credicoop','Movimiento',NULL,NULL,1,1,0,0,0,0,NULL),(1574,11429,5120108,5,2,5120100,'Gastos de muestras y exposiciones','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1575,11429,2110123,5,2,2110100,'Proveedores en cta. cte. local','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1576,11429,5210101,5,2,5210100,'Investigación y desarrollo','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1577,11429,2110518,5,2,2110500,'Tarjeta de Credito VISA a Pagar','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1578,11429,2110509,5,2,2110500,'TARJETA DE CREDITO CABAL A PAGAR','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1579,11429,1110244,5,1,1110200,'Mercado Pago- Cuenta Horeca','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1580,11429,1220112,5,1,1220100,'Equipos','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1581,11429,1230105,5,1,1230100,'Software','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1582,11429,1230106,5,1,1230100,'Amortizacion Acumulada Software','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1583,11429,2110512,5,2,2110500,'TARJETA DE CREDITO VISA CREDICOOP A PAGAR','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(1584,11429,2110511,5,2,2110500,'TARJETA DE CREDITO VISA PATAGONIA A PAGAR','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(1585,11429,2110124,5,2,2110100,'CUENTA PARTICULAR SOCIO','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1586,11429,2110513,5,2,2110500,'PRESTAMOS CREDICOOP A PAGAR','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1587,11429,2110514,5,2,2110500,'Prestamos Banco Nacion a pagar','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1588,11429,2110515,5,2,2110500,'Prestamos Banco Patagonia a Pagar','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (1589,11429,2110516,5,2,2110500,'Prestamos Banco Nacion a pagar','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1590,11429,6110102,5,1,6110100,'Movimientos Entre Cuentas','Movimiento',NULL,NULL,1,1,0,0,0,1,NULL),(1591,11429,1110245,5,1,1110200,'Banco Patagonia Cta Cte','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(1592,11429,1110246,5,1,1110200,'Banco Nacion cta cte','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1593,11429,1110247,5,1,1110200,'Banco Credicoop Cta. Cte. 0720149735','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1594,11429,1110248,5,1,1110200,'Banco Credicoop Cta Cte 0720204351','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(1595,11429,1140243,5,1,1140200,'Cuenta Particular Socios','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1596,11429,1150410,5,1,1150400,'Insumos y repuestos','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1597,11429,2210109,5,2,2210100,'ARBA Plan de Pagos','Pasivo',NULL,NULL,1,1,0,0,0,0,NULL),(1598,11429,1220407,5,1,1220400,'Amortizacion Acumulada Mejora sobre inmuebles','Activo',NULL,NULL,1,1,0,0,0,0,NULL),(1599,11429,5120108,5,2,5120100,'Impuestos, Tasas y Contribuciones','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1600,11429,1140244,5,1,1140200,'CUENTA PARTICULAR - ANTONIO SZULDMAN','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(1601,11429,2110517,5,2,2110500,'TARJETA DE CREDITO AMERICAN EXPRESS A PAGAR','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(1602,11429,5120108,5,2,5120100,'VIANDAS AL PERSONAL','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1603,11429,2210110,5,2,2210100,'Cuenta Particular Maximiliano Virzi','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(1604,11429,1160113,5,1,1160100,'Cuenta Particular Maximiliano Virzi','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(1605,11429,1160114,5,1,1160100,'Cuenta Particular Pablo Alonso','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(1606,11429,2210111,5,2,2210100,'Cuenta Particular Pablo Alonso','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(1607,11429,1160115,5,1,1160100,'Cuenta Particular Juan Pablo Puricelli','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(1608,11429,2210112,5,2,2210100,'Cuenta Particular Juan Pablo Puricelli','Pasivo',NULL,NULL,1,1,0,0,0,1,NULL),(1609,11429,1110249,5,1,1110200,'Banco ICBC Cta Cte En USD','Activo',NULL,NULL,1,1,0,0,0,1,NULL),(1610,11429,5120108,5,2,5120100,'Comisiones Plataformas Virtuales sobre ventas','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1611,11429,5210101,5,2,5210100,'Gastos de Ensayos y Muestras','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1612,11429,5120108,5,2,5120100,'Gastos y Comisiones - Bancarias y Billeteras Virtuales','Result. Negativo',NULL,NULL,1,1,0,0,0,0,NULL),(1613,11429,5210101,5,2,5210100,'Gastos de Medicina','Result. Negativo',NULL,NULL,1,1,0,0,0,1,NULL);

--
-- Table structure for table `conta_tipo_asientos`
--

CREATE TABLE `conta_tipo_asientos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `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,
  `orden` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `conta_tipo_asientos`
--

INSERT INTO `conta_tipo_asientos` VALUES (1,'Sueldos',NULL,NULL,NULL,11),(2,'Ingresos',NULL,NULL,NULL,9),(3,'Egresos',NULL,NULL,NULL,10),(4,'Amortizaciones',NULL,NULL,NULL,4),(5,'Banco',NULL,NULL,NULL,15),(6,'Ganancias',NULL,NULL,NULL,12),(7,'Retenciones',NULL,NULL,NULL,13),(8,'SIRCREB',NULL,NULL,NULL,14),(9,'Compensaciones',NULL,NULL,NULL,16),(10,'Pagos AFIP',NULL,NULL,NULL,17),(11,'Ajustes',NULL,NULL,NULL,3),(12,'Saldos Iniciales',NULL,NULL,NULL,1),(13,'Cancelacion de Iniciales',NULL,NULL,NULL,2),(14,'Patrimonio Neto',NULL,NULL,NULL,8),(15,'Liquidaciones IVA',NULL,NULL,NULL,18),(16,'Liquidacion IIBB',NULL,NULL,NULL,19),(17,'Asientos de Cierre',NULL,NULL,NULL,5),(18,'Reclasificacion',NULL,NULL,NULL,6),(19,'Otros',NULL,NULL,NULL,7),(20,'Cobranzas','2019-10-02 03:20:37','2019-10-02 03:20:37',NULL,NULL),(21,'Pagos','2019-10-02 03:20:37','2019-10-02 03:20:37',NULL,NULL),(22,'Tesoreria','2019-10-19 02:10:24','2019-10-19 02:10:24',NULL,NULL),(23,'Ajuste por Inflacion','2020-03-01 06:39:20','2020-03-01 06:39:20',NULL,NULL),(24,'SIRTAC','2023-10-16 21:15:37','2023-10-16 21:15:37',NULL,20),(25,'Compensaciones Compras',NULL,NULL,NULL,NULL),(26,'Compensaciones Ventas',NULL,NULL,NULL,NULL);

--
-- Table structure for table `conta_tipo_cuentas`
--

CREATE TABLE `conta_tipo_cuentas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `tipo_cuenta` 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=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `conta_tipo_cuentas`
--

INSERT INTO `conta_tipo_cuentas` VALUES (1,'Rubro',NULL,NULL,NULL),(2,'SubRubro',NULL,NULL,NULL),(3,'Grupo',NULL,NULL,NULL),(4,'SubGrupo',NULL,NULL,NULL),(5,'Cuenta',NULL,NULL,NULL);

--
-- Table structure for table `conta_tipo_saldos`
--

CREATE TABLE `conta_tipo_saldos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `saldo` 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=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `conta_tipo_saldos`
--

INSERT INTO `conta_tipo_saldos` VALUES (1,'Deudor',NULL,NULL,NULL),(2,'Acreedor',NULL,NULL,NULL);

--
-- Table structure for table `control_cuits_afip`
--

CREATE TABLE `control_cuits_afip` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `field_name1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cuit` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `error` 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 `control_cuits_afip_person_id_foreign` (`person_id`),
  CONSTRAINT `control_cuits_afip_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `control_cuits_afip`
--


--
-- Table structure for table `control_general`
--

CREATE TABLE `control_general` (
  `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,
  `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 `control_general_description_unique` (`description`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `control_general`
--

INSERT INTO `control_general` VALUES (1,'Ingresos - Egresos - Resultado',1,'Proyeccion Ganancias','control_general/proyecGanancias',NULL,NULL),(2,'IVA',2,'IVA','control_general/iva',NULL,NULL),(3,'IIBB',3,'IIBB','control_general/iibb',NULL,NULL),(4,'Por Mes',4,'Vto. Impuestos','control_general/vto',NULL,NULL),(5,'Por Impuesto',4,'Vto. Impuestos','control_general/vtoPorImpuestos',NULL,NULL);

--
-- Table structure for table `cpc_nivel_1`
--

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

--
-- Dumping data for table `cpc_nivel_1`
--


--
-- Table structure for table `cpc_nivel_2`
--

CREATE TABLE `cpc_nivel_2` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cpc_nivel_1_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 `cpc_nivel_2_person_id_foreign` (`person_id`),
  KEY `cpc_nivel_2_cpc_nivel_1_id_foreign` (`cpc_nivel_1_id`),
  CONSTRAINT `cpc_nivel_2_cpc_nivel_1_id_foreign` FOREIGN KEY (`cpc_nivel_1_id`) REFERENCES `cpc_nivel_1` (`id`),
  CONSTRAINT `cpc_nivel_2_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cpc_nivel_2`
--


--
-- Table structure for table `cpc_nivel_2_details`
--

CREATE TABLE `cpc_nivel_2_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cpc_nivel_2_id` bigint(20) unsigned NOT NULL,
  `cuenta_contable_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 `cpc_nivel_2_details_person_id_foreign` (`person_id`),
  KEY `cpc_nivel_2_details_cpc_nivel_2_id_foreign` (`cpc_nivel_2_id`),
  KEY `cpc_nivel_2_details_cuenta_contable_id_foreign` (`cuenta_contable_id`),
  CONSTRAINT `cpc_nivel_2_details_cpc_nivel_2_id_foreign` FOREIGN KEY (`cpc_nivel_2_id`) REFERENCES `cpc_nivel_2` (`id`),
  CONSTRAINT `cpc_nivel_2_details_cuenta_contable_id_foreign` FOREIGN KEY (`cuenta_contable_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cpc_nivel_2_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cpc_nivel_2_details`
--


--
-- Table structure for table `cpcuenta_types_tc`
--

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

--
-- Dumping data for table `cpcuenta_types_tc`
--

INSERT INTO `cpcuenta_types_tc` VALUES (1,NULL,'Ingresos No Gravados',1,NULL,NULL,NULL),(2,NULL,'Sueldos',1,NULL,NULL,NULL),(3,NULL,'Retenciones de Ganancias',1,NULL,NULL,NULL),(4,NULL,'Anticipos de Ganancias',1,NULL,NULL,NULL),(5,NULL,'Bienes Activados',1,NULL,NULL,NULL),(6,NULL,'Percepciones de IVA',1,NULL,NULL,NULL),(7,NULL,'Percepciones de IIBB',1,NULL,NULL,NULL);

--
-- Table structure for table `cta_cte_cliente`
--

CREATE TABLE `cta_cte_cliente` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `is_no_fiscal` tinyint(1) DEFAULT '0',
  `user_id_que_firma` int(10) unsigned DEFAULT NULL,
  `numero` bigint(20) DEFAULT NULL,
  `tipo_asiento_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `compensado` tinyint(1) NOT NULL DEFAULT '0',
  `fecha` date DEFAULT NULL,
  `fecha_vencimiento` date DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(9,2) NOT NULL DEFAULT '1.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_cta_cte_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 `cta_cte_cliente_person_id_foreign` (`person_id`),
  KEY `cta_cte_cliente_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `cta_cte_cliente_period_id_foreign` (`period_id`),
  KEY `cta_cte_cliente_saldo_id_foreign` (`saldo_id`),
  KEY `cta_cte_cliente_tipo_asiento_id_foreign` (`tipo_asiento_id`),
  KEY `cta_cte_cliente_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_cliente_moneda_id_foreign` (`moneda_id`),
  CONSTRAINT `cta_cte_cliente_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_cliente_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `cta_cte_cliente_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `cta_cte_cliente_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_cliente_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_cliente_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`),
  CONSTRAINT `cta_cte_cliente_tipo_asiento_id_foreign` FOREIGN KEY (`tipo_asiento_id`) REFERENCES `conta_tipo_asientos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=272 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_cliente`
--

INSERT INTO `cta_cte_cliente` VALUES (1,7941,0,NULL,NULL,2,40915,40719,13,272949,1,0,'2025-03-31','2025-04-01',100.00,1,1044.00,'Factura C N°: 0003-00000001',NULL,NULL,'2025-04-01 14:08:52','2025-04-01 14:08:52',NULL),(2,7941,0,NULL,NULL,2,40915,40719,13,272950,1,0,'2025-04-01','2025-04-05',100.00,1,1044.00,'Factura C N°: 0003-00000002',NULL,NULL,'2025-04-01 14:20:11','2025-04-01 14:20:11',NULL),(3,7941,0,NULL,NULL,2,40915,40719,13,272950,1,0,'2025-04-01','2025-04-01',100.00,1,1044.00,'Factura C N°: 0003-00000003',NULL,NULL,'2025-04-01 15:19:41','2025-04-01 15:19:41',NULL),(4,7941,0,NULL,NULL,2,40915,40719,13,272950,1,0,'2025-04-01','2025-04-01',100.00,1,1044.00,'Factura C N°: 0003-00000004',NULL,NULL,'2025-04-01 15:22:35','2025-04-01 15:22:35',NULL),(5,7941,0,NULL,NULL,2,40915,40719,13,272950,1,0,'2025-04-01','2025-04-01',100.00,1,1044.00,'Factura C N°: 0003-00000005',NULL,NULL,'2025-04-01 15:48:33','2025-04-01 15:48:33',NULL),(6,7941,0,NULL,NULL,2,40915,40927,13,272950,1,0,'2025-04-28','2025-05-06',60000.00,1,1065.00,'Factura C N°: 0003-00000006',NULL,NULL,'2025-04-28 09:34:22','2025-04-28 09:34:22',NULL),(7,7941,0,NULL,NULL,2,40915,40734,13,272950,1,0,'2025-04-28','2025-05-06',900000.00,1,1065.00,'Factura C N°: 0003-00000007',NULL,NULL,'2025-04-28 09:34:23','2025-04-28 09:34:23',NULL),(8,7941,0,NULL,NULL,2,40915,40770,13,272950,1,0,'2025-04-28','2025-05-06',820000.00,1,1065.00,'Factura C N°: 0003-00000008',NULL,NULL,'2025-04-28 09:34:25','2025-04-28 09:34:25',NULL),(9,7941,0,NULL,NULL,2,40915,40928,13,272950,1,0,'2025-04-28','2025-05-06',90000.00,1,1065.00,'Factura C N°: 0003-00000009',NULL,NULL,'2025-04-28 09:34:26','2025-04-28 09:34:26',NULL),(10,7941,0,NULL,NULL,2,40915,40929,13,272950,1,0,'2025-04-28','2025-05-06',155000.00,1,1065.00,'Factura C N°: 0003-00000010',NULL,NULL,'2025-04-28 09:34:27','2025-04-28 09:34:27',NULL),(11,7941,0,NULL,NULL,2,40915,40930,13,272950,1,0,'2025-04-28','2025-05-06',310000.00,1,1065.00,'Factura C N°: 0003-00000011',NULL,NULL,'2025-04-28 09:34:28','2025-04-28 09:34:28',NULL),(12,7941,0,NULL,NULL,2,40915,40719,13,272950,1,0,'2025-04-28','2025-04-28',100.00,1,1065.00,'Factura C N°: 0003-00000012',NULL,NULL,'2025-04-28 09:53:34','2025-04-28 09:53:34',NULL),(13,7941,0,NULL,NULL,2,40915,40937,13,272950,1,0,'2025-04-28','2025-05-06',160000.00,1,1065.00,'Factura C N°: 0003-00000013',NULL,NULL,'2025-04-28 10:39:11','2025-04-28 10:39:11',NULL),(14,7941,0,NULL,NULL,2,40915,40938,13,272950,1,0,'2025-04-28','2025-05-06',35000.00,1,1065.00,'Factura C N°: 0003-00000014',NULL,NULL,'2025-04-28 10:39:13','2025-04-28 10:39:13',NULL),(15,7941,0,NULL,NULL,2,40915,40937,13,272950,1,0,'2025-04-28','2025-05-06',160000.00,1,1065.00,'Factura C N°: 0003-00000015',NULL,NULL,'2025-04-28 10:41:12','2025-04-28 10:41:12',NULL),(16,7941,0,NULL,NULL,2,40915,40938,13,272950,1,0,'2025-04-28','2025-05-06',35000.00,1,1065.00,'Factura C N°: 0003-00000016',NULL,NULL,'2025-04-28 10:41:14','2025-04-28 10:41:14',NULL),(17,7941,0,NULL,NULL,2,40915,40937,13,272950,1,0,'2025-04-28','2025-05-06',160000.00,1,1065.00,'Factura C N°: 0003-00000017',NULL,NULL,'2025-04-28 10:42:30','2025-04-28 10:42:30',NULL),(18,7941,0,NULL,NULL,2,40915,40938,13,272950,1,0,'2025-04-28','2025-05-06',35000.00,1,1065.00,'Factura C N°: 0003-00000018',NULL,NULL,'2025-04-28 10:42:31','2025-04-28 10:42:31',NULL),(19,7941,0,NULL,NULL,2,40915,40937,13,272950,1,0,'2025-04-28','2025-05-06',160000.00,1,1065.00,'Factura C N°: 0003-00000019',NULL,NULL,'2025-04-28 10:44:27','2025-04-28 10:44:27',NULL),(20,7941,0,NULL,NULL,2,40915,40938,13,272950,1,0,'2025-04-28','2025-05-06',35000.00,1,1065.00,'Factura C N°: 0003-00000020',NULL,NULL,'2025-04-28 10:44:29','2025-04-28 10:44:29',NULL),(21,7941,0,NULL,NULL,2,40915,40938,13,272950,2,0,'2025-04-28','2025-04-28',35000.00,1,1065.00,'Nota de crédito C N°: 0003-00000001',NULL,NULL,'2025-04-28 11:02:52','2025-04-28 11:02:52',NULL);
INSERT INTO `cta_cte_cliente` VALUES (22,7941,0,NULL,NULL,2,40915,40938,13,272950,2,0,'2025-04-28','2025-04-28',35000.00,1,1065.00,'Nota de crédito C N°: 0003-00000002',NULL,NULL,'2025-04-28 11:04:25','2025-04-28 11:04:25',NULL),(23,7941,0,NULL,NULL,2,40915,40938,13,272950,2,0,'2025-04-28','2025-04-28',35000.00,1,1065.00,'Nota de crédito C N°: 0003-00000003',NULL,NULL,'2025-04-28 11:06:36','2025-04-28 11:06:36',NULL),(24,7941,0,NULL,NULL,2,40915,40937,13,272950,2,0,'2025-04-28','2025-04-28',160000.00,1,1065.00,'Nota de crédito C N°: 0003-00000004',NULL,NULL,'2025-04-28 11:08:23','2025-04-28 11:08:23',NULL),(25,7941,0,NULL,NULL,2,40915,40937,13,272950,2,0,'2025-04-28','2025-04-28',160000.00,1,1065.00,'Nota de crédito C N°: 0003-00000005',NULL,NULL,'2025-04-28 11:09:12','2025-04-28 11:09:12',NULL),(26,7941,0,NULL,NULL,2,40915,40937,13,272950,2,0,'2025-04-28','2025-04-28',160000.00,1,1065.00,'Nota de crédito C N°: 0003-00000006',NULL,NULL,'2025-04-28 11:10:03','2025-04-28 11:10:03',NULL),(27,7941,0,NULL,NULL,2,40915,40719,13,272950,2,0,'2025-04-28','2025-04-28',600.00,1,1065.00,'Nota de crédito C N°: 0003-00000007',NULL,NULL,'2025-04-28 11:11:08','2025-04-28 11:11:08',NULL),(28,7941,0,NULL,NULL,2,40915,40939,13,272950,1,0,'2025-04-28','2025-05-06',165000.00,1,1065.00,'Factura C N°: 0003-00000021',NULL,NULL,'2025-04-28 12:06:10','2025-04-28 12:06:10',NULL),(29,7941,0,NULL,NULL,2,40915,40880,13,272950,1,0,'2025-04-28','2025-05-06',460000.00,1,1065.00,'Factura C N°: 0003-00000022',NULL,NULL,'2025-04-28 12:06:11','2025-04-28 12:06:11',NULL),(30,7941,0,NULL,NULL,2,40915,40940,13,272950,1,0,'2025-04-28','2025-05-06',190000.00,1,1065.00,'Factura C N°: 0003-00000023',NULL,NULL,'2025-04-28 12:06:12','2025-04-28 12:06:12',NULL),(31,7941,0,NULL,NULL,2,40719,40881,13,51,1,0,'2025-04-28','2025-05-06',260000.00,1,1065.00,'Factura C N°: 0005-00000001',NULL,NULL,'2025-04-28 15:34:16','2025-04-28 15:34:16',NULL),(32,7941,0,NULL,NULL,2,40719,40882,13,51,1,0,'2025-04-28','2025-05-06',175000.00,1,1065.00,'Factura C N°: 0005-00000002',NULL,NULL,'2025-04-28 15:34:17','2025-04-28 15:34:17',NULL),(33,7941,0,NULL,NULL,2,40719,40878,13,51,1,0,'2025-04-28','2025-05-06',175000.00,1,1065.00,'Factura C N°: 0005-00000003',NULL,NULL,'2025-04-28 15:34:18','2025-04-28 15:34:18',NULL),(34,7941,0,NULL,NULL,2,40719,40914,13,51,1,0,'2025-04-28','2025-05-06',100000.00,1,1065.00,'Factura C N°: 0005-00000004',NULL,NULL,'2025-04-28 15:34:19','2025-04-28 15:34:19',NULL),(35,7941,0,NULL,NULL,2,40719,40941,13,51,1,0,'2025-04-28','2025-05-06',200000.00,1,1065.00,'Factura C N°: 0005-00000005',NULL,NULL,'2025-04-28 15:34:20','2025-04-28 15:34:20',NULL),(36,7941,0,NULL,NULL,2,40719,40877,13,51,1,0,'2025-04-28','2025-05-06',510000.00,1,1065.00,'Factura C N°: 0005-00000006',NULL,NULL,'2025-04-28 15:34:22','2025-04-28 15:34:22',NULL),(37,7941,0,NULL,NULL,2,40719,40942,13,51,1,0,'2025-04-28','2025-05-06',120000.00,1,1065.00,'Factura C N°: 0005-00000007',NULL,NULL,'2025-04-28 15:34:22','2025-04-28 15:34:22',NULL),(38,7941,0,NULL,NULL,2,40719,40943,13,51,1,0,'2025-04-28','2025-05-06',550000.00,1,1065.00,'Factura C N°: 0005-00000008',NULL,NULL,'2025-04-28 15:34:23','2025-04-28 15:34:23',NULL),(39,7941,0,NULL,NULL,2,40719,40944,13,51,1,0,'2025-04-29','2025-05-06',150000.00,1,1142.00,'Factura C N°: 0005-00000009',NULL,NULL,'2025-04-29 11:22:14','2025-04-29 11:22:14',NULL),(40,7941,0,NULL,NULL,2,40719,40945,13,51,1,0,'2025-04-29','2025-05-06',250000.00,1,1142.00,'Factura C N°: 0005-00000010',NULL,NULL,'2025-04-29 11:22:34','2025-04-29 11:22:34',NULL),(41,7941,0,NULL,NULL,2,40719,40946,13,51,1,0,'2025-04-29','2025-05-06',155000.00,1,1142.00,'Factura C N°: 0005-00000011',NULL,NULL,'2025-04-29 11:22:53','2025-04-29 11:22:53',NULL),(42,7941,0,NULL,NULL,2,40719,40879,13,51,1,0,'2025-04-29','2025-05-06',770000.00,1,1142.00,'Factura C N°: 0005-00000012',NULL,NULL,'2025-04-29 11:23:01','2025-04-29 11:23:01',NULL);
INSERT INTO `cta_cte_cliente` VALUES (43,7941,0,NULL,NULL,2,40719,40913,13,51,1,0,'2025-04-29','2025-05-06',620000.00,1,1142.00,'Factura C N°: 0005-00000013',NULL,NULL,'2025-04-29 11:23:03','2025-04-29 11:23:03',NULL),(44,7941,0,NULL,NULL,2,40915,40927,13,272951,1,0,'2025-05-29','2025-06-06',70000.00,1,1127.00,'Factura C N°: 0003-00000024',NULL,NULL,'2025-05-29 13:54:52','2025-05-29 13:54:52',NULL),(45,7941,0,NULL,NULL,2,40915,40734,13,272951,1,0,'2025-05-29','2025-06-06',900000.00,1,1127.00,'Factura C N°: 0003-00000025',NULL,NULL,'2025-05-29 14:05:05','2025-05-29 14:05:05',NULL),(46,7941,0,NULL,NULL,2,40915,40770,13,272951,1,0,'2025-05-29','2025-06-06',820000.00,1,1127.00,'Factura C N°: 0003-00000026',NULL,NULL,'2025-05-29 14:05:06','2025-05-29 14:05:06',NULL),(47,7941,0,NULL,NULL,2,40915,40928,13,272951,1,0,'2025-05-29','2025-06-06',90000.00,1,1127.00,'Factura C N°: 0003-00000027',NULL,NULL,'2025-05-29 14:07:44','2025-05-29 14:07:44',NULL),(48,7941,0,NULL,NULL,2,40915,40929,13,272951,1,0,'2025-05-29','2025-06-06',170000.00,1,1127.00,'Factura C N°: 0003-00000028',NULL,NULL,'2025-05-29 14:07:45','2025-05-29 14:07:45',NULL),(49,7941,0,NULL,NULL,2,40915,40930,13,272951,1,0,'2025-05-29','2025-06-06',310000.00,1,1127.00,'Factura C N°: 0003-00000029',NULL,NULL,'2025-05-29 14:07:46','2025-05-29 14:07:46',NULL),(50,7941,0,NULL,NULL,2,40915,40937,13,272951,1,0,'2025-05-29','2025-06-06',160000.00,1,1127.00,'Factura C N°: 0003-00000030',NULL,NULL,'2025-05-29 14:07:47','2025-05-29 14:07:47',NULL),(51,7941,0,NULL,NULL,2,40915,40938,13,272951,1,0,'2025-05-29','2025-06-06',35000.00,1,1127.00,'Factura C N°: 0003-00000031',NULL,NULL,'2025-05-29 14:07:48','2025-05-29 14:07:48',NULL),(52,7941,0,NULL,NULL,2,40915,40939,13,272951,1,0,'2025-05-29','2025-06-06',190000.00,1,1127.00,'Factura C N°: 0003-00000032',NULL,NULL,'2025-05-29 14:07:49','2025-05-29 14:07:49',NULL),(53,7941,0,NULL,NULL,2,40915,40880,13,272951,1,0,'2025-05-29','2025-06-06',460000.00,1,1127.00,'Factura C N°: 0003-00000033',NULL,NULL,'2025-05-29 14:07:50','2025-05-29 14:07:50',NULL),(54,7941,0,NULL,NULL,2,40915,40940,13,272951,1,0,'2025-05-29','2025-06-06',190000.00,1,1127.00,'Factura C N°: 0003-00000034',NULL,NULL,'2025-05-29 14:07:51','2025-05-29 14:07:51',NULL),(55,7941,0,NULL,NULL,2,40915,40947,13,272951,1,0,'2025-05-29','2025-06-06',130000.00,1,1127.00,'Factura C N°: 0003-00000035',NULL,NULL,'2025-05-29 14:07:52','2025-05-29 14:07:52',NULL),(56,7941,0,NULL,NULL,2,40915,40948,13,272951,1,0,'2025-05-29','2025-06-06',130000.00,1,1127.00,'Factura C N°: 0003-00000036',NULL,NULL,'2025-05-29 14:07:53','2025-05-29 14:07:53',NULL),(57,NULL,0,NULL,NULL,2,40719,40881,13,52,1,0,'2025-05-30','2025-06-06',260000.00,1,1148.00,'Factura C N°: 0005-00000014',NULL,NULL,'2025-05-30 14:49:38','2025-05-30 14:49:38',NULL),(58,NULL,0,NULL,NULL,2,40719,40882,13,52,1,0,'2025-05-30','2025-06-06',175000.00,1,1148.00,'Factura C N°: 0005-00000015',NULL,NULL,'2025-05-30 14:49:39','2025-05-30 14:49:39',NULL),(59,NULL,0,NULL,NULL,2,40719,40878,13,52,1,0,'2025-05-30','2025-06-06',175000.00,1,1148.00,'Factura C N°: 0005-00000016',NULL,NULL,'2025-05-30 14:49:40','2025-05-30 14:49:40',NULL),(60,NULL,0,NULL,NULL,2,40719,40914,13,52,1,0,'2025-05-30','2025-06-06',100000.00,1,1148.00,'Factura C N°: 0005-00000017',NULL,NULL,'2025-05-30 14:49:41','2025-05-30 14:49:41',NULL),(61,NULL,0,NULL,NULL,2,40719,40941,13,52,1,0,'2025-05-30','2025-06-06',220000.00,1,1148.00,'Factura C N°: 0005-00000018',NULL,NULL,'2025-05-30 14:49:42','2025-05-30 14:49:42',NULL),(62,NULL,0,NULL,NULL,2,40719,40877,13,52,1,0,'2025-05-30','2025-06-06',560000.00,1,1148.00,'Factura C N°: 0005-00000019',NULL,NULL,'2025-05-30 14:49:43','2025-05-30 14:49:43',NULL),(63,NULL,0,NULL,NULL,2,40719,40942,13,52,1,0,'2025-05-30','2025-06-06',200000.00,1,1148.00,'Factura C N°: 0005-00000020',NULL,NULL,'2025-05-30 14:49:44','2025-05-30 14:49:44',NULL);
INSERT INTO `cta_cte_cliente` VALUES (64,NULL,0,NULL,NULL,2,40719,40943,13,52,1,0,'2025-05-30','2025-06-06',590000.00,1,1148.00,'Factura C N°: 0005-00000021',NULL,NULL,'2025-05-30 14:49:45','2025-05-30 14:49:45',NULL),(65,NULL,0,NULL,NULL,2,40719,40945,13,52,1,0,'2025-05-30','2025-06-06',250000.00,1,1148.00,'Factura C N°: 0005-00000022',NULL,NULL,'2025-05-30 14:49:46','2025-05-30 14:49:46',NULL),(66,NULL,0,NULL,NULL,2,40719,40946,13,52,1,0,'2025-05-30','2025-06-06',210000.00,1,1148.00,'Factura C N°: 0005-00000023',NULL,NULL,'2025-05-30 14:49:47','2025-05-30 14:49:47',NULL),(67,NULL,0,NULL,NULL,2,40719,40879,13,52,1,0,'2025-05-30','2025-06-06',770000.00,1,1148.00,'Factura C N°: 0005-00000024',NULL,NULL,'2025-05-30 14:49:48','2025-05-30 14:49:48',NULL),(68,NULL,0,NULL,NULL,2,40719,40913,13,52,1,0,'2025-05-30','2025-06-06',620000.00,1,1148.00,'Factura C N°: 0005-00000025',NULL,NULL,'2025-05-30 14:49:49','2025-05-30 14:49:49',NULL),(69,NULL,0,NULL,NULL,2,40719,40955,13,52,1,0,'2025-05-30','2025-06-06',470000.00,1,1148.00,'Factura C N°: 0005-00000026',NULL,NULL,'2025-05-30 14:49:50','2025-05-30 14:49:50',NULL),(70,NULL,0,NULL,NULL,2,40719,40956,13,52,1,0,'2025-05-30','2025-06-06',110000.00,1,1148.00,'Factura C N°: 0005-00000027',NULL,NULL,'2025-05-30 14:49:51','2025-05-30 14:49:51',NULL),(71,7941,0,NULL,NULL,2,40719,40881,13,52,1,0,'2025-05-30','2025-06-06',260000.00,1,1148.00,'Factura C N°: 0005-00000028',NULL,NULL,'2025-05-30 14:50:19','2025-05-30 14:50:19',NULL),(72,7941,0,NULL,NULL,2,40719,40882,13,52,1,0,'2025-05-30','2025-06-06',175000.00,1,1148.00,'Factura C N°: 0005-00000029',NULL,NULL,'2025-05-30 14:50:20','2025-05-30 14:50:20',NULL),(73,7941,0,NULL,NULL,2,40719,40878,13,52,1,0,'2025-05-30','2025-06-06',175000.00,1,1148.00,'Factura C N°: 0005-00000030',NULL,NULL,'2025-05-30 14:50:21','2025-05-30 14:50:21',NULL),(74,7941,0,NULL,NULL,2,40719,40914,13,52,1,0,'2025-05-30','2025-06-06',100000.00,1,1148.00,'Factura C N°: 0005-00000031',NULL,NULL,'2025-05-30 14:50:22','2025-05-30 14:50:22',NULL),(75,7941,0,NULL,NULL,2,40719,40881,13,52,2,0,'2025-05-30','2025-06-06',260000.00,1,1148.00,'Nota de crédito C N°: 0005-00000001',NULL,NULL,'2025-05-30 15:50:41','2025-05-30 15:50:41',NULL),(76,7941,0,NULL,NULL,2,40719,40882,13,52,2,0,'2025-05-30','2025-06-06',175000.00,1,1148.00,'Nota de crédito C N°: 0005-00000002',NULL,NULL,'2025-05-30 15:52:06','2025-05-30 15:52:06',NULL),(77,7941,0,NULL,NULL,2,40719,40878,13,52,2,0,'2025-05-30','2025-06-06',175000.00,1,1148.00,'Nota de crédito C N°: 0005-00000003',NULL,NULL,'2025-05-30 15:53:22','2025-05-30 15:53:22',NULL),(78,7941,0,NULL,NULL,2,40719,40914,13,52,2,0,'2025-05-30','2025-06-06',100000.00,1,1148.00,'Nota de crédito C N°: 0005-00000004',NULL,NULL,'2025-05-30 15:55:07','2025-05-30 15:55:07',NULL),(79,7941,0,NULL,NULL,2,40915,40927,13,272952,1,0,'2025-06-27','2025-07-04',70000.00,1,1166.00,'Factura C N°: 0003-00000037',NULL,NULL,'2025-06-27 13:39:21','2025-06-27 13:39:21',NULL),(80,NULL,0,NULL,NULL,2,40915,40734,13,272952,1,0,'2025-06-27','2025-07-04',980000.00,1,1166.00,'Factura C N°: 0003-00000038',NULL,NULL,'2025-06-27 13:40:08','2025-06-27 13:40:08',NULL),(81,NULL,0,NULL,NULL,2,40915,40770,13,272952,1,0,'2025-06-27','2025-07-04',890000.00,1,1166.00,'Factura C N°: 0003-00000039',NULL,NULL,'2025-06-27 13:40:09','2025-06-27 13:40:09',NULL),(82,NULL,0,NULL,NULL,2,40915,40928,13,272952,1,0,'2025-06-27','2025-07-04',100000.00,1,1166.00,'Factura C N°: 0003-00000040',NULL,NULL,'2025-06-27 13:40:10','2025-06-27 13:40:10',NULL),(83,NULL,0,NULL,NULL,2,40915,40929,13,272952,1,0,'2025-06-27','2025-07-04',170000.00,1,1166.00,'Factura C N°: 0003-00000041',NULL,NULL,'2025-06-27 13:40:11','2025-06-27 13:40:11',NULL),(84,NULL,0,NULL,NULL,2,40915,40930,13,272952,1,0,'2025-06-27','2025-07-04',310000.00,1,1166.00,'Factura C N°: 0003-00000042',NULL,NULL,'2025-06-27 13:40:12','2025-06-27 13:40:12',NULL);
INSERT INTO `cta_cte_cliente` VALUES (85,NULL,0,NULL,NULL,2,40915,40937,13,272952,1,0,'2025-06-27','2025-07-04',160000.00,1,1166.00,'Factura C N°: 0003-00000043',NULL,NULL,'2025-06-27 13:40:13','2025-06-27 13:40:13',NULL),(86,NULL,0,NULL,NULL,2,40915,40938,13,272952,1,0,'2025-06-27','2025-07-04',40000.00,1,1166.00,'Factura C N°: 0003-00000044',NULL,NULL,'2025-06-27 13:40:15','2025-06-27 13:40:15',NULL),(87,NULL,0,NULL,NULL,2,40915,40939,13,272952,1,0,'2025-06-27','2025-07-04',190000.00,1,1166.00,'Factura C N°: 0003-00000045',NULL,NULL,'2025-06-27 13:40:16','2025-06-27 13:40:16',NULL),(88,NULL,0,NULL,NULL,2,40915,40880,13,272952,1,0,'2025-06-27','2025-07-04',460000.00,1,1166.00,'Factura C N°: 0003-00000046',NULL,NULL,'2025-06-27 13:40:17','2025-06-27 13:40:17',NULL),(89,NULL,0,NULL,NULL,2,40915,40940,13,272952,1,0,'2025-06-27','2025-07-04',200000.00,1,1166.00,'Factura C N°: 0003-00000047',NULL,NULL,'2025-06-27 13:40:18','2025-06-27 13:40:18',NULL),(90,NULL,0,NULL,NULL,2,40915,40947,13,272952,1,0,'2025-06-27','2025-07-04',150000.00,1,1166.00,'Factura C N°: 0003-00000048',NULL,NULL,'2025-06-27 13:40:19','2025-06-27 13:40:19',NULL),(91,NULL,0,NULL,NULL,2,40915,40948,13,272952,1,0,'2025-06-27','2025-07-04',150000.00,1,1166.00,'Factura C N°: 0003-00000049',NULL,NULL,'2025-06-27 13:40:20','2025-06-27 13:40:20',NULL),(92,NULL,0,NULL,NULL,2,40915,40957,13,272952,1,0,'2025-06-27','2025-07-04',400000.00,1,1166.00,'Factura C N°: 0003-00000050',NULL,NULL,'2025-06-27 13:40:21','2025-06-27 13:40:21',NULL),(93,7941,0,NULL,NULL,2,40915,40947,13,272952,2,0,'2025-06-27','2025-07-04',150000.00,1,1166.00,'Nota de crédito C N°: 0003-00000008',NULL,NULL,'2025-06-27 14:08:48','2025-06-27 14:08:48',NULL),(94,7941,0,NULL,NULL,2,40719,40881,13,53,1,0,'2025-06-27','2025-07-04',280000.00,1,1166.00,'Factura C N°: 0005-00000032',NULL,NULL,'2025-06-27 15:53:04','2025-06-27 15:53:04',NULL),(95,7941,0,NULL,NULL,2,40719,40882,13,53,1,0,'2025-06-27','2025-07-04',190000.00,1,1166.00,'Factura C N°: 0005-00000033',NULL,NULL,'2025-06-27 15:54:02','2025-06-27 15:54:02',NULL),(96,7941,0,NULL,NULL,2,40719,40878,13,53,1,0,'2025-06-27','2025-07-04',190000.00,1,1166.00,'Factura C N°: 0005-00000034',NULL,NULL,'2025-06-27 15:54:03','2025-06-27 15:54:03',NULL),(97,7941,0,NULL,NULL,2,40719,40914,13,53,1,0,'2025-06-27','2025-07-04',140000.00,1,1166.00,'Factura C N°: 0005-00000035',NULL,NULL,'2025-06-27 15:54:04','2025-06-27 15:54:04',NULL),(98,7941,0,NULL,NULL,2,40719,40941,13,53,1,0,'2025-06-27','2025-07-04',220000.00,1,1166.00,'Factura C N°: 0005-00000036',NULL,NULL,'2025-06-27 15:54:06','2025-06-27 15:54:06',NULL),(99,7941,0,NULL,NULL,2,40719,40877,13,53,1,0,'2025-06-27','2025-07-04',560000.00,1,1166.00,'Factura C N°: 0005-00000037',NULL,NULL,'2025-06-27 15:54:07','2025-06-27 15:54:07',NULL),(100,7941,0,NULL,NULL,2,40719,40942,13,53,1,0,'2025-06-27','2025-07-04',200000.00,1,1166.00,'Factura C N°: 0005-00000038',NULL,NULL,'2025-06-27 15:54:48','2025-06-27 15:54:48',NULL),(101,7941,0,NULL,NULL,2,40719,40943,13,53,1,0,'2025-06-27','2025-07-04',605000.00,1,1166.00,'Factura C N°: 0005-00000039',NULL,NULL,'2025-06-27 15:54:49','2025-06-27 15:54:49',NULL),(102,7941,0,NULL,NULL,2,40719,40945,13,53,1,0,'2025-06-27','2025-07-04',260000.00,1,1166.00,'Factura C N°: 0005-00000040',NULL,NULL,'2025-06-27 15:54:50','2025-06-27 15:54:50',NULL),(103,7941,0,NULL,NULL,2,40719,40946,13,53,1,0,'2025-06-27','2025-07-04',210000.00,1,1166.00,'Factura C N°: 0005-00000041',NULL,NULL,'2025-06-27 15:54:51','2025-06-27 15:54:51',NULL),(104,7941,0,NULL,NULL,2,40719,40955,13,53,1,0,'2025-06-27','2025-07-04',400000.00,1,1166.00,'Factura C N°: 0005-00000042',NULL,NULL,'2025-06-27 15:54:52','2025-06-27 15:54:52',NULL),(105,7941,0,NULL,NULL,2,40719,40956,13,53,1,0,'2025-06-27','2025-07-04',100000.00,1,1166.00,'Factura C N°: 0005-00000043',NULL,NULL,'2025-06-27 15:54:53','2025-06-27 15:54:53',NULL);
INSERT INTO `cta_cte_cliente` VALUES (106,7941,0,NULL,NULL,2,40719,40879,13,53,1,0,'2025-06-30','2025-07-10',960000.00,1,1160.00,'Factura C N°: 0005-00000044',NULL,NULL,'2025-06-30 12:28:21','2025-06-30 12:28:21',NULL),(107,7941,0,NULL,NULL,2,40719,40913,13,53,1,0,'2025-06-30','2025-07-10',770000.00,1,1160.00,'Factura C N°: 0005-00000045',NULL,NULL,'2025-06-30 12:28:22','2025-06-30 12:28:22',NULL),(108,7941,0,NULL,NULL,2,40915,40927,13,272953,1,0,'2025-07-28','2025-08-05',70000.00,1,1255.00,'Factura C N°: 0003-00000051',NULL,NULL,'2025-07-28 18:18:49','2025-07-28 18:18:49',NULL),(109,NULL,0,NULL,NULL,2,40915,40734,13,272953,1,0,'2025-07-28','2025-08-05',980000.00,1,1255.00,'Factura C N°: 0003-00000052',NULL,NULL,'2025-07-28 18:19:09','2025-07-28 18:19:09',NULL),(110,NULL,0,NULL,NULL,2,40915,40770,13,272953,1,0,'2025-07-28','2025-08-05',890000.00,1,1255.00,'Factura C N°: 0003-00000053',NULL,NULL,'2025-07-28 18:19:10','2025-07-28 18:19:10',NULL),(111,NULL,0,NULL,NULL,2,40915,40928,13,272953,1,0,'2025-07-28','2025-08-05',100000.00,1,1255.00,'Factura C N°: 0003-00000054',NULL,NULL,'2025-07-28 18:19:11','2025-07-28 18:19:11',NULL),(112,NULL,0,NULL,NULL,2,40915,40929,13,272953,1,0,'2025-07-28','2025-08-05',170000.00,1,1255.00,'Factura C N°: 0003-00000055',NULL,NULL,'2025-07-28 18:19:13','2025-07-28 18:19:13',NULL),(113,NULL,0,NULL,NULL,2,40915,40930,13,272953,1,0,'2025-07-28','2025-08-05',330000.00,1,1255.00,'Factura C N°: 0003-00000056',NULL,NULL,'2025-07-28 18:19:14','2025-07-28 18:19:14',NULL),(114,NULL,0,NULL,NULL,2,40915,40937,13,272953,1,0,'2025-07-28','2025-08-05',170000.00,1,1255.00,'Factura C N°: 0003-00000057',NULL,NULL,'2025-07-28 18:19:15','2025-07-28 18:19:15',NULL),(115,NULL,0,NULL,NULL,2,40915,40938,13,272953,1,0,'2025-07-28','2025-08-05',40000.00,1,1255.00,'Factura C N°: 0003-00000058',NULL,NULL,'2025-07-28 18:19:16','2025-07-28 18:19:16',NULL),(116,NULL,0,NULL,NULL,2,40915,40872,13,272953,1,0,'2025-07-28','2025-08-05',280000.00,1,1255.00,'Factura C N°: 0003-00000059',NULL,NULL,'2025-07-28 18:19:17','2025-07-28 18:19:17',NULL),(117,NULL,0,NULL,NULL,2,40915,40939,13,272953,1,0,'2025-07-28','2025-08-05',190000.00,1,1255.00,'Factura C N°: 0003-00000060',NULL,NULL,'2025-07-28 18:19:18','2025-07-28 18:19:18',NULL),(118,NULL,0,NULL,NULL,2,40915,40880,13,272953,1,0,'2025-07-28','2025-08-05',500000.00,1,1255.00,'Factura C N°: 0003-00000061',NULL,NULL,'2025-07-28 18:19:19','2025-07-28 18:19:19',NULL),(119,NULL,0,NULL,NULL,2,40915,40940,13,272953,1,0,'2025-07-28','2025-08-05',200000.00,1,1255.00,'Factura C N°: 0003-00000062',NULL,NULL,'2025-07-28 18:19:20','2025-07-28 18:19:20',NULL),(120,NULL,0,NULL,NULL,2,40915,40948,13,272953,1,0,'2025-07-28','2025-08-05',150000.00,1,1255.00,'Factura C N°: 0003-00000063',NULL,NULL,'2025-07-28 18:19:21','2025-07-28 18:19:21',NULL),(121,7941,0,NULL,NULL,2,40915,40947,13,272953,1,0,'2025-07-29','2025-08-05',150000.00,1,1260.00,'Factura C N°: 0003-00000064',NULL,NULL,'2025-07-29 10:42:10','2025-07-29 10:42:10',NULL),(122,NULL,0,NULL,NULL,2,40719,40879,13,54,1,0,'2025-07-29','2025-08-05',960000.00,1,1260.00,'Factura C N°: 0005-00000046',NULL,NULL,'2025-07-29 11:14:59','2025-07-29 11:14:59',NULL),(123,NULL,0,NULL,NULL,2,40719,40913,13,54,1,0,'2025-07-29','2025-08-05',770000.00,1,1260.00,'Factura C N°: 0005-00000047',NULL,NULL,'2025-07-29 11:15:01','2025-07-29 11:15:01',NULL),(124,NULL,0,NULL,NULL,2,40719,40881,13,54,1,0,'2025-07-29','2025-08-05',280000.00,1,1260.00,'Factura C N°: 0005-00000048',NULL,NULL,'2025-07-29 11:15:02','2025-07-29 11:15:02',NULL),(125,NULL,0,NULL,NULL,2,40719,40882,13,54,1,0,'2025-07-29','2025-08-05',190000.00,1,1260.00,'Factura C N°: 0005-00000049',NULL,NULL,'2025-07-29 11:15:03','2025-07-29 11:15:03',NULL),(126,NULL,0,NULL,NULL,2,40719,40878,13,54,1,0,'2025-07-29','2025-08-05',190000.00,1,1260.00,'Factura C N°: 0005-00000050',NULL,NULL,'2025-07-29 11:15:04','2025-07-29 11:15:04',NULL);
INSERT INTO `cta_cte_cliente` VALUES (127,NULL,0,NULL,NULL,2,40719,40914,13,54,1,0,'2025-07-29','2025-08-05',140000.00,1,1260.00,'Factura C N°: 0005-00000051',NULL,NULL,'2025-07-29 11:15:05','2025-07-29 11:15:05',NULL),(128,NULL,0,NULL,NULL,2,40719,40958,13,54,1,0,'2025-07-29','2025-08-05',100000.00,1,1260.00,'Factura C N°: 0005-00000052',NULL,NULL,'2025-07-29 11:15:06','2025-07-29 11:15:06',NULL),(129,NULL,0,NULL,NULL,2,40719,40941,13,54,1,0,'2025-07-29','2025-08-05',220000.00,1,1260.00,'Factura C N°: 0005-00000053',NULL,NULL,'2025-07-29 11:15:07','2025-07-29 11:15:07',NULL),(130,NULL,0,NULL,NULL,2,40719,40942,13,54,1,0,'2025-07-29','2025-08-05',210000.00,1,1260.00,'Factura C N°: 0005-00000054',NULL,NULL,'2025-07-29 11:15:08','2025-07-29 11:15:08',NULL),(131,NULL,0,NULL,NULL,2,40719,40943,13,54,1,0,'2025-07-29','2025-08-05',605000.00,1,1260.00,'Factura C N°: 0005-00000055',NULL,NULL,'2025-07-29 11:15:09','2025-07-29 11:15:09',NULL),(132,NULL,0,NULL,NULL,2,40719,40945,13,54,1,0,'2025-07-29','2025-08-05',260000.00,1,1260.00,'Factura C N°: 0005-00000056',NULL,NULL,'2025-07-29 11:15:10','2025-07-29 11:15:10',NULL),(133,NULL,0,NULL,NULL,2,40719,40946,13,54,1,0,'2025-07-29','2025-08-05',210000.00,1,1260.00,'Factura C N°: 0005-00000057',NULL,NULL,'2025-07-29 11:15:12','2025-07-29 11:15:12',NULL),(134,NULL,0,NULL,NULL,2,40719,40955,13,54,1,0,'2025-07-29','2025-08-05',350000.00,1,1260.00,'Factura C N°: 0005-00000058',NULL,NULL,'2025-07-29 11:15:13','2025-07-29 11:15:13',NULL),(135,NULL,0,NULL,NULL,2,40719,40956,13,54,1,0,'2025-07-29','2025-08-05',50000.00,1,1260.00,'Factura C N°: 0005-00000059',NULL,NULL,'2025-07-29 11:15:14','2025-07-29 11:15:14',NULL),(136,7941,0,NULL,NULL,2,40915,40927,13,272954,1,0,'2025-08-28','2025-09-05',80000.00,1,1329.00,'Factura C N°: 0003-00000065',NULL,NULL,'2025-08-28 13:32:20','2025-08-28 13:32:20',NULL),(137,7941,0,NULL,NULL,2,40915,40928,13,272954,1,0,'2025-08-28','2025-09-05',100000.00,1,1329.00,'Factura C N°: 0003-00000066',NULL,NULL,'2025-08-28 13:32:21','2025-08-28 13:32:21',NULL),(138,7941,0,NULL,NULL,2,40915,40929,13,272954,1,0,'2025-08-28','2025-09-05',180000.00,1,1329.00,'Factura C N°: 0003-00000067',NULL,NULL,'2025-08-28 13:32:22','2025-08-28 13:32:22',NULL),(139,7941,0,NULL,NULL,2,40915,40930,13,272954,1,0,'2025-08-28','2025-09-05',330000.00,1,1329.00,'Factura C N°: 0003-00000068',NULL,NULL,'2025-08-28 13:32:24','2025-08-28 13:32:24',NULL),(140,7941,0,NULL,NULL,2,40915,40937,13,272954,1,0,'2025-08-28','2025-09-05',170000.00,1,1329.00,'Factura C N°: 0003-00000069',NULL,NULL,'2025-08-28 13:32:25','2025-08-28 13:32:25',NULL),(141,7941,0,NULL,NULL,2,40915,40938,13,272954,1,0,'2025-08-28','2025-09-05',40000.00,1,1329.00,'Factura C N°: 0003-00000070',NULL,NULL,'2025-08-28 13:34:41','2025-08-28 13:34:41',NULL),(142,7941,0,NULL,NULL,2,40915,40872,13,272954,1,0,'2025-08-28','2025-09-05',280000.00,1,1329.00,'Factura C N°: 0003-00000071',NULL,NULL,'2025-08-28 13:34:43','2025-08-28 13:34:43',NULL),(143,7941,0,NULL,NULL,2,40915,40939,13,272954,1,0,'2025-08-28','2025-09-05',200000.00,1,1329.00,'Factura C N°: 0003-00000072',NULL,NULL,'2025-08-28 13:34:44','2025-08-28 13:34:44',NULL),(144,7941,0,NULL,NULL,2,40915,40880,13,272954,1,0,'2025-08-28','2025-09-05',500000.00,1,1329.00,'Factura C N°: 0003-00000073',NULL,NULL,'2025-08-28 13:34:45','2025-08-28 13:34:45',NULL),(145,7941,0,NULL,NULL,2,40915,40940,13,272954,1,0,'2025-08-28','2025-09-05',210000.00,1,1329.00,'Factura C N°: 0003-00000074',NULL,NULL,'2025-08-28 13:34:46','2025-08-28 13:34:46',NULL),(146,7941,0,NULL,NULL,2,40915,40948,13,272954,1,0,'2025-08-28','2025-09-05',160000.00,1,1329.00,'Factura C N°: 0003-00000075',NULL,NULL,'2025-08-28 13:34:48','2025-08-28 13:34:48',NULL),(147,7941,0,NULL,NULL,2,40915,40947,13,272954,1,0,'2025-08-28','2025-09-05',160000.00,1,1329.00,'Factura C N°: 0003-00000076',NULL,NULL,'2025-08-28 13:34:49','2025-08-28 13:34:49',NULL);
INSERT INTO `cta_cte_cliente` VALUES (148,7941,0,NULL,NULL,2,40915,40959,13,272954,1,0,'2025-08-28','2025-09-05',70000.00,1,1329.00,'Factura C N°: 0003-00000077',NULL,NULL,'2025-08-28 13:34:50','2025-08-28 13:34:50',NULL),(149,7941,0,NULL,NULL,2,40915,40770,13,272954,1,0,'2025-08-28','2025-09-05',890000.00,1,1329.00,'Factura C N°: 0003-00000078',NULL,NULL,'2025-08-28 13:45:40','2025-08-28 13:45:40',NULL),(150,7941,0,NULL,NULL,2,40719,40879,13,55,1,0,'2025-08-28','2025-09-05',960000.00,1,1329.00,'Factura C N°: 0005-00000060',NULL,NULL,'2025-08-28 15:17:41','2025-08-28 15:17:41',NULL),(151,7941,0,NULL,NULL,2,40719,40913,13,55,1,0,'2025-08-28','2025-09-05',770000.00,1,1329.00,'Factura C N°: 0005-00000061',NULL,NULL,'2025-08-28 15:17:42','2025-08-28 15:17:42',NULL),(152,7941,0,NULL,NULL,2,40719,40874,13,55,1,0,'2025-08-28','2025-09-05',200000.00,1,1329.00,'Factura C N°: 0005-00000062',NULL,NULL,'2025-08-28 15:17:44','2025-08-28 15:17:44',NULL),(153,7941,0,NULL,NULL,2,40719,40881,13,55,1,0,'2025-08-28','2025-09-05',280000.00,1,1329.00,'Factura C N°: 0005-00000063',NULL,NULL,'2025-08-28 15:17:45','2025-08-28 15:17:45',NULL),(154,7941,0,NULL,NULL,2,40719,40882,13,55,1,0,'2025-08-28','2025-09-05',190000.00,1,1329.00,'Factura C N°: 0005-00000064',NULL,NULL,'2025-08-28 15:17:46','2025-08-28 15:17:46',NULL),(155,7941,0,NULL,NULL,2,40719,40878,13,55,1,0,'2025-08-28','2025-09-05',190000.00,1,1329.00,'Factura C N°: 0005-00000065',NULL,NULL,'2025-08-28 15:19:07','2025-08-28 15:19:07',NULL),(156,7941,0,NULL,NULL,2,40719,40914,13,55,1,0,'2025-08-28','2025-09-05',140000.00,1,1329.00,'Factura C N°: 0005-00000066',NULL,NULL,'2025-08-28 15:19:08','2025-08-28 15:19:08',NULL),(157,7941,0,NULL,NULL,2,40719,40958,13,55,1,0,'2025-08-28','2025-09-05',100000.00,1,1329.00,'Factura C N°: 0005-00000067',NULL,NULL,'2025-08-28 15:19:09','2025-08-28 15:19:09',NULL),(158,7941,0,NULL,NULL,2,40719,40941,13,55,1,0,'2025-08-28','2025-09-05',240000.00,1,1329.00,'Factura C N°: 0005-00000068',NULL,NULL,'2025-08-28 15:19:10','2025-08-28 15:19:10',NULL),(159,7941,0,NULL,NULL,2,40719,40942,13,55,1,0,'2025-08-28','2025-09-05',210000.00,1,1329.00,'Factura C N°: 0005-00000069',NULL,NULL,'2025-08-28 15:19:11','2025-08-28 15:19:11',NULL),(160,7941,0,NULL,NULL,2,40719,40943,13,55,1,0,'2025-08-28','2025-09-05',605000.00,1,1329.00,'Factura C N°: 0005-00000070',NULL,NULL,'2025-08-28 15:19:13','2025-08-28 15:19:13',NULL),(161,7941,0,NULL,NULL,2,40719,40945,13,55,1,0,'2025-08-28','2025-09-05',280000.00,1,1329.00,'Factura C N°: 0005-00000071',NULL,NULL,'2025-08-28 15:19:14','2025-08-28 15:19:14',NULL),(162,7941,0,NULL,NULL,2,40719,40946,13,55,1,0,'2025-08-28','2025-09-05',250000.00,1,1329.00,'Factura C N°: 0005-00000072',NULL,NULL,'2025-08-28 15:19:15','2025-08-28 15:19:15',NULL),(163,7941,0,NULL,NULL,2,40719,40955,13,55,1,0,'2025-08-28','2025-09-05',350000.00,1,1329.00,'Factura C N°: 0005-00000073',NULL,NULL,'2025-08-28 15:19:16','2025-08-28 15:19:16',NULL),(164,7941,0,NULL,NULL,2,40719,40956,13,55,1,0,'2025-08-28','2025-09-05',50000.00,1,1329.00,'Factura C N°: 0005-00000074',NULL,NULL,'2025-08-28 15:19:17','2025-08-28 15:19:17',NULL),(165,NULL,0,NULL,NULL,2,40915,40927,13,272954,1,0,'2025-08-28','2025-09-05',80000.00,1,1307.00,'Factura C N°: 0003-00000079',NULL,NULL,'2025-08-29 12:54:43','2025-08-29 12:54:43',NULL),(166,NULL,0,NULL,NULL,2,40915,40928,13,272954,1,0,'2025-08-28','2025-09-05',100000.00,1,1307.00,'Factura C N°: 0003-00000080',NULL,NULL,'2025-08-29 12:54:44','2025-08-29 12:54:44',NULL),(167,NULL,0,NULL,NULL,2,40915,40929,13,272954,1,0,'2025-08-28','2025-09-05',180000.00,1,1307.00,'Factura C N°: 0003-00000081',NULL,NULL,'2025-08-29 12:54:45','2025-08-29 12:54:45',NULL),(168,NULL,0,NULL,NULL,2,40915,40930,13,272954,1,0,'2025-08-28','2025-09-05',330000.00,1,1307.00,'Factura C N°: 0003-00000082',NULL,NULL,'2025-08-29 12:54:46','2025-08-29 12:54:46',NULL);
INSERT INTO `cta_cte_cliente` VALUES (169,NULL,0,NULL,NULL,2,40915,40937,13,272954,1,0,'2025-08-28','2025-09-05',170000.00,1,1307.00,'Factura C N°: 0003-00000083',NULL,NULL,'2025-08-29 12:54:47','2025-08-29 12:54:47',NULL),(170,NULL,0,NULL,NULL,2,40915,40938,13,272954,1,0,'2025-08-28','2025-09-05',40000.00,1,1307.00,'Factura C N°: 0003-00000084',NULL,NULL,'2025-08-29 12:54:48','2025-08-29 12:54:48',NULL),(171,NULL,0,NULL,NULL,2,40915,40872,13,272954,1,0,'2025-08-28','2025-09-05',280000.00,1,1307.00,'Factura C N°: 0003-00000085',NULL,NULL,'2025-08-29 12:54:49','2025-08-29 12:54:49',NULL),(172,NULL,0,NULL,NULL,2,40915,40939,13,272954,1,0,'2025-08-28','2025-09-05',200000.00,1,1307.00,'Factura C N°: 0003-00000086',NULL,NULL,'2025-08-29 12:54:50','2025-08-29 12:54:50',NULL),(173,NULL,0,NULL,NULL,2,40915,40880,13,272954,1,0,'2025-08-28','2025-09-05',500000.00,1,1307.00,'Factura C N°: 0003-00000087',NULL,NULL,'2025-08-29 12:54:52','2025-08-29 12:54:52',NULL),(174,NULL,0,NULL,NULL,2,40915,40940,13,272954,1,0,'2025-08-28','2025-09-05',210000.00,1,1307.00,'Factura C N°: 0003-00000088',NULL,NULL,'2025-08-29 12:54:53','2025-08-29 12:54:53',NULL),(175,NULL,0,NULL,NULL,2,40915,40948,13,272954,1,0,'2025-08-28','2025-09-05',160000.00,1,1307.00,'Factura C N°: 0003-00000089',NULL,NULL,'2025-08-29 12:54:54','2025-08-29 12:54:54',NULL),(176,NULL,0,NULL,NULL,2,40915,40947,13,272954,1,0,'2025-08-28','2025-09-05',160000.00,1,1307.00,'Factura C N°: 0003-00000090',NULL,NULL,'2025-08-29 12:54:55','2025-08-29 12:54:55',NULL),(177,NULL,0,NULL,NULL,2,40915,40959,13,272954,1,0,'2025-08-28','2025-09-05',70000.00,1,1307.00,'Factura C N°: 0003-00000091',NULL,NULL,'2025-08-29 12:54:56','2025-08-29 12:54:56',NULL),(178,NULL,0,NULL,NULL,2,40915,40927,13,272954,1,0,'2025-08-28','2025-09-05',80000.00,1,1307.00,'Factura C N°: 0003-00000092',NULL,NULL,'2025-08-29 12:54:58','2025-08-29 12:54:58',NULL),(179,NULL,0,NULL,NULL,2,40915,40928,13,272954,1,0,'2025-08-28','2025-09-05',100000.00,1,1307.00,'Factura C N°: 0003-00000093',NULL,NULL,'2025-08-29 12:55:00','2025-08-29 12:55:00',NULL),(180,NULL,0,NULL,NULL,2,40915,40929,13,272954,1,0,'2025-08-28','2025-09-05',180000.00,1,1307.00,'Factura C N°: 0003-00000094',NULL,NULL,'2025-08-29 12:55:01','2025-08-29 12:55:01',NULL),(181,NULL,0,NULL,NULL,2,40915,40930,13,272954,1,0,'2025-08-28','2025-09-05',330000.00,1,1307.00,'Factura C N°: 0003-00000095',NULL,NULL,'2025-08-29 12:55:02','2025-08-29 12:55:02',NULL),(182,NULL,0,NULL,NULL,2,40915,40937,13,272954,1,0,'2025-08-28','2025-09-05',170000.00,1,1307.00,'Factura C N°: 0003-00000096',NULL,NULL,'2025-08-29 12:55:03','2025-08-29 12:55:03',NULL),(183,NULL,0,NULL,NULL,2,40915,40938,13,272954,1,0,'2025-08-28','2025-09-05',40000.00,1,1307.00,'Factura C N°: 0003-00000097',NULL,NULL,'2025-08-29 12:55:04','2025-08-29 12:55:04',NULL),(184,NULL,0,NULL,NULL,2,40915,40872,13,272954,1,0,'2025-08-28','2025-09-05',280000.00,1,1307.00,'Factura C N°: 0003-00000098',NULL,NULL,'2025-08-29 12:55:05','2025-08-29 12:55:05',NULL),(185,NULL,0,NULL,NULL,2,40915,40939,13,272954,1,0,'2025-08-28','2025-09-05',200000.00,1,1307.00,'Factura C N°: 0003-00000099',NULL,NULL,'2025-08-29 12:55:07','2025-08-29 12:55:07',NULL),(186,NULL,0,NULL,NULL,2,40915,40880,13,272954,1,0,'2025-08-28','2025-09-05',500000.00,1,1307.00,'Factura C N°: 0003-00000100',NULL,NULL,'2025-08-29 12:55:07','2025-08-29 12:55:07',NULL),(187,NULL,0,NULL,NULL,2,40915,40940,13,272954,1,0,'2025-08-28','2025-09-05',210000.00,1,1307.00,'Factura C N°: 0003-00000101',NULL,NULL,'2025-08-29 12:55:08','2025-08-29 12:55:08',NULL),(188,NULL,0,NULL,NULL,2,40915,40948,13,272954,1,0,'2025-08-28','2025-09-05',160000.00,1,1307.00,'Factura C N°: 0003-00000102',NULL,NULL,'2025-08-29 12:55:10','2025-08-29 12:55:10',NULL),(189,NULL,0,NULL,NULL,2,40915,40947,13,272954,1,0,'2025-08-28','2025-09-05',160000.00,1,1307.00,'Factura C N°: 0003-00000103',NULL,NULL,'2025-08-29 12:55:11','2025-08-29 12:55:11',NULL);
INSERT INTO `cta_cte_cliente` VALUES (190,NULL,0,NULL,NULL,2,40915,40959,13,272954,1,0,'2025-08-28','2025-09-05',70000.00,1,1307.00,'Factura C N°: 0003-00000104',NULL,NULL,'2025-08-29 12:55:12','2025-08-29 12:55:12',NULL),(191,7941,0,NULL,NULL,2,40915,40872,13,272954,2,0,'2025-08-28','2025-09-05',280000.00,1,1335.00,'Nota de crédito C N°: 0003-00000009',NULL,NULL,'2025-09-04 11:54:41','2025-09-04 11:54:41',NULL),(192,7941,0,NULL,NULL,2,40915,40872,13,272954,2,0,'2025-08-28','2025-09-05',280000.00,1,1335.00,'Nota de crédito C N°: 0003-00000010',NULL,NULL,'2025-09-04 11:56:42','2025-09-04 11:56:42',NULL),(193,7941,0,NULL,NULL,2,40915,40928,13,272954,2,0,'2025-08-28','2025-09-05',100000.00,1,1335.00,'Nota de crédito C N°: 0003-00000011',NULL,NULL,'2025-09-04 12:07:59','2025-09-04 12:07:59',NULL),(194,7941,0,NULL,NULL,2,40915,40928,13,272954,2,0,'2025-08-28','2025-09-05',100000.00,1,1335.00,'Nota de crédito C N°: 0003-00000012',NULL,NULL,'2025-09-04 12:09:01','2025-09-04 12:09:01',NULL),(195,7941,0,NULL,NULL,2,40915,40880,13,272954,2,0,'2025-08-28','2025-09-05',500000.00,1,1335.00,'Nota de crédito C N°: 0003-00000013',NULL,NULL,'2025-09-04 12:11:32','2025-09-04 12:11:32',NULL),(196,7941,0,NULL,NULL,2,40915,40880,13,272954,2,0,'2025-08-28','2025-09-05',500000.00,1,1335.00,'Nota de crédito C N°: 0003-00000014',NULL,NULL,'2025-09-04 12:12:39','2025-09-04 12:12:39',NULL),(197,7941,0,NULL,NULL,2,40915,40937,13,272954,2,0,'2025-08-28','2025-09-05',170000.00,1,1335.00,'Nota de crédito C N°: 0003-00000015',NULL,NULL,'2025-09-04 12:15:57','2025-09-04 12:15:57',NULL),(198,7941,0,NULL,NULL,2,40915,40937,13,272954,2,0,'2025-08-28','2025-09-05',170000.00,1,1335.00,'Nota de crédito C N°: 0003-00000016',NULL,NULL,'2025-09-04 12:21:28','2025-09-04 12:21:28',NULL),(199,7941,0,NULL,NULL,2,40915,40930,13,272954,2,0,'2025-08-28','2025-09-05',330000.00,1,1335.00,'Nota de crédito C N°: 0003-00000017',NULL,NULL,'2025-09-04 12:31:12','2025-09-04 12:31:12',NULL),(200,7941,0,NULL,NULL,2,40915,40930,13,272954,2,0,'2025-08-28','2025-09-05',330000.00,1,1335.00,'Nota de crédito C N°: 0003-00000018',NULL,NULL,'2025-09-04 12:42:44','2025-09-04 12:42:44',NULL),(201,7941,0,NULL,NULL,2,40915,40927,13,272954,2,0,'2025-08-28','2025-09-05',80000.00,1,1335.00,'Nota de crédito C N°: 0003-00000019',NULL,NULL,'2025-09-04 12:54:23','2025-09-04 12:54:23',NULL),(202,7941,0,NULL,NULL,2,40915,40927,13,272954,2,0,'2025-08-28','2025-09-05',80000.00,1,1335.00,'Nota de crédito C N°: 0003-00000020',NULL,NULL,'2025-09-04 12:55:41','2025-09-04 12:55:41',NULL),(203,7941,0,NULL,NULL,2,40915,40939,13,272954,2,0,'2025-08-28','2025-09-05',200000.00,1,1335.00,'Nota de crédito C N°: 0003-00000021',NULL,NULL,'2025-09-04 13:08:19','2025-09-04 13:08:19',NULL),(204,7941,0,NULL,NULL,2,40915,40939,13,272954,2,0,'2025-08-28','2025-09-05',200000.00,1,1335.00,'Nota de crédito C N°: 0003-00000022',NULL,NULL,'2025-09-04 13:11:09','2025-09-04 13:11:09',NULL),(205,7941,0,NULL,NULL,2,40915,40959,13,272954,2,0,'2025-08-28','2025-09-05',70000.00,1,1335.00,'Nota de crédito C N°: 0003-00000023',NULL,NULL,'2025-09-04 13:13:15','2025-09-04 13:13:15',NULL),(206,7941,0,NULL,NULL,2,40915,40959,13,272954,2,0,'2025-08-28','2025-09-05',70000.00,1,1335.00,'Nota de crédito C N°: 0003-00000024',NULL,NULL,'2025-09-04 13:15:47','2025-09-04 13:15:47',NULL),(207,7941,0,NULL,NULL,2,40915,40947,13,272954,2,0,'2025-08-28','2025-09-05',160000.00,1,1335.00,'Nota de crédito C N°: 0003-00000025',NULL,NULL,'2025-09-04 13:25:15','2025-09-04 13:25:15',NULL),(208,7941,0,NULL,NULL,2,40915,40947,13,272954,2,0,'2025-08-28','2025-09-05',160000.00,1,1335.00,'Nota de crédito C N°: 0003-00000026',NULL,NULL,'2025-09-04 13:27:44','2025-09-04 13:27:44',NULL),(209,7941,0,NULL,NULL,2,40915,40948,13,272954,2,0,'2025-08-28','2025-09-05',160000.00,1,1335.00,'Nota de crédito C N°: 0003-00000027',NULL,NULL,'2025-09-04 14:09:51','2025-09-04 14:09:51',NULL);
INSERT INTO `cta_cte_cliente` VALUES (210,7941,0,NULL,NULL,2,40915,40948,13,272954,2,0,'2025-08-28','2025-09-05',160000.00,1,1335.00,'Nota de crédito C N°: 0003-00000028',NULL,NULL,'2025-09-04 14:11:47','2025-09-04 14:11:47',NULL),(211,7941,0,NULL,NULL,2,40915,40929,13,272954,2,0,'2025-08-28','2025-09-05',180000.00,1,1335.00,'Nota de crédito C N°: 0003-00000029',NULL,NULL,'2025-09-04 14:17:02','2025-09-04 14:17:02',NULL),(212,7941,0,NULL,NULL,2,40915,40929,13,272954,2,0,'2025-08-28','2025-09-05',180000.00,1,1335.00,'Nota de crédito C N°: 0003-00000030',NULL,NULL,'2025-09-04 14:18:45','2025-09-04 14:18:45',NULL),(213,7941,0,NULL,NULL,2,40915,40940,13,272954,2,0,'2025-08-28','2025-09-05',210000.00,1,1335.00,'Nota de crédito C N°: 0003-00000031',NULL,NULL,'2025-09-04 14:23:12','2025-09-04 14:23:12',NULL),(214,7941,0,NULL,NULL,2,40915,40940,13,272954,2,0,'2025-08-28','2025-09-05',210000.00,1,1335.00,'Nota de crédito C N°: 0003-00000032',NULL,NULL,'2025-09-04 14:24:39','2025-09-04 14:24:39',NULL),(215,7941,0,NULL,NULL,2,40915,40938,13,272954,2,0,'2025-08-28','2025-09-05',40000.00,1,1335.00,'Nota de crédito C N°: 0003-00000033',NULL,NULL,'2025-09-04 14:28:56','2025-09-04 14:28:56',NULL),(216,7941,0,NULL,NULL,2,40915,40938,13,272954,2,0,'2025-08-28','2025-09-05',40000.00,1,1335.00,'Nota de crédito C N°: 0003-00000034',NULL,NULL,'2025-09-04 14:30:19','2025-09-04 14:30:19',NULL),(217,7941,0,NULL,NULL,2,40915,40927,13,272955,1,0,'2025-09-26','2025-10-03',80000.00,1,1305.00,'Factura C N°: 0003-00000105',NULL,NULL,'2025-09-26 14:32:13','2025-09-26 14:32:13',NULL),(218,7941,0,NULL,NULL,2,40915,40928,13,272955,1,0,'2025-09-26','2025-10-03',105000.00,1,1305.00,'Factura C N°: 0003-00000106',NULL,NULL,'2025-09-26 14:32:14','2025-09-26 14:32:14',NULL),(219,7941,0,NULL,NULL,2,40915,40929,13,272955,1,0,'2025-09-26','2025-10-03',180000.00,1,1305.00,'Factura C N°: 0003-00000107',NULL,NULL,'2025-09-26 14:46:48','2025-09-26 14:46:48',NULL),(220,7941,0,NULL,NULL,2,40915,40930,13,272955,1,0,'2025-09-26','2025-10-03',330000.00,1,1305.00,'Factura C N°: 0003-00000108',NULL,NULL,'2025-09-26 14:46:49','2025-09-26 14:46:49',NULL),(221,7941,0,NULL,NULL,2,40915,40937,13,272955,1,0,'2025-09-26','2025-10-03',170000.00,1,1305.00,'Factura C N°: 0003-00000109',NULL,NULL,'2025-09-26 14:51:53','2025-09-26 14:51:53',NULL),(222,7941,0,NULL,NULL,2,40915,40938,13,272955,1,0,'2025-09-26','2025-10-03',45000.00,1,1305.00,'Factura C N°: 0003-00000110',NULL,NULL,'2025-09-26 14:51:54','2025-09-26 14:51:54',NULL),(223,7941,0,NULL,NULL,2,40915,40959,13,272955,1,0,'2025-09-26','2025-10-03',90000.00,1,1305.00,'Factura C N°: 0003-00000111',NULL,NULL,'2025-09-26 14:51:55','2025-09-26 14:51:55',NULL),(224,7941,0,NULL,NULL,2,40915,40872,13,272955,1,0,'2025-09-26','2025-10-03',280000.00,1,1305.00,'Factura C N°: 0003-00000112',NULL,NULL,'2025-09-26 14:54:50','2025-09-26 14:54:50',NULL),(225,7941,0,NULL,NULL,2,40915,40939,13,272955,1,0,'2025-09-26','2025-10-03',200000.00,1,1305.00,'Factura C N°: 0003-00000113',NULL,NULL,'2025-09-26 14:54:51','2025-09-26 14:54:51',NULL),(226,7941,0,NULL,NULL,2,40915,40880,13,272955,1,0,'2025-09-26','2025-10-03',500000.00,1,1305.00,'Factura C N°: 0003-00000114',NULL,NULL,'2025-09-26 14:54:52','2025-09-26 14:54:52',NULL),(227,7941,0,NULL,NULL,2,40915,40948,13,272955,1,0,'2025-09-26','2025-10-03',160000.00,1,1305.00,'Factura C N°: 0003-00000115',NULL,NULL,'2025-09-26 14:54:54','2025-09-26 14:54:54',NULL),(228,7941,0,NULL,NULL,2,40915,40947,13,272955,1,0,'2025-09-26','2025-10-03',160000.00,1,1305.00,'Factura C N°: 0003-00000116',NULL,NULL,'2025-09-26 14:54:55','2025-09-26 14:54:55',NULL),(229,7941,0,NULL,NULL,2,40719,40958,13,56,1,0,'2025-09-26','2025-10-03',100000.00,1,1305.00,'Factura C N°: 0005-00000075',NULL,NULL,'2025-09-26 15:51:36','2025-09-26 15:51:36',NULL),(230,7941,0,NULL,NULL,2,40719,40941,13,56,1,0,'2025-09-26','2025-10-03',240000.00,1,1305.00,'Factura C N°: 0005-00000076',NULL,NULL,'2025-09-26 15:51:37','2025-09-26 15:51:37',NULL);
INSERT INTO `cta_cte_cliente` VALUES (231,7941,0,NULL,NULL,2,40719,40946,13,56,1,0,'2025-09-26','2025-10-03',250000.00,1,1305.00,'Factura C N°: 0005-00000077',NULL,NULL,'2025-09-26 15:51:38','2025-09-26 15:51:38',NULL),(232,7941,0,NULL,NULL,2,40719,40942,13,56,1,0,'2025-09-26','2025-10-03',210000.00,1,1305.00,'Factura C N°: 0005-00000078',NULL,NULL,'2025-09-26 15:53:43','2025-09-26 15:53:43',NULL),(233,7941,0,NULL,NULL,2,40719,40945,13,56,1,0,'2025-09-26','2025-10-03',280000.00,1,1305.00,'Factura C N°: 0005-00000079',NULL,NULL,'2025-09-26 15:53:44','2025-09-26 15:53:44',NULL),(234,7941,0,NULL,NULL,2,40719,40960,13,56,1,0,'2025-09-26','2025-10-03',150000.00,1,1305.00,'Factura C N°: 0005-00000080',NULL,NULL,'2025-09-26 16:04:33','2025-09-26 16:04:33',NULL),(235,7941,0,NULL,NULL,2,40719,40961,13,56,1,0,'2025-09-26','2025-10-03',250000.00,1,1305.00,'Factura C N°: 0005-00000081',NULL,NULL,'2025-09-26 16:04:34','2025-09-26 16:04:34',NULL),(236,7941,0,NULL,NULL,2,40915,40734,13,272955,1,0,'2025-09-30','2025-10-03',1040000.00,1,1324.00,'Factura C N°: 0003-00000117',NULL,NULL,'2025-09-30 09:08:15','2025-09-30 09:08:15',NULL),(237,7941,0,NULL,NULL,2,40915,40770,13,272955,1,0,'2025-09-30','2025-10-03',650000.00,1,1324.00,'Factura C N°: 0003-00000118',NULL,NULL,'2025-09-30 09:08:16','2025-09-30 09:08:16',NULL),(238,7941,0,NULL,NULL,2,40719,40879,13,56,1,0,'2025-09-30','2025-10-03',1010000.00,1,1324.00,'Factura C N°: 0005-00000082',NULL,NULL,'2025-09-30 09:33:04','2025-09-30 09:33:04',NULL),(239,7941,0,NULL,NULL,2,40719,40913,13,56,1,0,'2025-09-30','2025-10-03',800000.00,1,1324.00,'Factura C N°: 0005-00000083',NULL,NULL,'2025-09-30 09:33:06','2025-09-30 09:33:06',NULL),(240,7941,0,NULL,NULL,2,40719,40881,13,56,1,0,'2025-09-30','2025-10-03',290000.00,1,1324.00,'Factura C N°: 0005-00000084',NULL,NULL,'2025-09-30 09:38:02','2025-09-30 09:38:02',NULL),(241,7941,0,NULL,NULL,2,40719,40882,13,56,1,0,'2025-09-30','2025-10-03',200000.00,1,1324.00,'Factura C N°: 0005-00000085',NULL,NULL,'2025-09-30 09:38:03','2025-09-30 09:38:03',NULL),(242,7941,0,NULL,NULL,2,40719,40878,13,56,1,0,'2025-09-30','2025-10-03',200000.00,1,1324.00,'Factura C N°: 0005-00000086',NULL,NULL,'2025-09-30 09:38:04','2025-09-30 09:38:04',NULL),(243,7941,0,NULL,NULL,2,40719,40914,13,56,1,0,'2025-09-30','2025-10-03',150000.00,1,1324.00,'Factura C N°: 0005-00000087',NULL,NULL,'2025-09-30 09:38:06','2025-09-30 09:38:06',NULL),(244,7941,0,NULL,NULL,2,40719,40960,13,56,2,0,'2025-09-26','2025-10-03',150000.00,1,1324.00,'Nota de crédito C N°: 0005-00000005',NULL,NULL,'2025-09-30 09:56:25','2025-09-30 09:56:25',NULL),(245,7941,0,NULL,NULL,2,40915,40927,13,272956,1,0,'2025-10-22','2025-11-07',80000.00,1,1468.00,'Factura C N°: 0003-00000119',NULL,NULL,'2025-10-22 16:43:34','2025-10-22 16:43:34',NULL),(246,7941,0,NULL,NULL,2,40915,40734,13,272956,1,0,'2025-10-22','2025-11-07',1040000.00,1,1468.00,'Factura C N°: 0003-00000120',NULL,NULL,'2025-10-22 16:43:35','2025-10-22 16:43:35',NULL),(247,7941,0,NULL,NULL,2,40915,40770,13,272956,1,0,'2025-10-22','2025-11-07',650000.00,1,1468.00,'Factura C N°: 0003-00000121',NULL,NULL,'2025-10-22 16:43:36','2025-10-22 16:43:36',NULL),(248,7941,0,NULL,NULL,2,40915,40928,13,272956,1,0,'2025-10-23','2025-11-07',105000.00,1,1468.00,'Factura C N°: 0003-00000122',NULL,NULL,'2025-10-23 11:39:13','2025-10-23 11:39:13',NULL),(249,7941,0,NULL,NULL,2,40915,40929,13,272956,1,0,'2025-10-23','2025-11-07',180000.00,1,1468.00,'Factura C N°: 0003-00000123',NULL,NULL,'2025-10-23 11:39:14','2025-10-23 11:39:14',NULL),(250,7941,0,NULL,NULL,2,40915,40930,13,272956,1,0,'2025-10-23','2025-11-07',350000.00,1,1468.00,'Factura C N°: 0003-00000124',NULL,NULL,'2025-10-23 11:39:15','2025-10-23 11:39:15',NULL),(251,7941,0,NULL,NULL,2,40915,40937,13,272956,1,0,'2025-10-23','2025-11-07',180000.00,1,1468.00,'Factura C N°: 0003-00000125',NULL,NULL,'2025-10-23 11:39:16','2025-10-23 11:39:16',NULL);
INSERT INTO `cta_cte_cliente` VALUES (252,7941,0,NULL,NULL,2,40915,40938,13,272956,1,0,'2025-10-23','2025-11-07',45000.00,1,1468.00,'Factura C N°: 0003-00000126',NULL,NULL,'2025-10-23 11:39:17','2025-10-23 11:39:17',NULL),(253,7941,0,NULL,NULL,2,40915,40872,13,272956,1,0,'2025-10-23','2025-11-07',300000.00,1,1468.00,'Factura C N°: 0003-00000127',NULL,NULL,'2025-10-23 11:39:18','2025-10-23 11:39:18',NULL),(254,7941,0,NULL,NULL,2,40915,40939,13,272956,1,0,'2025-10-23','2025-11-07',200000.00,1,1468.00,'Factura C N°: 0003-00000128',NULL,NULL,'2025-10-23 11:43:28','2025-10-23 11:43:28',NULL),(255,7941,0,NULL,NULL,2,40915,40880,13,272956,1,0,'2025-10-23','2025-11-07',550000.00,1,1468.00,'Factura C N°: 0003-00000129',NULL,NULL,'2025-10-23 11:43:29','2025-10-23 11:43:29',NULL),(256,7941,0,NULL,NULL,2,40915,40940,13,272956,1,0,'2025-10-23','2025-11-07',220000.00,1,1468.00,'Factura C N°: 0003-00000130',NULL,NULL,'2025-10-23 11:43:30','2025-10-23 11:43:30',NULL),(257,7941,0,NULL,NULL,2,40915,40948,13,272956,1,0,'2025-10-23','2025-11-07',170000.00,1,1468.00,'Factura C N°: 0003-00000131',NULL,NULL,'2025-10-23 11:43:31','2025-10-23 11:43:31',NULL),(258,7941,0,NULL,NULL,2,40915,40947,13,272956,1,0,'2025-10-23','2025-11-07',170000.00,1,1468.00,'Factura C N°: 0003-00000132',NULL,NULL,'2025-10-23 11:43:32','2025-10-23 11:43:32',NULL),(259,7941,0,NULL,NULL,2,40915,40959,13,272956,1,0,'2025-10-23','2025-11-07',90000.00,1,1468.00,'Factura C N°: 0003-00000133',NULL,NULL,'2025-10-23 11:43:33','2025-10-23 11:43:33',NULL),(260,7941,0,NULL,NULL,2,40719,40879,13,57,1,0,'2025-10-23','2025-11-07',1010000.00,1,1468.00,'Factura C N°: 0005-00000088',NULL,NULL,'2025-10-23 15:25:06','2025-10-23 15:25:06',NULL),(261,7941,0,NULL,NULL,2,40719,40913,13,57,1,0,'2025-10-23','2025-11-07',800000.00,1,1468.00,'Factura C N°: 0005-00000089',NULL,NULL,'2025-10-23 15:25:07','2025-10-23 15:25:07',NULL),(262,7941,0,NULL,NULL,2,40719,40881,13,57,1,0,'2025-10-23','2025-11-07',290000.00,1,1468.00,'Factura C N°: 0005-00000090',NULL,NULL,'2025-10-23 15:25:09','2025-10-23 15:25:09',NULL),(263,7941,0,NULL,NULL,2,40719,40882,13,57,1,0,'2025-10-23','2025-11-07',200000.00,1,1468.00,'Factura C N°: 0005-00000091',NULL,NULL,'2025-10-23 15:25:10','2025-10-23 15:25:10',NULL),(264,7941,0,NULL,NULL,2,40719,40878,13,57,1,0,'2025-10-23','2025-11-07',200000.00,1,1468.00,'Factura C N°: 0005-00000092',NULL,NULL,'2025-10-23 15:25:11','2025-10-23 15:25:11',NULL),(265,7941,0,NULL,NULL,2,40719,40914,13,57,1,0,'2025-10-23','2025-11-07',150000.00,1,1468.00,'Factura C N°: 0005-00000093',NULL,NULL,'2025-10-23 15:34:14','2025-10-23 15:34:14',NULL),(266,7941,0,NULL,NULL,2,40719,40958,13,57,1,0,'2025-10-23','2025-11-07',100000.00,1,1468.00,'Factura C N°: 0005-00000094',NULL,NULL,'2025-10-23 15:34:15','2025-10-23 15:34:15',NULL),(267,7941,0,NULL,NULL,2,40719,40941,13,57,1,0,'2025-10-23','2025-11-07',240000.00,1,1468.00,'Factura C N°: 0005-00000095',NULL,NULL,'2025-10-23 15:34:16','2025-10-23 15:34:16',NULL),(268,7941,0,NULL,NULL,2,40719,40942,13,57,1,0,'2025-10-23','2025-11-07',220000.00,1,1468.00,'Factura C N°: 0005-00000096',NULL,NULL,'2025-10-23 15:34:17','2025-10-23 15:34:17',NULL),(269,7941,0,NULL,NULL,2,40719,40945,13,57,1,0,'2025-10-23','2025-11-07',290000.00,1,1468.00,'Factura C N°: 0005-00000097',NULL,NULL,'2025-10-23 15:34:19','2025-10-23 15:34:19',NULL),(270,7941,0,NULL,NULL,2,40719,40946,13,57,1,0,'2025-10-23','2025-11-07',250000.00,1,1468.00,'Factura C N°: 0005-00000098',NULL,NULL,'2025-10-23 15:34:20','2025-10-23 15:34:20',NULL),(271,7941,0,NULL,NULL,2,40719,40961,13,57,1,0,'2025-10-23','2025-11-07',500000.00,1,1468.00,'Factura C N°: 0005-00000099',NULL,NULL,'2025-10-23 15:34:21','2025-10-23 15:34:21',NULL);

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

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

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


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

CREATE TABLE `cta_cte_cliente_pivot_receipt` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id` int(10) unsigned NOT NULL,
  `receipt_id` int(11) DEFAULT NULL,
  `importe` decimal(16,2) DEFAULT NULL,
  `is_a_cuenta` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `cccpr_a_cuenta_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fk_cccpr_a_cuenta_id` (`cccpr_a_cuenta_id`),
  CONSTRAINT `fk_cccpr_a_cuenta_id` FOREIGN KEY (`cccpr_a_cuenta_id`) REFERENCES `cta_cte_cliente_pivot_receipt` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=272 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1,7941,1,1,NULL,0,NULL,'2025-04-01 14:08:52','2025-04-01 14:08:52',NULL),(2,7941,2,2,NULL,0,NULL,'2025-04-01 14:20:11','2025-04-01 14:20:11',NULL),(3,7941,3,3,NULL,0,NULL,'2025-04-01 15:19:41','2025-04-01 15:19:41',NULL),(4,7941,4,4,NULL,0,NULL,'2025-04-01 15:22:35','2025-04-01 15:22:35',NULL),(5,7941,5,5,NULL,0,NULL,'2025-04-01 15:48:33','2025-04-01 15:48:33',NULL),(6,7941,6,6,NULL,0,NULL,'2025-04-28 09:34:22','2025-04-28 09:34:22',NULL),(7,7941,7,7,NULL,0,NULL,'2025-04-28 09:34:23','2025-04-28 09:34:23',NULL),(8,7941,8,8,NULL,0,NULL,'2025-04-28 09:34:25','2025-04-28 09:34:25',NULL),(9,7941,9,9,NULL,0,NULL,'2025-04-28 09:34:26','2025-04-28 09:34:26',NULL),(10,7941,10,10,NULL,0,NULL,'2025-04-28 09:34:27','2025-04-28 09:34:27',NULL),(11,7941,11,11,NULL,0,NULL,'2025-04-28 09:34:28','2025-04-28 09:34:28',NULL),(12,7941,12,12,NULL,0,NULL,'2025-04-28 09:53:34','2025-04-28 09:53:34',NULL),(13,7941,13,13,NULL,0,NULL,'2025-04-28 10:39:11','2025-04-28 10:39:11',NULL),(14,7941,14,14,NULL,0,NULL,'2025-04-28 10:39:13','2025-04-28 10:39:13',NULL),(15,7941,15,15,NULL,0,NULL,'2025-04-28 10:41:12','2025-04-28 10:41:12',NULL),(16,7941,16,16,NULL,0,NULL,'2025-04-28 10:41:14','2025-04-28 10:41:14',NULL),(17,7941,17,17,NULL,0,NULL,'2025-04-28 10:42:30','2025-04-28 10:42:30',NULL),(18,7941,18,18,NULL,0,NULL,'2025-04-28 10:42:31','2025-04-28 10:42:31',NULL),(19,7941,19,19,NULL,0,NULL,'2025-04-28 10:44:27','2025-04-28 10:44:27',NULL),(20,7941,20,20,NULL,0,NULL,'2025-04-28 10:44:29','2025-04-28 10:44:29',NULL),(21,7941,21,21,NULL,0,NULL,'2025-04-28 11:02:52','2025-04-28 11:02:52',NULL),(22,7941,22,22,NULL,0,NULL,'2025-04-28 11:04:25','2025-04-28 11:04:25',NULL),(23,7941,23,23,NULL,0,NULL,'2025-04-28 11:06:36','2025-04-28 11:06:36',NULL),(24,7941,24,24,NULL,0,NULL,'2025-04-28 11:08:23','2025-04-28 11:08:23',NULL),(25,7941,25,25,NULL,0,NULL,'2025-04-28 11:09:12','2025-04-28 11:09:12',NULL),(26,7941,26,26,NULL,0,NULL,'2025-04-28 11:10:03','2025-04-28 11:10:03',NULL),(27,7941,27,27,NULL,0,NULL,'2025-04-28 11:11:08','2025-04-28 11:11:08',NULL),(28,7941,28,28,NULL,0,NULL,'2025-04-28 12:06:10','2025-04-28 12:06:10',NULL),(29,7941,29,29,NULL,0,NULL,'2025-04-28 12:06:11','2025-04-28 12:06:11',NULL),(30,7941,30,30,NULL,0,NULL,'2025-04-28 12:06:12','2025-04-28 12:06:12',NULL),(31,7941,31,31,NULL,0,NULL,'2025-04-28 15:34:16','2025-04-28 15:34:16',NULL),(32,7941,32,32,NULL,0,NULL,'2025-04-28 15:34:17','2025-04-28 15:34:17',NULL),(33,7941,33,33,NULL,0,NULL,'2025-04-28 15:34:18','2025-04-28 15:34:18',NULL),(34,7941,34,34,NULL,0,NULL,'2025-04-28 15:34:19','2025-04-28 15:34:19',NULL),(35,7941,35,35,NULL,0,NULL,'2025-04-28 15:34:20','2025-04-28 15:34:20',NULL),(36,7941,36,36,NULL,0,NULL,'2025-04-28 15:34:22','2025-04-28 15:34:22',NULL),(37,7941,37,37,NULL,0,NULL,'2025-04-28 15:34:22','2025-04-28 15:34:22',NULL),(38,7941,38,38,NULL,0,NULL,'2025-04-28 15:34:23','2025-04-28 15:34:23',NULL),(39,7941,39,39,NULL,0,NULL,'2025-04-29 11:22:14','2025-04-29 11:22:14',NULL),(40,7941,40,40,NULL,0,NULL,'2025-04-29 11:22:34','2025-04-29 11:22:34',NULL),(41,7941,41,41,NULL,0,NULL,'2025-04-29 11:22:53','2025-04-29 11:22:53',NULL),(42,7941,42,42,NULL,0,NULL,'2025-04-29 11:23:01','2025-04-29 11:23:01',NULL),(43,7941,43,43,NULL,0,NULL,'2025-04-29 11:23:03','2025-04-29 11:23:03',NULL),(44,7941,44,44,NULL,0,NULL,'2025-05-29 13:54:52','2025-05-29 13:54:52',NULL),(45,7941,45,45,NULL,0,NULL,'2025-05-29 14:05:05','2025-05-29 14:05:05',NULL),(46,7941,46,46,NULL,0,NULL,'2025-05-29 14:05:06','2025-05-29 14:05:06',NULL),(47,7941,47,47,NULL,0,NULL,'2025-05-29 14:07:44','2025-05-29 14:07:44',NULL),(48,7941,48,48,NULL,0,NULL,'2025-05-29 14:07:45','2025-05-29 14:07:45',NULL),(49,7941,49,49,NULL,0,NULL,'2025-05-29 14:07:46','2025-05-29 14:07:46',NULL),(50,7941,50,50,NULL,0,NULL,'2025-05-29 14:07:47','2025-05-29 14:07:47',NULL),(51,7941,51,51,NULL,0,NULL,'2025-05-29 14:07:48','2025-05-29 14:07:48',NULL),(52,7941,52,52,NULL,0,NULL,'2025-05-29 14:07:49','2025-05-29 14:07:49',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (53,7941,53,53,NULL,0,NULL,'2025-05-29 14:07:50','2025-05-29 14:07:50',NULL),(54,7941,54,54,NULL,0,NULL,'2025-05-29 14:07:51','2025-05-29 14:07:51',NULL),(55,7941,55,55,NULL,0,NULL,'2025-05-29 14:07:52','2025-05-29 14:07:52',NULL),(56,7941,56,56,NULL,0,NULL,'2025-05-29 14:07:53','2025-05-29 14:07:53',NULL),(57,NULL,57,57,NULL,0,NULL,'2025-05-30 14:49:38','2025-05-30 14:49:38',NULL),(58,NULL,58,58,NULL,0,NULL,'2025-05-30 14:49:39','2025-05-30 14:49:39',NULL),(59,NULL,59,59,NULL,0,NULL,'2025-05-30 14:49:40','2025-05-30 14:49:40',NULL),(60,NULL,60,60,NULL,0,NULL,'2025-05-30 14:49:41','2025-05-30 14:49:41',NULL),(61,NULL,61,61,NULL,0,NULL,'2025-05-30 14:49:42','2025-05-30 14:49:42',NULL),(62,NULL,62,62,NULL,0,NULL,'2025-05-30 14:49:43','2025-05-30 14:49:43',NULL),(63,NULL,63,63,NULL,0,NULL,'2025-05-30 14:49:44','2025-05-30 14:49:44',NULL),(64,NULL,64,64,NULL,0,NULL,'2025-05-30 14:49:45','2025-05-30 14:49:45',NULL),(65,NULL,65,65,NULL,0,NULL,'2025-05-30 14:49:46','2025-05-30 14:49:46',NULL),(66,NULL,66,66,NULL,0,NULL,'2025-05-30 14:49:47','2025-05-30 14:49:47',NULL),(67,NULL,67,67,NULL,0,NULL,'2025-05-30 14:49:48','2025-05-30 14:49:48',NULL),(68,NULL,68,68,NULL,0,NULL,'2025-05-30 14:49:49','2025-05-30 14:49:49',NULL),(69,NULL,69,69,NULL,0,NULL,'2025-05-30 14:49:50','2025-05-30 14:49:50',NULL),(70,NULL,70,70,NULL,0,NULL,'2025-05-30 14:49:51','2025-05-30 14:49:51',NULL),(71,7941,71,71,NULL,0,NULL,'2025-05-30 14:50:19','2025-05-30 14:50:19',NULL),(72,7941,72,72,NULL,0,NULL,'2025-05-30 14:50:20','2025-05-30 14:50:20',NULL),(73,7941,73,73,NULL,0,NULL,'2025-05-30 14:50:21','2025-05-30 14:50:21',NULL),(74,7941,74,74,NULL,0,NULL,'2025-05-30 14:50:22','2025-05-30 14:50:22',NULL),(75,7941,75,75,NULL,0,NULL,'2025-05-30 15:50:41','2025-05-30 15:50:41',NULL),(76,7941,76,76,NULL,0,NULL,'2025-05-30 15:52:06','2025-05-30 15:52:06',NULL),(77,7941,77,77,NULL,0,NULL,'2025-05-30 15:53:22','2025-05-30 15:53:22',NULL),(78,7941,78,78,NULL,0,NULL,'2025-05-30 15:55:07','2025-05-30 15:55:07',NULL),(79,7941,79,79,NULL,0,NULL,'2025-06-27 13:39:22','2025-06-27 13:39:22',NULL),(80,NULL,80,80,NULL,0,NULL,'2025-06-27 13:40:08','2025-06-27 13:40:08',NULL),(81,NULL,81,81,NULL,0,NULL,'2025-06-27 13:40:09','2025-06-27 13:40:09',NULL),(82,NULL,82,82,NULL,0,NULL,'2025-06-27 13:40:10','2025-06-27 13:40:10',NULL),(83,NULL,83,83,NULL,0,NULL,'2025-06-27 13:40:11','2025-06-27 13:40:11',NULL),(84,NULL,84,84,NULL,0,NULL,'2025-06-27 13:40:12','2025-06-27 13:40:12',NULL),(85,NULL,85,85,NULL,0,NULL,'2025-06-27 13:40:13','2025-06-27 13:40:13',NULL),(86,NULL,86,86,NULL,0,NULL,'2025-06-27 13:40:15','2025-06-27 13:40:15',NULL),(87,NULL,87,87,NULL,0,NULL,'2025-06-27 13:40:16','2025-06-27 13:40:16',NULL),(88,NULL,88,88,NULL,0,NULL,'2025-06-27 13:40:17','2025-06-27 13:40:17',NULL),(89,NULL,89,89,NULL,0,NULL,'2025-06-27 13:40:18','2025-06-27 13:40:18',NULL),(90,NULL,90,90,NULL,0,NULL,'2025-06-27 13:40:19','2025-06-27 13:40:19',NULL),(91,NULL,91,91,NULL,0,NULL,'2025-06-27 13:40:20','2025-06-27 13:40:20',NULL),(92,NULL,92,92,NULL,0,NULL,'2025-06-27 13:40:21','2025-06-27 13:40:21',NULL),(93,7941,93,93,NULL,0,NULL,'2025-06-27 14:08:48','2025-06-27 14:08:48',NULL),(94,7941,94,94,NULL,0,NULL,'2025-06-27 15:53:04','2025-06-27 15:53:04',NULL),(95,7941,95,95,NULL,0,NULL,'2025-06-27 15:54:02','2025-06-27 15:54:02',NULL),(96,7941,96,96,NULL,0,NULL,'2025-06-27 15:54:03','2025-06-27 15:54:03',NULL),(97,7941,97,97,NULL,0,NULL,'2025-06-27 15:54:04','2025-06-27 15:54:04',NULL),(98,7941,98,98,NULL,0,NULL,'2025-06-27 15:54:06','2025-06-27 15:54:06',NULL),(99,7941,99,99,NULL,0,NULL,'2025-06-27 15:54:07','2025-06-27 15:54:07',NULL),(100,7941,100,100,NULL,0,NULL,'2025-06-27 15:54:48','2025-06-27 15:54:48',NULL),(101,7941,101,101,NULL,0,NULL,'2025-06-27 15:54:49','2025-06-27 15:54:49',NULL),(102,7941,102,102,NULL,0,NULL,'2025-06-27 15:54:50','2025-06-27 15:54:50',NULL),(103,7941,103,103,NULL,0,NULL,'2025-06-27 15:54:51','2025-06-27 15:54:51',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (104,7941,104,104,NULL,0,NULL,'2025-06-27 15:54:52','2025-06-27 15:54:52',NULL),(105,7941,105,105,NULL,0,NULL,'2025-06-27 15:54:53','2025-06-27 15:54:53',NULL),(106,7941,106,106,NULL,0,NULL,'2025-06-30 12:28:21','2025-06-30 12:28:21',NULL),(107,7941,107,107,NULL,0,NULL,'2025-06-30 12:28:22','2025-06-30 12:28:22',NULL),(108,7941,108,108,NULL,0,NULL,'2025-07-28 18:18:49','2025-07-28 18:18:49',NULL),(109,NULL,109,109,NULL,0,NULL,'2025-07-28 18:19:09','2025-07-28 18:19:09',NULL),(110,NULL,110,110,NULL,0,NULL,'2025-07-28 18:19:10','2025-07-28 18:19:10',NULL),(111,NULL,111,111,NULL,0,NULL,'2025-07-28 18:19:11','2025-07-28 18:19:11',NULL),(112,NULL,112,112,NULL,0,NULL,'2025-07-28 18:19:13','2025-07-28 18:19:13',NULL),(113,NULL,113,113,NULL,0,NULL,'2025-07-28 18:19:14','2025-07-28 18:19:14',NULL),(114,NULL,114,114,NULL,0,NULL,'2025-07-28 18:19:15','2025-07-28 18:19:15',NULL),(115,NULL,115,115,NULL,0,NULL,'2025-07-28 18:19:16','2025-07-28 18:19:16',NULL),(116,NULL,116,116,NULL,0,NULL,'2025-07-28 18:19:17','2025-07-28 18:19:17',NULL),(117,NULL,117,117,NULL,0,NULL,'2025-07-28 18:19:18','2025-07-28 18:19:18',NULL),(118,NULL,118,118,NULL,0,NULL,'2025-07-28 18:19:19','2025-07-28 18:19:19',NULL),(119,NULL,119,119,NULL,0,NULL,'2025-07-28 18:19:20','2025-07-28 18:19:20',NULL),(120,NULL,120,120,NULL,0,NULL,'2025-07-28 18:19:21','2025-07-28 18:19:21',NULL),(121,7941,121,121,NULL,0,NULL,'2025-07-29 10:42:10','2025-07-29 10:42:10',NULL),(122,NULL,122,122,NULL,0,NULL,'2025-07-29 11:14:59','2025-07-29 11:14:59',NULL),(123,NULL,123,123,NULL,0,NULL,'2025-07-29 11:15:01','2025-07-29 11:15:01',NULL),(124,NULL,124,124,NULL,0,NULL,'2025-07-29 11:15:02','2025-07-29 11:15:02',NULL),(125,NULL,125,125,NULL,0,NULL,'2025-07-29 11:15:03','2025-07-29 11:15:03',NULL),(126,NULL,126,126,NULL,0,NULL,'2025-07-29 11:15:04','2025-07-29 11:15:04',NULL),(127,NULL,127,127,NULL,0,NULL,'2025-07-29 11:15:05','2025-07-29 11:15:05',NULL),(128,NULL,128,128,NULL,0,NULL,'2025-07-29 11:15:06','2025-07-29 11:15:06',NULL),(129,NULL,129,129,NULL,0,NULL,'2025-07-29 11:15:07','2025-07-29 11:15:07',NULL),(130,NULL,130,130,NULL,0,NULL,'2025-07-29 11:15:08','2025-07-29 11:15:08',NULL),(131,NULL,131,131,NULL,0,NULL,'2025-07-29 11:15:09','2025-07-29 11:15:09',NULL),(132,NULL,132,132,NULL,0,NULL,'2025-07-29 11:15:10','2025-07-29 11:15:10',NULL),(133,NULL,133,133,NULL,0,NULL,'2025-07-29 11:15:12','2025-07-29 11:15:12',NULL),(134,NULL,134,134,NULL,0,NULL,'2025-07-29 11:15:13','2025-07-29 11:15:13',NULL),(135,NULL,135,135,NULL,0,NULL,'2025-07-29 11:15:14','2025-07-29 11:15:14',NULL),(136,7941,136,136,NULL,0,NULL,'2025-08-28 13:32:20','2025-08-28 13:32:20',NULL),(137,7941,137,137,NULL,0,NULL,'2025-08-28 13:32:21','2025-08-28 13:32:21',NULL),(138,7941,138,138,NULL,0,NULL,'2025-08-28 13:32:22','2025-08-28 13:32:22',NULL),(139,7941,139,139,NULL,0,NULL,'2025-08-28 13:32:24','2025-08-28 13:32:24',NULL),(140,7941,140,140,NULL,0,NULL,'2025-08-28 13:32:25','2025-08-28 13:32:25',NULL),(141,7941,141,141,NULL,0,NULL,'2025-08-28 13:34:41','2025-08-28 13:34:41',NULL),(142,7941,142,142,NULL,0,NULL,'2025-08-28 13:34:43','2025-08-28 13:34:43',NULL),(143,7941,143,143,NULL,0,NULL,'2025-08-28 13:34:44','2025-08-28 13:34:44',NULL),(144,7941,144,144,NULL,0,NULL,'2025-08-28 13:34:45','2025-08-28 13:34:45',NULL),(145,7941,145,145,NULL,0,NULL,'2025-08-28 13:34:46','2025-08-28 13:34:46',NULL),(146,7941,146,146,NULL,0,NULL,'2025-08-28 13:34:48','2025-08-28 13:34:48',NULL),(147,7941,147,147,NULL,0,NULL,'2025-08-28 13:34:49','2025-08-28 13:34:49',NULL),(148,7941,148,148,NULL,0,NULL,'2025-08-28 13:34:50','2025-08-28 13:34:50',NULL),(149,7941,149,149,NULL,0,NULL,'2025-08-28 13:45:40','2025-08-28 13:45:40',NULL),(150,7941,150,150,NULL,0,NULL,'2025-08-28 15:17:41','2025-08-28 15:17:41',NULL),(151,7941,151,151,NULL,0,NULL,'2025-08-28 15:17:42','2025-08-28 15:17:42',NULL),(152,7941,152,152,NULL,0,NULL,'2025-08-28 15:17:44','2025-08-28 15:17:44',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (153,7941,153,153,NULL,0,NULL,'2025-08-28 15:17:45','2025-08-28 15:17:45',NULL),(154,7941,154,154,NULL,0,NULL,'2025-08-28 15:17:46','2025-08-28 15:17:46',NULL),(155,7941,155,155,NULL,0,NULL,'2025-08-28 15:19:07','2025-08-28 15:19:07',NULL),(156,7941,156,156,NULL,0,NULL,'2025-08-28 15:19:08','2025-08-28 15:19:08',NULL),(157,7941,157,157,NULL,0,NULL,'2025-08-28 15:19:09','2025-08-28 15:19:09',NULL),(158,7941,158,158,NULL,0,NULL,'2025-08-28 15:19:10','2025-08-28 15:19:10',NULL),(159,7941,159,159,NULL,0,NULL,'2025-08-28 15:19:11','2025-08-28 15:19:11',NULL),(160,7941,160,160,NULL,0,NULL,'2025-08-28 15:19:13','2025-08-28 15:19:13',NULL),(161,7941,161,161,NULL,0,NULL,'2025-08-28 15:19:14','2025-08-28 15:19:14',NULL),(162,7941,162,162,NULL,0,NULL,'2025-08-28 15:19:15','2025-08-28 15:19:15',NULL),(163,7941,163,163,NULL,0,NULL,'2025-08-28 15:19:16','2025-08-28 15:19:16',NULL),(164,7941,164,164,NULL,0,NULL,'2025-08-28 15:19:17','2025-08-28 15:19:17',NULL),(165,NULL,165,165,NULL,0,NULL,'2025-08-29 12:54:43','2025-08-29 12:54:43',NULL),(166,NULL,166,166,NULL,0,NULL,'2025-08-29 12:54:44','2025-08-29 12:54:44',NULL),(167,NULL,167,167,NULL,0,NULL,'2025-08-29 12:54:45','2025-08-29 12:54:45',NULL),(168,NULL,168,168,NULL,0,NULL,'2025-08-29 12:54:46','2025-08-29 12:54:46',NULL),(169,NULL,169,169,NULL,0,NULL,'2025-08-29 12:54:47','2025-08-29 12:54:47',NULL),(170,NULL,170,170,NULL,0,NULL,'2025-08-29 12:54:48','2025-08-29 12:54:48',NULL),(171,NULL,171,171,NULL,0,NULL,'2025-08-29 12:54:49','2025-08-29 12:54:49',NULL),(172,NULL,172,172,NULL,0,NULL,'2025-08-29 12:54:50','2025-08-29 12:54:50',NULL),(173,NULL,173,173,NULL,0,NULL,'2025-08-29 12:54:52','2025-08-29 12:54:52',NULL),(174,NULL,174,174,NULL,0,NULL,'2025-08-29 12:54:53','2025-08-29 12:54:53',NULL),(175,NULL,175,175,NULL,0,NULL,'2025-08-29 12:54:54','2025-08-29 12:54:54',NULL),(176,NULL,176,176,NULL,0,NULL,'2025-08-29 12:54:55','2025-08-29 12:54:55',NULL),(177,NULL,177,177,NULL,0,NULL,'2025-08-29 12:54:56','2025-08-29 12:54:56',NULL),(178,NULL,178,178,NULL,0,NULL,'2025-08-29 12:54:58','2025-08-29 12:54:58',NULL),(179,NULL,179,179,NULL,0,NULL,'2025-08-29 12:55:00','2025-08-29 12:55:00',NULL),(180,NULL,180,180,NULL,0,NULL,'2025-08-29 12:55:01','2025-08-29 12:55:01',NULL),(181,NULL,181,181,NULL,0,NULL,'2025-08-29 12:55:02','2025-08-29 12:55:02',NULL),(182,NULL,182,182,NULL,0,NULL,'2025-08-29 12:55:03','2025-08-29 12:55:03',NULL),(183,NULL,183,183,NULL,0,NULL,'2025-08-29 12:55:04','2025-08-29 12:55:04',NULL),(184,NULL,184,184,NULL,0,NULL,'2025-08-29 12:55:05','2025-08-29 12:55:05',NULL),(185,NULL,185,185,NULL,0,NULL,'2025-08-29 12:55:07','2025-08-29 12:55:07',NULL),(186,NULL,186,186,NULL,0,NULL,'2025-08-29 12:55:07','2025-08-29 12:55:07',NULL),(187,NULL,187,187,NULL,0,NULL,'2025-08-29 12:55:08','2025-08-29 12:55:08',NULL),(188,NULL,188,188,NULL,0,NULL,'2025-08-29 12:55:10','2025-08-29 12:55:10',NULL),(189,NULL,189,189,NULL,0,NULL,'2025-08-29 12:55:11','2025-08-29 12:55:11',NULL),(190,NULL,190,190,NULL,0,NULL,'2025-08-29 12:55:12','2025-08-29 12:55:12',NULL),(191,7941,191,191,NULL,0,NULL,'2025-09-04 11:54:41','2025-09-04 11:54:41',NULL),(192,7941,192,192,NULL,0,NULL,'2025-09-04 11:56:42','2025-09-04 11:56:42',NULL),(193,7941,193,193,NULL,0,NULL,'2025-09-04 12:07:59','2025-09-04 12:07:59',NULL),(194,7941,194,194,NULL,0,NULL,'2025-09-04 12:09:01','2025-09-04 12:09:01',NULL),(195,7941,195,195,NULL,0,NULL,'2025-09-04 12:11:32','2025-09-04 12:11:32',NULL),(196,7941,196,196,NULL,0,NULL,'2025-09-04 12:12:39','2025-09-04 12:12:39',NULL),(197,7941,197,197,NULL,0,NULL,'2025-09-04 12:15:57','2025-09-04 12:15:57',NULL),(198,7941,198,198,NULL,0,NULL,'2025-09-04 12:21:28','2025-09-04 12:21:28',NULL),(199,7941,199,199,NULL,0,NULL,'2025-09-04 12:31:12','2025-09-04 12:31:12',NULL),(200,7941,200,200,NULL,0,NULL,'2025-09-04 12:42:44','2025-09-04 12:42:44',NULL),(201,7941,201,201,NULL,0,NULL,'2025-09-04 12:54:23','2025-09-04 12:54:23',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (202,7941,202,202,NULL,0,NULL,'2025-09-04 12:55:41','2025-09-04 12:55:41',NULL),(203,7941,203,203,NULL,0,NULL,'2025-09-04 13:08:19','2025-09-04 13:08:19',NULL),(204,7941,204,204,NULL,0,NULL,'2025-09-04 13:11:09','2025-09-04 13:11:09',NULL),(205,7941,205,205,NULL,0,NULL,'2025-09-04 13:13:15','2025-09-04 13:13:15',NULL),(206,7941,206,206,NULL,0,NULL,'2025-09-04 13:15:47','2025-09-04 13:15:47',NULL),(207,7941,207,207,NULL,0,NULL,'2025-09-04 13:25:15','2025-09-04 13:25:15',NULL),(208,7941,208,208,NULL,0,NULL,'2025-09-04 13:27:44','2025-09-04 13:27:44',NULL),(209,7941,209,209,NULL,0,NULL,'2025-09-04 14:09:51','2025-09-04 14:09:51',NULL),(210,7941,210,210,NULL,0,NULL,'2025-09-04 14:11:47','2025-09-04 14:11:47',NULL),(211,7941,211,211,NULL,0,NULL,'2025-09-04 14:17:02','2025-09-04 14:17:02',NULL),(212,7941,212,212,NULL,0,NULL,'2025-09-04 14:18:45','2025-09-04 14:18:45',NULL),(213,7941,213,213,NULL,0,NULL,'2025-09-04 14:23:12','2025-09-04 14:23:12',NULL),(214,7941,214,214,NULL,0,NULL,'2025-09-04 14:24:39','2025-09-04 14:24:39',NULL),(215,7941,215,215,NULL,0,NULL,'2025-09-04 14:28:56','2025-09-04 14:28:56',NULL),(216,7941,216,216,NULL,0,NULL,'2025-09-04 14:30:19','2025-09-04 14:30:19',NULL),(217,7941,217,217,NULL,0,NULL,'2025-09-26 14:32:13','2025-09-26 14:32:13',NULL),(218,7941,218,218,NULL,0,NULL,'2025-09-26 14:32:14','2025-09-26 14:32:14',NULL),(219,7941,219,219,NULL,0,NULL,'2025-09-26 14:46:48','2025-09-26 14:46:48',NULL),(220,7941,220,220,NULL,0,NULL,'2025-09-26 14:46:49','2025-09-26 14:46:49',NULL),(221,7941,221,221,NULL,0,NULL,'2025-09-26 14:51:53','2025-09-26 14:51:53',NULL),(222,7941,222,222,NULL,0,NULL,'2025-09-26 14:51:54','2025-09-26 14:51:54',NULL),(223,7941,223,223,NULL,0,NULL,'2025-09-26 14:51:55','2025-09-26 14:51:55',NULL),(224,7941,224,224,NULL,0,NULL,'2025-09-26 14:54:50','2025-09-26 14:54:50',NULL),(225,7941,225,225,NULL,0,NULL,'2025-09-26 14:54:51','2025-09-26 14:54:51',NULL),(226,7941,226,226,NULL,0,NULL,'2025-09-26 14:54:52','2025-09-26 14:54:52',NULL),(227,7941,227,227,NULL,0,NULL,'2025-09-26 14:54:54','2025-09-26 14:54:54',NULL),(228,7941,228,228,NULL,0,NULL,'2025-09-26 14:54:55','2025-09-26 14:54:55',NULL),(229,7941,229,229,NULL,0,NULL,'2025-09-26 15:51:36','2025-09-26 15:51:36',NULL),(230,7941,230,230,NULL,0,NULL,'2025-09-26 15:51:37','2025-09-26 15:51:37',NULL),(231,7941,231,231,NULL,0,NULL,'2025-09-26 15:51:38','2025-09-26 15:51:38',NULL),(232,7941,232,232,NULL,0,NULL,'2025-09-26 15:53:43','2025-09-26 15:53:43',NULL),(233,7941,233,233,NULL,0,NULL,'2025-09-26 15:53:44','2025-09-26 15:53:44',NULL),(234,7941,234,234,NULL,0,NULL,'2025-09-26 16:04:33','2025-09-26 16:04:33',NULL),(235,7941,235,235,NULL,0,NULL,'2025-09-26 16:04:34','2025-09-26 16:04:34',NULL),(236,7941,236,236,NULL,0,NULL,'2025-09-30 09:08:15','2025-09-30 09:08:15',NULL),(237,7941,237,237,NULL,0,NULL,'2025-09-30 09:08:16','2025-09-30 09:08:16',NULL),(238,7941,238,238,NULL,0,NULL,'2025-09-30 09:33:04','2025-09-30 09:33:04',NULL),(239,7941,239,239,NULL,0,NULL,'2025-09-30 09:33:06','2025-09-30 09:33:06',NULL),(240,7941,240,240,NULL,0,NULL,'2025-09-30 09:38:02','2025-09-30 09:38:02',NULL),(241,7941,241,241,NULL,0,NULL,'2025-09-30 09:38:03','2025-09-30 09:38:03',NULL),(242,7941,242,242,NULL,0,NULL,'2025-09-30 09:38:04','2025-09-30 09:38:04',NULL),(243,7941,243,243,NULL,0,NULL,'2025-09-30 09:38:06','2025-09-30 09:38:06',NULL),(244,7941,244,244,NULL,0,NULL,'2025-09-30 09:56:25','2025-09-30 09:56:25',NULL),(245,7941,245,245,NULL,0,NULL,'2025-10-22 16:43:34','2025-10-22 16:43:34',NULL),(246,7941,246,246,NULL,0,NULL,'2025-10-22 16:43:35','2025-10-22 16:43:35',NULL),(247,7941,247,247,NULL,0,NULL,'2025-10-22 16:43:36','2025-10-22 16:43:36',NULL),(248,7941,248,248,NULL,0,NULL,'2025-10-23 11:39:13','2025-10-23 11:39:13',NULL),(249,7941,249,249,NULL,0,NULL,'2025-10-23 11:39:14','2025-10-23 11:39:14',NULL),(250,7941,250,250,NULL,0,NULL,'2025-10-23 11:39:15','2025-10-23 11:39:15',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (251,7941,251,251,NULL,0,NULL,'2025-10-23 11:39:16','2025-10-23 11:39:16',NULL),(252,7941,252,252,NULL,0,NULL,'2025-10-23 11:39:17','2025-10-23 11:39:17',NULL),(253,7941,253,253,NULL,0,NULL,'2025-10-23 11:39:18','2025-10-23 11:39:18',NULL),(254,7941,254,254,NULL,0,NULL,'2025-10-23 11:43:28','2025-10-23 11:43:28',NULL),(255,7941,255,255,NULL,0,NULL,'2025-10-23 11:43:29','2025-10-23 11:43:29',NULL),(256,7941,256,256,NULL,0,NULL,'2025-10-23 11:43:30','2025-10-23 11:43:30',NULL),(257,7941,257,257,NULL,0,NULL,'2025-10-23 11:43:31','2025-10-23 11:43:31',NULL),(258,7941,258,258,NULL,0,NULL,'2025-10-23 11:43:32','2025-10-23 11:43:32',NULL),(259,7941,259,259,NULL,0,NULL,'2025-10-23 11:43:33','2025-10-23 11:43:33',NULL),(260,7941,260,260,NULL,0,NULL,'2025-10-23 15:25:06','2025-10-23 15:25:06',NULL),(261,7941,261,261,NULL,0,NULL,'2025-10-23 15:25:07','2025-10-23 15:25:07',NULL),(262,7941,262,262,NULL,0,NULL,'2025-10-23 15:25:09','2025-10-23 15:25:09',NULL),(263,7941,263,263,NULL,0,NULL,'2025-10-23 15:25:10','2025-10-23 15:25:10',NULL),(264,7941,264,264,NULL,0,NULL,'2025-10-23 15:25:11','2025-10-23 15:25:11',NULL),(265,7941,265,265,NULL,0,NULL,'2025-10-23 15:34:14','2025-10-23 15:34:14',NULL),(266,7941,266,266,NULL,0,NULL,'2025-10-23 15:34:15','2025-10-23 15:34:15',NULL),(267,7941,267,267,NULL,0,NULL,'2025-10-23 15:34:16','2025-10-23 15:34:16',NULL),(268,7941,268,268,NULL,0,NULL,'2025-10-23 15:34:17','2025-10-23 15:34:17',NULL),(269,7941,269,269,NULL,0,NULL,'2025-10-23 15:34:19','2025-10-23 15:34:19',NULL),(270,7941,270,270,NULL,0,NULL,'2025-10-23 15:34:20','2025-10-23 15:34:20',NULL),(271,7941,271,271,NULL,0,NULL,'2025-10-23 15:34:21','2025-10-23 15:34:21',NULL);

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

CREATE TABLE `cta_cte_tesoreria` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `bind_apibank_movement_id` bigint(20) unsigned DEFAULT NULL COMMENT 'FK soft a bind_apibank_movements (movimiento que originó este registro)',
  `bind_apibank_transfer_id` bigint(20) unsigned DEFAULT NULL COMMENT 'FK soft a bind_apibank_transfers (transferencia que originó este registro)',
  `bind_sync_status` enum('pending','synced','error') COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Estado de sincronización: pending=pendiente, synced=sincronizado, error=error al sincronizar',
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `fecha` date DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(9,2) NOT NULL DEFAULT '1.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `ticket_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `cta_cte_tesoreria_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_period_id_foreign` (`period_id`),
  KEY `cta_cte_tesoreria_nf_cta_cte_id_foreign` (`nf_cta_cte_id`),
  KEY `cta_cte_tesoreria_moneda_id_foreign` (`moneda_id`),
  KEY `cta_cte_tesoreria_ticket_id_foreign` (`ticket_id`),
  KEY `idx_cct_bind_apibank_mov` (`bind_apibank_movement_id`),
  KEY `idx_cct_bind_apibank_trf` (`bind_apibank_transfer_id`),
  KEY `idx_cct_bind_sync_status` (`bind_sync_status`),
  CONSTRAINT `cta_cte_tesoreria_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_nf_cta_cte_id_foreign` FOREIGN KEY (`nf_cta_cte_id`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `cta_cte_tesoreria_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `cta_cte_tesoreria_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- Table structure for table `cta_cte_tesoreria_banco_cheq`
--

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

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


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

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

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


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

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

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


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

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

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

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

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

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

--
