-- 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','2021-05-11 09:25:31',NULL),(4,2019,2000000.00,3000000.00,6500000.00,15000.00,0.0075,3000000.00,'2019-11-19 21:09:50','2021-05-11 09:25:31',NULL),(5,2019,2000000.00,6500000.00,18000000.00,41250.00,0.0100,6500000.00,'2019-11-19 21:09:50','2021-05-11 09:25:31',NULL),(6,2019,2000000.00,18000000.00,999999999.99,156250.00,0.0125,18000000.00,'2021-05-11 09:25:31','2021-05-11 09:25:31',NULL),(7,2020,2000000.00,0.00,3000000.00,0.00,0.0050,0.00,'2021-06-15 17:44:21','2021-06-30 10:15:06',NULL),(8,2020,2000000.00,3000000.00,6500000.00,15000.00,0.0075,3000000.00,'2021-06-15 17:44:21','2021-06-30 10:15:06',NULL),(9,2020,2000000.00,6500000.00,18000000.00,41250.00,0.0100,6500000.00,'2021-06-15 17:44:21','2021-06-30 10:15:06',NULL),(10,2020,2000000.00,18000000.00,999999999.99,156250.00,0.0125,18000000.00,'2021-06-15 17:44:21','2021-06-30 10:15:06',NULL),(11,2021,6000000.00,0.00,3000000.00,0.00,0.0050,0.00,'2022-05-17 16:28:56','2022-05-17 16:28:56',NULL),(12,2021,6000000.00,3000000.00,6500000.00,15000.00,0.0075,3000000.00,'2022-05-17 16:28:56','2022-05-17 16:28:56',NULL),(13,2021,6000000.00,6500000.00,18000000.00,41250.00,0.0100,6500000.00,'2022-05-17 16:28:56','2022-05-17 16:28:56',NULL),(14,2021,6000000.00,18000000.00,999999999.99,156250.00,0.0125,18000000.00,'2022-05-17 16:28:56','2022-05-17 16:28:56',NULL),(15,2022,11282141.08,0.00,5641070.54,0.00,0.0050,0.00,'2023-05-30 15:02:12','2023-05-30 15:02:12',NULL),(16,2022,11282141.08,5641070.54,12222319.51,28205.35,0.0075,5641070.54,'2023-05-30 15:02:12','2023-05-30 15:02:12',NULL),(17,2022,11282141.08,12222319.51,33846423.25,77564.72,0.0100,12222319.51,'2023-05-30 15:02:12','2023-05-30 15:02:12',NULL),(18,2022,11282141.08,33846423.25,188035684.71,293802.76,0.0125,33846423.25,'2023-05-30 15:02:12','2023-05-30 15:02:12',NULL),(19,2022,11282141.08,188035684.71,564107054.14,2221171.53,0.0150,188035684.71,'2023-05-30 15:02:12','2023-05-30 15:02:12',NULL),(20,2022,11282141.08,564107054.14,999999999999.00,7682242.07,0.0175,564107054.14,'2023-05-30 15:02:12','2023-05-30 15:02:12',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 `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:30:15',NULL),(2,'B',2750.00,16500.00,550000.00,45,5000,NULL,'1',NULL,'2022-10-23 23:30:15',NULL),(3,'C',3850.00,23100.00,770000.00,60,6700,NULL,'1',NULL,'2022-10-23 23:30:15',NULL),(4,'D',5300.00,31800.00,1060000.00,85,10000,NULL,'1',NULL,'2022-10-23 23:30:15',NULL),(5,'E',7000.00,42000.00,1400000.00,110,13000,NULL,'1',NULL,'2022-10-23 23:30:15',NULL),(6,'F',8750.00,52500.00,1750000.00,150,16500,NULL,'1',NULL,'2022-10-23 23:30:15',NULL),(7,'G',10500.00,63000.00,2100000.00,200,20000,NULL,'1',NULL,'2022-10-23 23:30:15',NULL),(8,'H',13000.00,78000.00,2600000.00,200,20000,NULL,'1',NULL,'2022-10-23 23:30:15',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',1414762.00,117896.00,'No Excluida','0',30,3330,230178.48,496.85,496.85,2192.15,3061.75,5750.75,5750.75,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(2,'B',2103025.00,175252.00,'No Excluida','0',45,5000,230178.48,957.27,957.27,2411.36,3061.75,6430.38,6430.38,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(3,'C',2944235.00,245352.00,'No Excluida','0',60,6700,460356.93,1636.83,1512.56,2652.52,3061.75,7351.10,7226.83,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(4,'D',3656604.00,304717.00,'No Excluida','0',85,10000,460356.93,2689.05,2484.46,2917.75,3638.26,9245.06,9040.47,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(5,'E',4305799.00,358816.00,'No Excluida','0',110,13000,573619.32,5115.04,3967.80,3209.55,4452.02,12776.61,11629.37,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(6,'F',5382248.00,448520.00,'No Excluida','0',150,16500,575446.12,7036.89,5180.81,3530.49,5145.02,15712.40,13856.32,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(7,'G',6458698.00,538224.00,'No Excluida','0',200,20000,690535.39,8951.39,6459.54,3883.53,5512.52,18347.44,15855.59,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(8,'H',7996484.00,666373.00,'No Excluida','0',200,20000,920713.84,20460.26,15856.76,4271.88,6615.02,31347.16,26743.66,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(9,'I',8949911.00,745825.00,'Venta de Bs Muebles','0',200,20000,920713.84,NULL,25575.36,4699.08,8190.03,NULL,38464.47,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(10,'J',10257028.00,854752.00,'Venta de Bs Muebles','0',200,20000,920713.84,NULL,30054.72,5169.03,9166.53,NULL,44390.28,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(11,'K',11379612.00,948301.00,'Venta de Bs Muebles','0',200,20000,920713.84,NULL,34526.76,5685.87,10505.29,NULL,50717.92,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 AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `claves_details` VALUES (2,3904,NULL,'Ferran1416',NULL,1,40786,1,'2022-09-20 09:46:32','2022-09-20 09:46:32',NULL),(3,3904,'ctagringo01','Gring$22',NULL,14,40790,1,'2022-10-10 10:06:40','2022-10-10 10:06:40',NULL),(4,3904,'20252008889','Walter$2022',NULL,1,40790,1,'2022-10-10 10:06:40','2022-10-10 10:06:40',NULL),(5,3904,'20240969972','Jose252902',NULL,1,40789,1,'2022-10-10 10:51:47','2022-10-10 10:51:47',NULL),(7,3904,NULL,'LuisitoH13',NULL,1,40787,1,'2022-10-10 11:15:52','2022-10-10 11:15:52',NULL),(8,3904,NULL,'Coronel$2022',NULL,1,40785,1,'2022-10-10 13:20:11','2022-10-10 13:20:11',NULL),(11,3904,NULL,'Estudiomg2022',NULL,1,40720,1,'2022-11-08 19:46:09','2022-11-08 19:46:09',NULL);
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,'2021-07-26 00:49:30','2021-07-29 05:45:34',NULL),(2,NULL,'Articulo 6',6,0,'2021-07-26 00:49:30','2021-07-29 05:45:34',NULL),(3,NULL,'Articulo 7',7,0,'2021-07-26 00:49:30','2021-07-29 05:45:34',NULL),(4,NULL,'Articulo 8',8,0,'2021-07-26 00:49:30','2021-07-29 05:45:34',NULL),(5,NULL,'Articulo 9',9,0,'2021-07-26 00:49:30','2021-07-29 05:45:34',NULL),(6,NULL,'Articulo 10',10,0,'2021-07-26 00:49:30','2021-07-29 05:45:34',NULL),(7,NULL,'Articulo 11',11,0,'2021-07-26 00:49:30','2021-07-29 05:45:34',NULL),(8,NULL,'Articulo 12',12,0,'2021-07-26 00:49:30','2021-07-29 05:45:34',NULL),(9,NULL,'Articulo 13',13,0,'2021-07-26 00:49:30','2021-07-29 05:45:34',NULL),(10,NULL,'Articulo 14',14,1,'2021-07-26 00:49:30','2021-07-29 05:45:34',NULL);

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

CREATE TABLE `cobradores` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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,NULL,NULL),(3,NULL,3,'IVA no Responsable',0,0,1,NULL,NULL,NULL),(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,NULL,NULL),(12,NULL,12,'Pequeño Contribuyente Eventual',0,0,1,NULL,NULL,NULL),(13,NULL,13,'Monotributista Social',1,0,1,NULL,NULL,NULL),(14,NULL,14,'Pequeño Contribuyente Eventual Social',0,0,1,NULL,NULL,NULL),(15,NULL,NULL,'Monotributista Trabajador Independiente Promovido',1,0,1,NULL,NULL,NULL),(16,NULL,NULL,'IVA No Alcanzado',0,1,1,NULL,NULL,NULL);

--
-- 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=4 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:40:40','2023-03-12 23:40:40',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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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


--
-- 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,
  `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`),
  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=1027 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,1,1,0,0,0,0,NULL),(2,NULL,1100000,2,1,1000000,'ACTIVO CORRIENTE','Activo',NULL,1,1,0,0,0,0,NULL),(3,NULL,1110000,3,1,1100000,'CAJA Y BANCOS','Activo',NULL,1,1,0,0,0,0,NULL),(4,NULL,1110100,4,1,1110000,'CAJAS','Activo',NULL,1,1,0,0,0,0,NULL),(5,NULL,1110101,5,1,1110100,'Caja Oficina','Activo',NULL,0,1,0,0,0,0,NULL),(6,NULL,1110102,5,1,1110100,'Caja Casa','Activo',NULL,0,1,0,0,0,0,NULL),(7,NULL,1110103,5,1,1110100,'Caja Dolares Casa','Activo',NULL,0,1,0,0,0,0,NULL),(8,NULL,1110104,5,1,1110100,'Banco Santander 015-372795/5','Activo',NULL,0,1,0,0,0,0,NULL),(9,NULL,1110200,4,1,1110000,'BANCOS','Activo',NULL,1,1,0,0,0,0,NULL),(10,NULL,1110201,5,1,1110200,'Banco Santander Rio Cta Corriente','Activo',NULL,1,2,1,1,1,0,NULL),(11,NULL,1110202,5,1,1110200,'Banco Santander Rio Cta Corriente DOLARES','Activo',NULL,1,2,1,1,1,0,NULL),(12,NULL,1130000,3,1,1100000,'CREDITOS POR VENTAS','Activo',NULL,1,1,0,0,0,0,NULL),(13,NULL,1130101,5,1,1130100,'Clientes - Deudores','Activo',NULL,1,2,0,0,0,1,NULL),(14,NULL,1130102,5,1,1130100,'Deudores por ventas comunes','Activo',NULL,1,1,0,0,0,1,NULL),(15,NULL,1130103,5,1,1130100,'Deudores por ventas morosos','Activo',NULL,1,1,0,0,0,1,NULL),(16,NULL,1130104,5,1,1130100,'Deudores en gestión judicial','Activo',NULL,1,1,0,0,0,1,NULL),(17,NULL,1130105,5,1,1130100,'Previsión deudores incobrables','Activo',NULL,1,1,0,0,0,1,NULL),(18,NULL,1140000,3,1,1100000,'OTROS CREDITOS','Activo',NULL,1,1,0,0,0,0,NULL),(19,NULL,1140100,4,1,1140000,'Retenciones Sufridas','Activo',NULL,1,1,0,0,0,0,NULL),(20,NULL,1140301,5,1,1140300,'Anticipos Impuesto a las Ganancias','Activo',NULL,1,2,0,0,1,1,NULL),(21,NULL,1140102,5,1,1140100,'Retenciones Ingr. Brutos','Activo',NULL,0,1,0,0,0,0,NULL),(22,NULL,1140329,5,1,1140300,'Anticipo Impto.Ganancia Mínima Presunta','Activo',NULL,1,1,0,0,0,1,NULL),(23,NULL,1140105,5,1,1140100,'Retenciones Impuesto a las Ganancias','Activo',NULL,1,2,1,0,0,1,NULL),(24,NULL,1140106,5,1,1140100,'Impuesto a las Ganancias (Saldo a favor)','Activo',NULL,1,1,0,0,0,1,NULL),(25,NULL,1140107,5,1,1140100,'Retenciones de IVA','Activo',NULL,1,2,1,0,0,1,NULL),(26,NULL,1140200,4,1,1140000,'CREDITOS DIVERSOS','Activo',NULL,1,1,0,0,0,0,NULL),(27,NULL,1140201,5,1,1140200,'Anticipos de proveedores','Activo',NULL,1,1,0,0,0,1,NULL),(28,NULL,1140205,5,1,1140200,'Depósito en garantía alquileres','Activo',NULL,1,1,0,0,0,1,NULL),(29,NULL,1140206,5,1,1140200,'Derechos adquiridos a devengar','Activo',NULL,1,1,0,0,0,1,NULL),(30,NULL,1140207,5,1,1140200,'Intereses a devengar','Activo',NULL,1,1,0,0,0,1,NULL),(31,NULL,1140208,5,1,1140200,'Cuentas a rendir - Directores','Activo',NULL,1,1,0,0,0,1,NULL),(32,NULL,1140210,5,1,1140200,'Alquileres no devengados','Activo',NULL,1,1,0,0,0,1,NULL),(33,NULL,1150000,3,1,1100000,'BIENES DE CAMBIO','Activo',NULL,1,1,0,0,0,0,NULL),(34,NULL,1150400,4,1,1150000,'MERCADERIA DE REVENTA','Activo',NULL,1,1,0,0,0,0,NULL),(35,NULL,1200000,2,1,1000000,'ACTIVO NO CORRIENTE','Activo',NULL,1,1,0,0,0,0,NULL),(36,NULL,1220000,3,1,1200000,'BIENES DE USO','Activo',NULL,1,1,0,0,0,0,NULL),(37,NULL,1220100,4,1,1220000,'EQUIPOS DE COMPUTACION','Activo',NULL,1,1,0,0,0,0,NULL),(38,NULL,1220101,5,1,1220100,'Equipos de computación valores históricos','Activo',NULL,1,1,0,0,0,1,NULL),(39,NULL,1220102,5,1,1220100,'Equipos de computación ajuste','Activo',NULL,1,1,0,0,0,1,NULL),(40,NULL,1220108,5,1,1220100,'Amortización Acumulada Equipos de comput.','Activo',NULL,1,1,0,0,0,1,NULL),(41,NULL,1220200,4,1,1220000,'INSTALACIONES','Activo',NULL,1,1,0,0,0,0,NULL),(42,NULL,1220201,5,1,1220200,'Instalaciones valores históricos','Activo',NULL,1,1,0,0,0,1,NULL),(43,NULL,1220202,5,1,1220200,'Instalaciones ajuste','Activo',NULL,1,1,0,0,0,1,NULL),(44,NULL,1220206,5,1,1220200,'Amortización Acumulada Instalaciones','Activo',NULL,1,1,0,0,0,1,NULL),(45,NULL,1220300,4,1,1220000,'MUEBLES Y UTILES','Activo',NULL,1,1,0,0,0,0,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (46,NULL,1220301,5,1,1220300,'Muebles y utiles valores históricos','Activo',NULL,1,1,0,0,0,1,NULL),(47,NULL,1220302,5,1,1220300,'Muebles y utiles ajuste','Activo',NULL,1,1,0,0,0,1,NULL),(48,NULL,1220306,5,1,1220300,'Amortización Acumulada Muebles y Útiles','Activo',NULL,1,1,0,0,0,1,NULL),(49,NULL,1230000,3,1,1200000,'ACTIVOS INTANGIBLES','Activo',NULL,1,1,0,0,0,0,NULL),(50,NULL,1230101,5,1,1230100,'Gastos de organización valores historicos','Activo',NULL,1,1,0,0,0,1,NULL),(51,NULL,1230102,5,1,1230100,'Gastos de organización ajuste','Activo',NULL,1,1,0,0,0,1,NULL),(52,NULL,1230103,5,1,1230100,'Amortización acumulada gs. de organización','Activo',NULL,1,1,0,0,0,1,NULL),(53,NULL,2000000,1,2,0,'PASIVO','Pasivo',NULL,1,1,0,0,0,0,NULL),(54,NULL,2100000,2,2,2000000,'PASIVO CORRIENTE','Pasivo',NULL,1,1,0,0,0,0,NULL),(55,NULL,2110000,3,2,2100000,'Deudas','Pasivo',NULL,1,1,0,0,0,0,NULL),(56,NULL,2110100,4,2,2110000,'Comerciales','Pasivo',NULL,1,1,0,0,0,0,NULL),(57,NULL,2110101,5,2,2110100,'Proveedores en Cta. Cte. locales','Pasivo',NULL,1,2,0,0,0,1,NULL),(58,NULL,2110102,5,2,2110100,'Proveedores en cta. cte. exterior','Pasivo',NULL,1,1,0,0,0,1,NULL),(59,NULL,2110103,5,2,2110100,'Derechos de exhibición a devengar','Pasivo',NULL,1,1,0,0,0,1,NULL),(60,NULL,2110104,5,2,2110100,'Cheques emitidos ','Pasivo',NULL,1,2,1,1,1,1,NULL),(61,NULL,2110200,4,2,2110000,'REMUNERACIONES Y CARGAS SOCIALES','Pasivo',NULL,1,1,0,0,0,0,NULL),(62,NULL,2110201,5,2,2110200,'Sueldos y Jornales a pagar','Pasivo',NULL,1,2,0,0,1,1,NULL),(63,NULL,2110202,5,2,2110200,'Cargas sociales a pagar','Pasivo',NULL,1,1,0,0,0,1,NULL),(64,NULL,2110203,5,2,2110200,'Sindicatos a Pagar','Pasivo',NULL,1,1,0,0,0,1,NULL),(65,NULL,2110300,4,2,2110000,'CARGAS FISCALES','Pasivo',NULL,1,1,0,0,0,0,NULL),(67,NULL,2110301,5,2,2110300,'IVA Debito Fiscal','Pasivo',NULL,1,2,0,0,0,1,NULL),(68,NULL,1140222,5,1,1140200,'IVA Credito Fiscal','Activo',NULL,1,2,0,0,0,1,NULL),(69,NULL,2110303,5,2,2110300,'Impuestos Internos','Pasivo',NULL,1,1,0,0,0,1,NULL),(70,NULL,2110304,5,2,2110300,'Impuestos al Combustible','Pasivo',NULL,1,1,0,0,0,1,NULL),(71,NULL,2110601,5,2,2110600,'IVA Retenciones de terceros','Pasivo',NULL,1,1,0,0,0,1,NULL),(72,NULL,2110306,5,2,2110300,'IVA Percepciones realiz.por terceros','Pasivo',NULL,1,2,0,0,0,1,NULL),(73,NULL,2110307,5,2,2110300,'IVA Saldo a favor','Pasivo',NULL,1,1,0,0,0,1,NULL),(74,NULL,2110308,5,2,2110300,'IVA a pagar','Pasivo',NULL,1,2,0,0,0,1,NULL),(75,NULL,2110309,5,2,2110300,'Percepciones Ingresos Brutos','Pasivo',NULL,1,1,0,0,0,1,NULL),(76,NULL,2110310,5,2,2110300,'Otros Pagos AFIP','Pasivo',NULL,1,1,0,0,0,1,NULL),(78,NULL,2110350,5,2,2110300,'Impuesto a los Ingresos Brutos Pasivo','Pasivo',NULL,1,1,0,0,0,1,NULL),(79,NULL,2110313,5,2,2110300,'Impuesto a las Ganancias','Pasivo',NULL,1,1,0,0,0,1,NULL),(80,NULL,2110314,5,2,2110300,'Impuesto a la Ganancia Mínima Presunta','Pasivo',NULL,1,1,0,0,0,1,NULL),(81,NULL,2110602,5,2,2110600,'AFIP - Retenciones Impuesto a las Ganancias','Pasivo',NULL,1,1,0,0,0,1,NULL),(82,NULL,2110316,5,2,2110300,'AFIP - Plan de Facilidades Decreto 338/02','Pasivo',NULL,1,1,0,0,0,1,NULL),(83,NULL,2200000,2,2,2000000,'PASIVO NO CORRIENTE','Pasivo',NULL,1,1,0,0,0,0,NULL),(84,NULL,3000000,1,2,0,'PATRIMONIO NETO','Patrimonio Neto',NULL,1,1,0,0,0,0,NULL),(85,NULL,3100000,2,2,3000000,'APORTE DE LOS PROPIETARIOS','Patrimonio Neto',NULL,1,1,0,0,0,0,NULL),(86,NULL,3110100,4,2,3110000,'CAPITAL SOCIAL','Patrimonio Neto',NULL,1,1,0,0,0,0,NULL),(87,NULL,3110101,5,2,3110100,'Acciones en circulación','Patrimonio Neto',NULL,1,1,0,0,0,1,NULL),(88,NULL,3110102,5,2,3110100,'Ajuste del Capital','Patrimonio Neto',NULL,1,2,0,0,0,1,NULL),(89,NULL,3110103,5,2,3110100,'Aportes Irrevocables Futuras Suscripciones','Patrimonio Neto',NULL,1,1,0,0,0,1,NULL),(90,NULL,3400000,2,2,3000000,'RESULTADOS','Patrimonio Neto',NULL,1,1,0,0,0,0,NULL),(91,NULL,3410101,5,2,3410100,'Resultado del ejercicio','Patrimonio Neto',NULL,1,1,0,0,0,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (92,NULL,3410102,5,2,3410100,'Resultado ejercicios anteriores','Patrimonio Neto',NULL,1,1,0,0,0,1,NULL),(93,NULL,3410103,5,2,3410100,'A.R.E.A.','Patrimonio Neto',NULL,1,1,0,0,0,1,NULL),(94,NULL,4000000,1,2,0,'INGRESOS','Result. Positivo',NULL,1,1,0,0,0,0,NULL),(95,NULL,4100000,2,2,4000000,'INGRESOS ORDINARIOS','Result. Positivo',NULL,1,1,0,0,0,0,NULL),(96,NULL,4110101,5,2,4110100,'VENTAS','Result. Positivo',NULL,1,2,0,0,0,1,NULL),(97,NULL,4110102,5,2,4110100,'Honorarios','Result. Positivo',NULL,1,1,0,0,0,1,NULL),(98,NULL,4110103,5,2,4110100,'Sueldo Vane','Result. Positivo',NULL,0,1,0,0,0,0,NULL),(99,NULL,4110104,5,2,4110100,'Descuentos obtenidos','Result. Positivo',NULL,1,1,0,0,0,1,NULL),(100,NULL,4110105,5,2,4110100,'Reintegros por exportaciones','Result. Positivo',NULL,1,1,0,0,0,1,NULL),(101,NULL,4120000,3,2,4100000,'OTROS INGRESOS','Result. Positivo',NULL,1,1,0,0,0,0,NULL),(102,NULL,4120101,5,2,4120100,'Intereses Cobrados','Result. Positivo',NULL,1,1,0,0,0,1,NULL),(103,NULL,4120102,5,2,4120100,'Diferencias de cambio','Result. Positivo',NULL,1,1,0,0,0,1,NULL),(104,NULL,4120103,5,2,4120100,'Descuentos obtenidos','Result. Positivo',NULL,1,1,0,0,0,1,NULL),(107,NULL,5000000,1,1,0,'GASTOS','Result. Negativo',NULL,1,1,0,0,0,0,NULL),(108,NULL,5100000,2,1,5000000,'GASTOS ORDINARIOS','Result. Negativo',NULL,1,1,0,0,0,0,NULL),(109,NULL,5110100,4,1,5110000,'ASIENTO DE SUELDO','Result. Negativo',NULL,1,1,0,0,0,0,NULL),(110,NULL,5110101,5,1,5110100,'Sueldos','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(111,NULL,5110102,5,1,5110100,'Contribuciones','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(112,NULL,5110103,5,1,5110100,'Sindicato','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(113,NULL,5120100,4,1,5120000,'GASTOS DE OPERACION','Result. Negativo',NULL,1,1,0,0,0,0,NULL),(114,NULL,5120101,5,1,5120100,'ACA','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(115,NULL,5120102,5,1,5120100,'Aereos','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(116,NULL,5120103,5,1,5120100,'Alquiler','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(117,NULL,5120104,5,1,5120100,'AGUA AYSA','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(118,NULL,5120105,5,1,5120100,'TV Cablevision','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(119,NULL,5120106,5,1,5120100,'Caja Jubilacion Consejo','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(120,NULL,5120107,5,1,5120100,'Celulares','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(121,NULL,5120108,5,1,5120100,'Cheques','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(122,NULL,5120109,5,1,5120100,'Club la Nacion','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(123,NULL,5120110,5,1,5120100,'Comida','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(124,NULL,5120111,5,1,5120100,'Diario Clarin','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(125,NULL,5120112,5,1,5120100,'Digital Ocean','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(126,NULL,5120113,5,1,5120100,'Fletes y acarreos','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(127,NULL,5120114,5,1,5120100,'Luz Edesur','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(128,NULL,5120115,5,1,5120100,'Movilidad y Viáticos','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(129,NULL,5120116,5,1,5120100,'Mantenimiento','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(130,NULL,5120117,5,1,5120100,'IVA No Computable','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(131,NULL,5120118,5,1,5120100,'Entretenimiento','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(132,NULL,5120119,5,1,5120100,'Amortización Bienes de Uso','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(133,NULL,5120120,5,1,5120100,'Errepar','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(134,NULL,5120121,5,1,5120100,'Hosting Página Web To Webs','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(135,NULL,5120122,5,1,5120100,'Gastos varios','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(136,NULL,5120123,5,1,5120100,'Ajuste por redondeo','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(137,NULL,5120124,5,1,5120100,'Deudores Incobrables','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(138,NULL,5120125,5,1,5120100,'Faby Goncalves','Result. Negativo',NULL,0,1,0,0,0,0,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (139,NULL,5130100,4,1,5130000,'GASTOS FINANCIEROS','Result. Negativo',NULL,1,1,0,0,0,0,NULL),(140,NULL,5130101,5,1,5130100,'Intereses y Gastos bancarios','Result. Negativo',NULL,1,2,0,0,1,1,NULL),(141,NULL,5130102,5,1,5130100,'Intereses Proveedores','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(142,NULL,5130103,5,1,5130100,'Damian Financiera','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(143,NULL,5130104,5,1,5130100,'Diferencias de cambio','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(144,NULL,5130105,5,1,5130100,'Diferencia de Cambio Bces. en M.Extranjera','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(145,NULL,5130106,5,1,5130100,'Diferencia tipo cambio Vendedor/Comprador','Result. Negativo',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,1,1,0,0,0,1,NULL),(147,NULL,5130108,5,1,5130100,'Diferencia de cambio CMV','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(148,NULL,5130109,5,1,5130100,'Diferencia de cambio PT','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(149,NULL,5130110,5,1,5130100,'Resultado por Exposición a la Inflación','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(150,NULL,5130111,5,1,5130100,'Diferencia de cambio PE','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(151,NULL,5130112,5,1,5130100,'Diferencia de cambio Ds.Vtas.','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(152,NULL,5130113,5,1,5130100,'Diferencia de cambio ME','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(153,NULL,5130114,5,1,5130100,'Descuentos otorgados','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(154,NULL,5140100,4,1,5140000,'IMPUESTOS','Result. Negativo',NULL,1,1,0,0,0,0,NULL),(155,NULL,5140101,5,1,5140100,'Impuesto a las Ganancias','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(156,NULL,5140164,5,1,5140100,'Impuesto a los Ingresos Brutos','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(157,NULL,5140102,5,1,5140100,'Impuesto al Debito y Credito Bancario','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(158,NULL,5200000,2,1,5000000,'GASTOS EXTRAORDINARIOS','Result. Negativo',NULL,1,1,0,0,0,0,NULL),(159,NULL,5210101,5,1,5210100,'Pérdida por venta bienes de uso','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(160,NULL,5210102,5,1,5210100,'Inversiones','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(161,NULL,5210103,5,1,5210100,'Amortizaciones extraordinarias','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(162,NULL,1140103,5,1,1140100,'Retenciones SUSS','Activo',NULL,1,2,1,0,0,1,NULL),(163,NULL,1110122,5,1,1110100,'Banco Patagonia Cta. Cte.','Activo',NULL,0,1,0,0,0,0,NULL),(164,NULL,1110106,5,1,1110100,'Banco HSBC','Activo',NULL,0,1,0,0,0,0,NULL),(165,NULL,1110123,5,1,1110100,'Banco Ciudad Cta. Cte.','Activo',NULL,0,1,0,0,0,0,NULL),(166,NULL,1110124,5,1,1110100,'Banco Nacion Cta. Cte.','Activo',NULL,0,1,0,0,0,0,NULL),(167,NULL,1110109,5,1,1110100,'Banco Galicia Vane','Activo',NULL,0,1,0,0,0,0,NULL),(168,NULL,1110110,5,1,1110100,'Banco Frances Vane','Activo',NULL,0,1,0,0,0,0,NULL),(169,NULL,1110111,5,1,1110100,'Banco Patagonia In Time SRL','Activo',NULL,0,1,0,0,0,0,NULL),(170,NULL,1110112,5,1,1110100,'Banco Ciudad In Time SRL','Activo',NULL,0,1,0,0,0,0,NULL),(171,NULL,1110113,5,1,1110100,'Banco Provincia In Time SRL','Activo',NULL,0,1,0,0,0,0,NULL),(172,NULL,1110114,5,1,1110100,'Banco Macro PedimeOnline','Activo',NULL,0,1,0,0,0,0,NULL),(173,NULL,1110115,5,1,1110100,'Banco Patagonia Problema Resuelto','Activo',NULL,0,1,0,0,0,0,NULL),(174,NULL,1110116,5,1,1110100,'Banco Patagonia Graciela','Activo',NULL,0,1,0,0,0,0,NULL),(175,NULL,1110117,5,1,1110100,'Banco Patagonia Omar','Activo',NULL,0,1,0,0,0,0,NULL),(176,NULL,1110118,5,1,1110100,'Cheques','Activo',NULL,1,2,1,1,1,0,NULL),(177,NULL,5120126,5,1,5120100,'Gisela Larzabal','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(178,NULL,5120127,5,1,5120100,'Google','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(179,NULL,5120128,5,1,5120100,'Seguro Moto','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(180,NULL,5120129,5,1,5120100,'Sueldo Agustina','Result. Negativo',NULL,0,1,0,0,0,0,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (181,NULL,5120130,5,1,5120100,'Sueldo Betty','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(182,NULL,5120131,5,1,5120100,'Sueldo Elizabet','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(183,NULL,5120132,5,1,5120100,'Sueldo Florencia','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(184,NULL,5120133,5,1,5120100,'Sueldo Graciela','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(185,NULL,5120134,5,1,5120100,'Sueldo Franco Sanchez','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(186,NULL,5120135,5,1,5120100,'Sueldo Santiago Sanchez','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(187,NULL,5120136,5,1,5120100,'Sueldo Jose Luis','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(188,NULL,5120137,5,1,5120100,'Publicidad','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(189,NULL,5120138,5,1,5120100,'Las Nieves','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(190,NULL,5120139,5,1,5120100,'Sueldo Lidia','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(191,NULL,5120140,5,1,5120100,'Cargas Sociales','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(192,NULL,5120141,5,1,5120100,'Honorarios','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(193,NULL,5120142,5,1,5120100,'Telefono Fijo','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(194,NULL,5120143,5,1,5120100,'ONE DRIVE','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(195,NULL,5120144,5,1,5120100,'OSDE','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(196,NULL,5120145,5,1,5120100,'SAS Constitucion','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(197,NULL,5120146,5,1,5120100,'Seguro de Vida Zurich','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(198,NULL,5120147,5,1,5120100,'Seguros','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(199,NULL,5120148,5,1,5120100,'Internet','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(200,NULL,5120149,5,1,5120100,'Seguro de Retiro Zurich','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(201,NULL,5140165,5,1,5140100,'Monotributo','Result. Negativo',NULL,1,2,0,0,1,1,NULL),(202,NULL,5140104,5,1,5140100,'IVA In Time SRL','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(203,NULL,5140105,5,1,5140100,'Autonomos','Result. Negativo',NULL,1,2,0,0,1,1,NULL),(204,NULL,5140106,5,1,5140100,'Multas Impositivas','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(207,NULL,5120150,5,1,5120100,'Vanesa Gastos','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(208,NULL,5140166,5,1,5140100,'Impuesto a los Ingresos Brutos - BS AS','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(209,NULL,5140107,5,1,5140100,'SIRCREB','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(210,NULL,5140108,5,1,5140100,'Consejo Ciencias Economicas','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(211,NULL,5120152,5,1,5120100,'Albano Andres','Result. Negativo',NULL,0,1,0,0,0,0,NULL),(212,NULL,5120153,5,1,5120100,'Tarjeta Visa','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(213,NULL,5120154,5,1,5120100,'Tarjeta American Express','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(214,NULL,5120155,5,1,5120100,'Tarjeta Mastercard','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(215,NULL,5120156,5,1,5120100,'Imp. Municipales','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(216,NULL,5120157,5,1,5120100,'Perc/Ret. Imp. Ganancias','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(217,NULL,5120158,5,1,5120100,'Compras','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(218,NULL,4110106,5,2,4110100,'Ventas No Gravadas','Result. Positivo',NULL,1,2,0,0,0,1,NULL),(219,NULL,6110103,5,1,6110100,'Pagos AFIP','Movimiento',NULL,1,2,0,0,1,1,NULL),(220,NULL,5140167,5,1,5140100,'Perc IVA -RG3337','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(221,NULL,5140109,5,1,5140100,'Imps. Internos','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(222,NULL,5140110,5,1,5140100,'Imp. Gasoil','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(223,NULL,5140111,5,1,5140100,'Imp. Hídricos','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(224,NULL,5140112,5,1,5140100,'ITC','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(225,NULL,5140113,5,1,5140100,'Perc IIBB  Buenos Aires','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(226,NULL,5140114,5,1,5140100,'Perc IIBB  Capital Federal','Result. Negativo',NULL,1,2,0,0,0,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (227,NULL,5140115,5,1,5140100,'Perc IIBB  Catamarca','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(228,NULL,5140116,5,1,5140100,'Perc IIBB  Chaco','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(229,NULL,5140117,5,1,5140100,'Perc IIBB  Chubut','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(230,NULL,5140118,5,1,5140100,'Perc IIBB  Córdoba','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(231,NULL,5140119,5,1,5140100,'Perc IIBB  Corrientes','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(232,NULL,5140120,5,1,5140100,'Perc IIBB  Entre Ríos','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(233,NULL,5140121,5,1,5140100,'Perc IIBB  Formosa','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(234,NULL,5140122,5,1,5140100,'Perc IIBB  Jujuy','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(235,NULL,5140123,5,1,5140100,'Perc IIBB  La Pampa','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(236,NULL,5140124,5,1,5140100,'Perc IIBB  La Rioja','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(237,NULL,5140125,5,1,5140100,'Perc IIBB  Mendoza','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(238,NULL,5140126,5,1,5140100,'Perc IIBB  Misiones','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(239,NULL,5140127,5,1,5140100,'Perc IIBB  Neuquén','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(240,NULL,5140128,5,1,5140100,'Perc IIBB  Pascua Lama','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(241,NULL,5140129,5,1,5140100,'Perc IIBB  Río Negro','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(242,NULL,5140130,5,1,5140100,'Perc IIBB  Salta','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(243,NULL,5140131,5,1,5140100,'Perc IIBB  San Juan','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(244,NULL,5140132,5,1,5140100,'Perc IIBB  San Luis','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(245,NULL,5140133,5,1,5140100,'Perc IIBB  Santa Cruz','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(246,NULL,5140134,5,1,5140100,'Perc IIBB  Santa Fe','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(247,NULL,5140135,5,1,5140100,'Perc IIBB  Santiago del Estero','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(248,NULL,5140136,5,1,5140100,'Perc IIBB  Tierra del Fuego','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(249,NULL,5140137,5,1,5140100,'Perc IIBB  Tucuman','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(250,NULL,5140138,5,1,5140100,'Compras No Gravadas','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(251,NULL,1140108,5,1,1140100,'Retenciones de IIBB Buenos Aires','Activo',NULL,1,2,1,0,0,1,NULL),(252,NULL,1140109,5,1,1140100,'Retenciones de IIBB Capital Federal','Activo',NULL,1,2,1,0,0,1,NULL),(253,NULL,1140110,5,1,1140100,'Retenciones de IIBB Catamarca','Activo',NULL,1,2,1,0,0,1,NULL),(254,NULL,1140111,5,1,1140100,'Retenciones de IIBB Chaco','Activo',NULL,1,2,1,0,0,1,NULL),(255,NULL,1140112,5,1,1140100,'Retenciones de IIBB Chubut','Activo',NULL,1,2,1,0,0,1,NULL),(256,NULL,1140113,5,1,1140100,'Retenciones de IIBB Córdoba','Activo',NULL,1,2,1,0,0,1,NULL),(257,NULL,1140114,5,1,1140100,'Retenciones de IIBB Corrientes','Activo',NULL,1,2,1,0,0,1,NULL),(258,NULL,1140115,5,1,1140100,'Retenciones de IIBB Entre Ríos','Activo',NULL,1,2,1,0,0,1,NULL),(259,NULL,1140116,5,1,1140100,'Retenciones de IIBB Formosa','Activo',NULL,1,2,1,0,0,1,NULL),(260,NULL,1140117,5,1,1140100,'Retenciones de IIBB Jujuy','Activo',NULL,1,2,1,0,0,1,NULL),(261,NULL,1140118,5,1,1140100,'Retenciones de IIBB La Pampa','Activo',NULL,1,2,1,0,0,1,NULL),(262,NULL,1140119,5,1,1140100,'Retenciones de IIBB La Rioja','Activo',NULL,1,2,1,0,0,1,NULL),(263,NULL,1140120,5,1,1140100,'Retenciones de IIBB Mendoza','Activo',NULL,1,2,1,0,0,1,NULL),(264,NULL,1140121,5,1,1140100,'Retenciones de IIBB Misiones','Activo',NULL,1,2,1,0,0,1,NULL),(265,NULL,1140122,5,1,1140100,'Retenciones de IIBB Neuquén','Activo',NULL,1,2,1,0,0,1,NULL),(266,NULL,1140123,5,1,1140100,'Retenciones de IIBB Pascua Lama','Activo',NULL,1,2,1,0,0,1,NULL),(267,NULL,1140124,5,1,1140100,'Retenciones de IIBB Río Negro','Activo',NULL,1,2,1,0,0,1,NULL),(268,NULL,1140125,5,1,1140100,'Retenciones de IIBB Salta','Activo',NULL,1,2,1,0,0,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (269,NULL,1140126,5,1,1140100,'Retenciones de IIBB San Juan','Activo',NULL,1,2,1,0,0,1,NULL),(270,NULL,1140127,5,1,1140100,'Retenciones de IIBB San Luis','Activo',NULL,1,2,1,0,0,1,NULL),(271,NULL,1140128,5,1,1140100,'Retenciones de IIBB Santa Cruz','Activo',NULL,1,2,1,0,0,1,NULL),(272,NULL,1140129,5,1,1140100,'Retenciones de IIBB Santa Fe','Activo',NULL,1,2,1,0,0,1,NULL),(273,NULL,1140130,5,1,1140100,'Retenciones de IIBB Santiago del Estero','Activo',NULL,1,2,1,0,0,1,NULL),(274,NULL,1140131,5,1,1140100,'Retenciones de IIBB Tierra del Fuego','Activo',NULL,1,2,1,0,0,1,NULL),(275,NULL,1140132,5,1,1140100,'Retenciones de IIBB Tucuman','Activo',NULL,1,2,1,0,0,1,NULL),(276,NULL,5140168,5,1,5140100,'SIRCREB Buenos Aires','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(277,NULL,5140139,5,1,5140100,'SIRCREB Capital Federal','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(278,NULL,5140140,5,1,5140100,'SIRCREB Catamarca','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(279,NULL,5140141,5,1,5140100,'SIRCREB Chaco','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(280,NULL,5140142,5,1,5140100,'SIRCREB Chubut','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(281,NULL,5140143,5,1,5140100,'SIRCREB Córdoba','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(282,NULL,5140144,5,1,5140100,'SIRCREB Corrientes','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(283,NULL,5140145,5,1,5140100,'SIRCREB Entre Ríos','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(284,NULL,5140146,5,1,5140100,'SIRCREB Formosa','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(285,NULL,5140147,5,1,5140100,'SIRCREB Jujuy','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(286,NULL,5140148,5,1,5140100,'SIRCREB La Pampa','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(287,NULL,5140149,5,1,5140100,'SIRCREB La Rioja','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(288,NULL,5140150,5,1,5140100,'SIRCREB Mendoza','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(289,NULL,5140151,5,1,5140100,'SIRCREB Misiones','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(290,NULL,5140152,5,1,5140100,'SIRCREB Neuquén','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(291,NULL,5140153,5,1,5140100,'SIRCREB Pascua Lama','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(292,NULL,5140154,5,1,5140100,'SIRCREB Río Negro','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(293,NULL,5140155,5,1,5140100,'SIRCREB Salta','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(294,NULL,5140156,5,1,5140100,'SIRCREB San Juan','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(295,NULL,5140157,5,1,5140100,'SIRCREB San Luis','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(296,NULL,5140158,5,1,5140100,'SIRCREB Santa Cruz','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(297,NULL,5140159,5,1,5140100,'SIRCREB Santa Fe','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(298,NULL,5140160,5,1,5140100,'SIRCREB Santiago del Estero','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(299,NULL,5140161,5,1,5140100,'SIRCREB Tierra del Fuego','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(300,NULL,5140162,5,1,5140100,'SIRCREB Tucuman','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(301,NULL,1140326,5,1,1140300,'IIBB a Favor Buenos Aires','Activo',NULL,1,2,0,0,0,1,NULL),(302,NULL,1140302,5,1,1140300,'IIBB a Favor Capital Federal','Activo',NULL,1,2,0,0,0,1,NULL),(303,NULL,1140303,5,1,1140300,'IIBB a Favor Catamarca','Activo',NULL,1,2,0,0,0,1,NULL),(304,NULL,1140304,5,1,1140300,'IIBB a Favor Chaco','Activo',NULL,1,2,0,0,0,1,NULL),(305,NULL,1140305,5,1,1140300,'IIBB a Favor Chubut','Activo',NULL,1,2,0,0,0,1,NULL),(306,NULL,1140306,5,1,1140300,'IIBB a Favor Córdoba','Activo',NULL,1,2,0,0,0,1,NULL),(307,NULL,1140307,5,1,1140300,'IIBB a Favor Corrientes','Activo',NULL,1,2,0,0,0,1,NULL),(308,NULL,1140308,5,1,1140300,'IIBB a Favor Entre Ríos','Activo',NULL,1,2,0,0,0,1,NULL),(309,NULL,1140309,5,1,1140300,'IIBB a Favor Formosa','Activo',NULL,1,2,0,0,0,1,NULL),(310,NULL,1140310,5,1,1140300,'IIBB a Favor Jujuy','Activo',NULL,1,2,0,0,0,1,NULL),(311,NULL,1140311,5,1,1140300,'IIBB a Favor La Pampa','Activo',NULL,1,2,0,0,0,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (312,NULL,1140312,5,1,1140300,'IIBB a Favor La Rioja','Activo',NULL,1,2,0,0,0,1,NULL),(313,NULL,1140313,5,1,1140300,'IIBB a Favor Mendoza','Activo',NULL,1,2,0,0,0,1,NULL),(314,NULL,1140314,5,1,1140300,'IIBB a Favor Misiones','Activo',NULL,1,2,0,0,0,1,NULL),(315,NULL,1140315,5,1,1140300,'IIBB a Favor Neuquén','Activo',NULL,1,2,0,0,0,1,NULL),(316,NULL,1140316,5,1,1140300,'IIBB a Favor Pascua Lama','Activo',NULL,1,2,0,0,0,1,NULL),(317,NULL,1140317,5,1,1140300,'IIBB a Favor Río Negro','Activo',NULL,1,2,0,0,0,1,NULL),(318,NULL,1140318,5,1,1140300,'IIBB a Favor Salta','Activo',NULL,1,2,0,0,0,1,NULL),(319,NULL,1140319,5,1,1140300,'IIBB a Favor San Juan','Activo',NULL,1,2,0,0,0,1,NULL),(320,NULL,1140320,5,1,1140300,'IIBB a Favor San Luis','Activo',NULL,1,2,0,0,0,1,NULL),(321,NULL,1140321,5,1,1140300,'IIBB a Favor Santa Cruz','Activo',NULL,1,2,0,0,0,1,NULL),(322,NULL,1140322,5,1,1140300,'IIBB a Favor Santa Fe','Activo',NULL,1,2,0,0,0,1,NULL),(323,NULL,1140323,5,1,1140300,'IIBB a Favor Santiago del Estero','Activo',NULL,1,2,0,0,0,1,NULL),(324,NULL,1140324,5,1,1140300,'IIBB a Favor Tierra del Fuego','Activo',NULL,1,2,0,0,0,1,NULL),(325,NULL,1140325,5,1,1140300,'IIBB a Favor Tucuman','Activo',NULL,1,2,0,0,0,1,NULL),(326,NULL,2110317,5,2,2110300,'IIBB a Pagar Buenos Aires','Pasivo',NULL,1,2,0,0,0,1,NULL),(327,NULL,2110318,5,2,2110300,'IIBB a Pagar Capital Federal','Pasivo',NULL,1,2,0,0,0,1,NULL),(328,NULL,2110319,5,2,2110300,'IIBB a Pagar Catamarca','Pasivo',NULL,1,2,0,0,0,1,NULL),(329,NULL,2110320,5,2,2110300,'IIBB a Pagar Chaco','Pasivo',NULL,1,2,0,0,0,1,NULL),(330,NULL,2110321,5,2,2110300,'IIBB a Pagar Chubut','Pasivo',NULL,1,2,0,0,0,1,NULL),(331,NULL,2110322,5,2,2110300,'IIBB a Pagar Córdoba','Pasivo',NULL,1,2,0,0,0,1,NULL),(332,NULL,2110323,5,2,2110300,'IIBB a Pagar Corrientes','Pasivo',NULL,1,2,0,0,0,1,NULL),(333,NULL,2110324,5,2,2110300,'IIBB a Pagar Entre Ríos','Pasivo',NULL,1,2,0,0,0,1,NULL),(334,NULL,2110325,5,2,2110300,'IIBB a Pagar Formosa','Pasivo',NULL,1,2,0,0,0,1,NULL),(335,NULL,2110326,5,2,2110300,'IIBB a Pagar Jujuy','Pasivo',NULL,1,2,0,0,0,1,NULL),(336,NULL,2110327,5,2,2110300,'IIBB a Pagar La Pampa','Pasivo',NULL,1,2,0,0,0,1,NULL),(337,NULL,2110328,5,2,2110300,'IIBB a Pagar La Rioja','Pasivo',NULL,1,2,0,0,0,1,NULL),(338,NULL,2110329,5,2,2110300,'IIBB a Pagar Mendoza','Pasivo',NULL,1,2,0,0,0,1,NULL),(339,NULL,2110330,5,2,2110300,'IIBB a Pagar Misiones','Pasivo',NULL,1,2,0,0,0,1,NULL),(340,NULL,2110331,5,2,2110300,'IIBB a Pagar Neuquén','Pasivo',NULL,1,2,0,0,0,1,NULL),(341,NULL,2110332,5,2,2110300,'IIBB a Pagar Pascua Lama','Pasivo',NULL,1,2,0,0,0,1,NULL),(342,NULL,2110333,5,2,2110300,'IIBB a Pagar Río Negro','Pasivo',NULL,1,2,0,0,0,1,NULL),(343,NULL,2110334,5,2,2110300,'IIBB a Pagar Salta','Pasivo',NULL,1,2,0,0,0,1,NULL),(344,NULL,2110335,5,2,2110300,'IIBB a Pagar San Juan','Pasivo',NULL,1,2,0,0,0,1,NULL),(345,NULL,2110336,5,2,2110300,'IIBB a Pagar San Luis','Pasivo',NULL,1,2,0,0,0,1,NULL),(346,NULL,2110337,5,2,2110300,'IIBB a Pagar Santa Cruz','Pasivo',NULL,1,2,0,0,0,1,NULL),(347,NULL,2110338,5,2,2110300,'IIBB a Pagar Santa Fe','Pasivo',NULL,1,2,0,0,0,1,NULL),(348,NULL,2110339,5,2,2110300,'IIBB a Pagar Santiago del Estero','Pasivo',NULL,1,2,0,0,0,1,NULL),(349,NULL,2110340,5,2,2110300,'IIBB a Pagar Tierra del Fuego','Pasivo',NULL,1,2,0,0,0,1,NULL),(350,NULL,2110341,5,2,2110300,'IIBB a Pagar Tucuman','Pasivo',NULL,1,2,0,0,0,1,NULL),(351,NULL,6110101,5,1,6110100,'BANCO SIRCREB','Movimiento',NULL,1,2,0,0,1,1,NULL),(352,NULL,6110102,5,1,6110100,'Compensacion','Movimiento',NULL,1,2,0,0,0,1,NULL),(353,NULL,1140327,5,1,1140300,'IVA Saldo Tecnico','Activo',NULL,1,2,0,0,0,1,NULL),(354,NULL,1140328,5,1,1140300,'IVA Saldo Libre Disponibilidad','Activo',NULL,1,2,0,0,0,1,NULL),(355,NULL,6000000,1,1,0,'Movimiento','Movimiento',NULL,1,1,0,0,0,0,NULL),(356,NULL,6100000,2,1,6000000,'Movimiento','Movimiento',NULL,1,1,0,0,0,0,NULL),(357,NULL,6110000,3,1,6100000,'Movimiento','Movimiento',NULL,1,1,0,0,0,0,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (358,NULL,4110000,3,2,4100000,'Ingresos Operativos','Result. Positivo',NULL,1,1,0,0,0,0,NULL),(359,NULL,1110120,5,1,1110100,'Caja en Pesos','Activo',NULL,1,2,1,1,1,0,NULL),(360,NULL,1140211,5,1,1140200,'Retenciones Bancarias de Ganancias a Favor','Activo',NULL,1,2,0,0,1,1,NULL),(361,NULL,1220104,5,1,1220100,'Equipos de Computación','Activo',NULL,1,1,0,0,0,1,NULL),(362,NULL,1220105,5,1,1220100,'Computadoras','Activo',NULL,1,1,0,0,0,1,NULL),(363,NULL,1220304,5,1,1220300,'Muebles y Utiles','Activo',NULL,1,1,0,0,0,1,NULL),(364,NULL,2110105,5,2,2110100,'Anticipo de Clientes','Pasivo',NULL,1,2,0,0,1,1,NULL),(365,NULL,2110401,5,2,2110400,'Provision Honorarios','Pasivo',NULL,1,1,0,0,0,1,NULL),(366,NULL,2110106,5,2,2110100,'Cta. Cte Directores','Pasivo',NULL,1,1,0,0,0,1,NULL),(367,NULL,2110107,5,2,2110100,'Provisión Honorarios Directores','Pasivo',NULL,1,1,0,0,0,1,NULL),(368,NULL,2110110,5,2,2110100,'Cuenta Particular Socio 1','Pasivo',NULL,1,1,0,0,0,1,NULL),(369,NULL,3110104,5,2,3110100,'Capital','Patrimonio Neto',NULL,1,1,0,0,0,1,NULL),(370,NULL,1120000,3,1,1100000,'INVERSIONES','Activo',NULL,1,1,0,0,0,0,NULL),(371,NULL,1160000,3,1,1100000,'OTROS ACTIVOS','Activo',NULL,1,1,0,0,0,0,NULL),(372,NULL,1160100,4,1,1160000,'OTROS','Activo',NULL,1,1,0,0,0,0,NULL),(373,NULL,2110400,4,2,2110000,'Provision de Honorarios','Pasivo',NULL,1,1,0,0,0,0,NULL),(374,NULL,3410100,4,1,3410000,'RESULTADOS ACUMULADOS','Patrimonio Neto',NULL,1,1,0,0,0,0,NULL),(375,NULL,3420000,3,1,3400000,'GANACIAS RESERVADAS','Patrimonio Neto',NULL,1,1,0,0,0,0,NULL),(376,NULL,3420100,4,1,3420000,'Rerva Legal','Patrimonio Neto',NULL,1,1,0,0,0,0,NULL),(377,NULL,1220400,4,1,1220000,'INMUEBLES','Activo',NULL,1,1,0,0,0,0,NULL),(378,NULL,1220500,4,1,1220000,'RODADOS','Activo',NULL,1,1,0,0,0,0,NULL),(379,NULL,1220600,4,1,1220000,'MAQUINARIAS','Activo',NULL,1,1,0,0,0,0,NULL),(380,NULL,1220204,5,1,1220200,'Instalaciones','Activo',NULL,1,1,0,0,0,1,NULL),(381,NULL,3420101,5,2,3420100,'Reserva Legal','Patrimonio Neto',NULL,1,1,0,0,0,1,NULL),(382,NULL,3420102,5,2,3420100,'Reserva Legal','Patrimonio Neto',NULL,1,1,0,0,0,1,NULL),(383,NULL,3410105,5,2,3410100,'Resultado no asignado','Patrimonio Neto',NULL,1,1,0,0,0,1,NULL),(384,NULL,1110121,5,1,1110100,'Caja en Dolares','Activo',NULL,1,2,1,1,1,0,NULL),(385,NULL,1120100,4,1,1120000,'TEMPORARIAS','Activo',NULL,1,1,0,0,0,0,NULL),(386,NULL,1120101,5,1,1120100,'PLAZO FIJO','Activo',NULL,1,1,0,0,0,1,NULL),(387,NULL,1120200,4,1,1120000,'PERMANENTES','Activo',NULL,1,1,0,0,0,0,NULL),(388,NULL,1120201,5,1,1120200,'ACCIONES','Activo',NULL,1,1,0,0,0,1,NULL),(389,NULL,1220401,5,1,1220400,'Inmuebles','Activo',NULL,1,1,0,0,0,1,NULL),(390,NULL,1220501,5,1,1220500,'Vehiculos','Activo',NULL,1,1,0,0,0,1,NULL),(391,NULL,1220601,5,1,1220600,'Maquinarias','Activo',NULL,1,1,0,0,0,1,NULL),(392,NULL,1150401,5,1,1150400,'MERCADERIAS','Activo',NULL,1,1,0,0,0,1,NULL),(393,NULL,1160101,5,1,1160100,'OTROS','Activo',NULL,1,1,0,0,0,1,NULL),(394,NULL,1230100,4,1,1230000,'INTANGIBLES','Activo',NULL,1,1,0,0,0,0,NULL),(395,NULL,2110119,5,2,2110100,'Cuenta Particular Socio 2','Pasivo',NULL,1,1,0,0,0,1,NULL),(396,NULL,5120160,5,1,5120100,'Comisiones Y gastos Bancarios','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(397,NULL,4110100,4,2,4110000,'Ingresos Operativos','Result. Positivo',NULL,1,1,0,0,0,0,NULL),(398,NULL,4120100,4,2,4120000,'OTROS INGRESOS','Result. Positivo',NULL,1,1,0,0,0,0,NULL),(399,NULL,5110000,3,1,5100000,'GASTOS ORDINARIOS','Result. Negativo',NULL,1,1,0,0,0,0,NULL),(400,NULL,5120000,3,1,5100000,'GASTOS DE OPERACION','Result. Negativo',NULL,1,1,0,0,0,0,NULL),(401,NULL,5130000,3,1,5100000,'GASTOS DE OPERACION','Result. Negativo',NULL,1,1,0,0,0,0,NULL),(402,NULL,5140000,3,1,5100000,'GASTOS DE OPERACION','Result. Negativo',NULL,1,1,0,0,0,0,NULL),(403,NULL,5210000,3,1,5200000,'GASTOS EXTRAORDINARIOS','Result. Negativo',NULL,1,1,0,0,0,0,NULL),(404,NULL,5210100,4,1,5210000,'GASTOS EXTRAORDINARIOS','Result. Negativo',NULL,1,1,0,0,0,0,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (405,NULL,6110100,4,1,6110000,'Movimiento','Movimiento',NULL,1,1,0,0,0,0,NULL),(406,NULL,1130100,4,1,1130000,'Operaciones Ordinarias','Activo',NULL,1,1,0,0,0,0,NULL),(407,NULL,3110000,3,2,3100000,'CAPITAL SOCIAL','Patrimonio Neto',NULL,1,1,0,0,0,0,NULL),(408,NULL,3410000,3,2,3400000,'RESULTADOS ANTERIORES','Patrimonio Neto',NULL,1,1,0,0,0,0,NULL),(409,NULL,5110101,5,2,5110000,'IVA Crédito Fiscal No computable','Result. Negativo',NULL,1,2,0,0,1,1,NULL),(410,NULL,1110203,5,1,1110200,'Banco ICBC Cta. Cte.','Activo',NULL,1,2,1,1,1,0,NULL),(411,NULL,2110342,5,2,2110300,'Provisión Impuesto a las Ganancias','Pasivo',NULL,1,1,0,0,0,1,NULL),(412,NULL,5120107,5,2,5120000,'Amortización Muebles y Útiles','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(413,NULL,5120102,5,2,5120000,'Amortización Equipos','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(414,NULL,1220109,5,1,1220100,'Amortizacion Acumulada Equipos','Activo',NULL,1,1,0,0,0,1,NULL),(415,NULL,1220602,5,1,1220600,'Amortización Acumulada Maquinarias','Activo',NULL,1,1,0,0,0,1,NULL),(416,NULL,1160102,5,1,1160100,'Materias Primas','Activo',NULL,1,1,0,0,0,1,NULL),(417,NULL,1110204,5,1,1110200,'Banco Itaú Cta. Cte.','Activo',NULL,1,2,1,1,1,0,NULL),(418,NULL,2110113,5,2,2110100,'Deudas Bancarias','Pasivo',NULL,1,2,0,1,1,1,NULL),(419,NULL,1220502,5,1,1220500,'Rodados','Activo',NULL,1,1,0,0,0,1,NULL),(420,NULL,1220503,5,1,1220500,'Amortización Acumulada Rodados','Activo',NULL,1,1,0,0,0,1,NULL),(421,NULL,5120105,5,2,5120000,'Amortización Rodados','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(422,NULL,5120109,5,2,5120000,'Amortización Maquinarias','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(423,NULL,1220504,5,1,1220500,'Accesorios','Activo',NULL,1,1,0,0,0,1,NULL),(424,NULL,1220505,5,1,1220500,'Amortización Acumulada Accesorios','Activo',NULL,1,1,0,0,0,1,NULL),(425,NULL,1110205,5,1,1110200,'Banco Galicia Cta. Cte.','Activo',NULL,1,2,1,1,1,0,NULL),(426,NULL,3420101,5,2,3420000,'Reserva Facultativa','Patrimonio Neto',NULL,1,1,0,0,0,1,NULL),(427,NULL,1140212,5,1,1140200,'Créditos por Impuestos Diferidos','Activo',NULL,1,1,0,0,0,1,NULL),(428,NULL,1160103,5,1,1160100,'Fondo de Comercio','Activo',NULL,1,1,0,0,0,1,NULL),(429,NULL,1160104,5,1,1160100,'Amortizacion Acumulada Fondo de Comercio','Activo',NULL,1,1,0,0,0,1,NULL),(430,NULL,1140213,5,1,1140200,'Intereses a devengar AGIP','Activo',NULL,1,1,0,0,0,1,NULL),(431,NULL,2110343,5,2,2110300,'PFP IIBB','Pasivo',NULL,1,1,0,0,0,1,NULL),(432,NULL,1140330,5,1,1140300,'Pago a Cuenta ITC','Activo',NULL,1,2,0,0,0,1,NULL),(433,NULL,2110114,5,2,2110100,'Préstamo','Pasivo',NULL,1,2,0,1,1,1,NULL),(434,NULL,1160106,5,1,1160100,'Productos','Activo',NULL,1,1,0,0,0,1,NULL),(435,NULL,2110345,5,2,2110300,'Intereses a devengar PFP','Pasivo',NULL,1,1,0,0,0,1,NULL),(436,NULL,1110206,5,1,1110200,'Banco Provincia Cta. Cte.','Activo',NULL,1,2,1,1,1,0,NULL),(437,NULL,1140215,5,1,1140200,'Imp. Ley 25413 Cred 0.6%','Activo',NULL,1,1,0,0,0,1,NULL),(438,NULL,2110402,5,2,2110400,'Honorarios Directorio a Pagar','Pasivo',NULL,1,1,0,0,0,1,NULL),(439,NULL,3110101,5,2,3110100,'Reserva para Futuras Inversiones','Patrimonio Neto',NULL,1,1,0,0,0,1,NULL),(440,NULL,1130106,5,1,1130100,'TEAC - Trabajos Ejecutados a Certificar','Activo',NULL,1,1,0,0,0,1,NULL),(441,NULL,2110115,5,2,2110100,'Leasing','Pasivo',NULL,1,2,0,1,1,1,NULL),(442,NULL,1110207,5,1,1110200,'Banco Comafi Cta. Cte','Activo',NULL,1,2,1,1,1,0,NULL),(443,NULL,2110500,4,2,2110000,'Deudas Financieras','Pasivo',NULL,1,1,0,0,0,0,NULL),(444,NULL,2110501,5,2,2110500,'Banco Santander Rio Cta Cte','Pasivo',NULL,1,1,0,0,0,1,NULL),(446,NULL,2210000,3,2,2200000,'Deudas','Pasivo',NULL,1,1,0,0,0,0,NULL),(447,NULL,2210100,4,2,2210000,'Otras Deudas','Pasivo',NULL,1,1,0,0,0,0,NULL),(448,NULL,2210101,5,2,2210100,'Planes de Pagos AFIP','Pasivo',NULL,1,2,0,1,1,1,NULL),(449,NULL,2110502,5,2,2110500,'Leasing','Pasivo',NULL,1,1,0,0,0,1,NULL),(450,NULL,6110101,5,1,6110000,'Cheques Rechazados','Movimiento',NULL,1,2,0,0,1,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (451,NULL,1110208,5,1,1110200,'Banco Patagonia Taxes Software','Activo',NULL,1,2,1,1,1,0,NULL),(452,NULL,1110209,5,1,1110200,'Banco Macro Cta. Cte.','Activo',NULL,1,2,1,1,1,0,NULL),(453,NULL,1120202,5,1,1120200,'Inversión Central Caribe','Activo',NULL,1,1,0,0,0,1,NULL),(454,NULL,1120102,5,1,1120100,'Otras Inversiones','Activo',NULL,1,1,0,0,0,1,NULL),(455,NULL,1140216,5,1,1140200,'Otros Créditos','Activo',NULL,1,1,0,0,0,1,NULL),(456,NULL,2110403,5,2,2110400,'Provisión Honorarios Socio Gerente','Pasivo',NULL,1,1,0,0,0,1,NULL),(457,NULL,1110210,5,1,1110200,'Cheque Diferido Banco Santander Rio','Activo',NULL,1,2,1,1,1,0,NULL),(458,NULL,1110211,5,1,1110200,'Cheque Diferido Banco Macro','Activo',NULL,1,2,1,1,1,0,NULL),(459,NULL,2110204,5,2,2110200,'Moratoria SUSS a pagar','Pasivo',NULL,1,1,0,0,0,1,NULL),(460,NULL,2110344,5,2,2110300,'Impuestos Municipales a Pagar','Pasivo',NULL,1,1,0,0,0,1,NULL),(461,NULL,5110103,5,2,5110000,'Amortización Instalaciones','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(462,NULL,5120110,5,2,5120000,'Amortización Equipos de comput.','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(463,NULL,2110118,5,2,2110100,'Cuenta Particular Socio 3','Pasivo',NULL,1,1,0,0,0,1,NULL),(464,NULL,2110120,5,2,2110100,'Cuenta Particular Socio 4','Pasivo',NULL,1,1,0,0,0,1,NULL),(465,NULL,3110102,5,2,3110100,'Otras Reservas','Patrimonio Neto',NULL,1,1,0,0,0,1,NULL),(466,NULL,1140331,5,1,1140300,'IGMP (Saldo a Favor)','Activo',NULL,1,1,0,0,0,1,NULL),(467,NULL,5110104,5,2,5110000,'Interés','Result. Negativo',NULL,1,2,0,0,1,1,NULL),(468,NULL,1150402,5,1,1150400,'Productos en Proceso','Activo',NULL,1,1,0,0,0,1,NULL),(469,NULL,2110205,5,2,2110200,'Depósitos en Garantía Socio Gerente','Pasivo',NULL,1,1,0,0,0,1,NULL),(470,NULL,2110346,5,2,2110300,'Fondos Embargados','Pasivo',NULL,1,1,0,0,0,1,NULL),(471,NULL,2110347,5,2,2110300,'Cuota Solid.','Pasivo',NULL,1,1,0,0,0,1,NULL),(472,NULL,1140332,5,1,1140300,'Anticipo Honorarios Directores','Activo',NULL,1,1,0,0,0,1,NULL),(473,NULL,2110348,5,2,2110300,'SICORE a Pagar','Pasivo',NULL,1,1,0,0,0,1,NULL),(474,NULL,1110212,5,1,1110200,'Banco Credicoop Cta. Cte.','Activo',NULL,1,2,1,1,1,0,NULL),(475,NULL,1110213,5,1,1110200,'Banco Superville Cta. Cte.','Activo',NULL,1,2,1,1,1,0,NULL),(476,NULL,5110105,5,2,5110000,'RECPAM','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(477,NULL,1110125,5,1,1110100,'Caja Reales','Activo',NULL,1,2,1,1,1,0,NULL),(478,NULL,5140169,5,1,5140100,'CO2 - Imp. Al Carbono','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(479,NULL,1140300,4,1,1140000,'Anticipo de Impuestos','Activo',NULL,1,1,0,0,0,0,NULL),(480,NULL,2110600,4,2,2110000,'Retenciones Efectuadas','Pasivo',NULL,1,1,0,0,0,0,NULL),(481,NULL,4200000,2,2,4000000,'INGRESOS EXTRAORDINARIOS','Result. Positivo',NULL,1,1,0,0,0,0,NULL),(1001,NULL,5140170,5,1,5140100,'SIRTAC Córdoba','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1002,NULL,5140171,5,1,5140100,'SIRTAC Corrientes','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1003,NULL,5140172,5,1,5140100,'SIRTAC Chaco','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1004,NULL,5140173,5,1,5140100,'SIRTAC Chubut','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1005,NULL,5140174,5,1,5140100,'SIRTAC Entre Ríos','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1006,NULL,5140175,5,1,5140100,'SIRTAC Formosa','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1007,NULL,5140176,5,1,5140100,'SIRTAC Jujuy','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1008,NULL,5140177,5,1,5140100,'SIRTAC La Pampa','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1009,NULL,5140178,5,1,5140100,'SIRTAC La Rioja','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1010,NULL,5140179,5,1,5140100,'SIRTAC Mendoza','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1011,NULL,5140180,5,1,5140100,'SIRTAC Misiones','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1012,NULL,5140181,5,1,5140100,'SIRTAC Neuquén','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1013,NULL,5140182,5,1,5140100,'SIRTAC Río Negro','Result. Negativo',NULL,1,2,0,0,0,1,NULL);
INSERT INTO `conta_plan_cuenta` VALUES (1014,NULL,5140183,5,1,5140100,'SIRTAC Salta','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1015,NULL,5140184,5,1,5140100,'SIRTAC San Juan','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1016,NULL,5140185,5,1,5140100,'SIRTAC San Luis','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1017,NULL,5140186,5,1,5140100,'SIRTAC Santa Cruz','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1018,NULL,5140187,5,1,5140100,'SIRTAC Santa Fe','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1019,NULL,5140188,5,1,5140100,'SIRTAC Santiago del Estero','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1020,NULL,5140189,5,1,5140100,'SIRTAC Tierra del Fuego','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1021,NULL,5140190,5,1,5140100,'SIRTAC Tucuman','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1022,NULL,5140191,5,1,5140100,'SIRTAC Capital Federal','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1023,NULL,5140192,5,1,5140100,'SIRTAC Buenos Aires','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1024,NULL,5140193,5,1,5140100,'SIRTAC Catamarca','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1025,NULL,5140194,5,1,5140100,'SIRTAC Pascua Lama','Result. Negativo',NULL,1,2,0,0,0,1,NULL),(1026,NULL,6110104,5,1,6110100,'BANCO SIRTAC','Movimiento',NULL,1,2,0,0,1,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=25 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:10:54','2023-10-16 21:10:54',NULL,20);

--
-- 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 `cta_cte_cliente`
--

CREATE TABLE `cta_cte_cliente` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned 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,
  `total` decimal(16,2) NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(9,2) NOT NULL DEFAULT '1.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_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=345 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_cliente` VALUES (1,3904,2,40720,40721,13,1530,1,0,'2020-12-11',4361.91,1,1.00,'Factura A N°: 0004-00000031',NULL,'2021-07-04 02:18:56','2021-07-04 02:29:16','2021-07-04 02:29:16'),(2,3904,2,40720,40721,13,1530,1,0,'2020-12-12',3555.34,1,1.00,'Factura A N°: 0004-00000032',NULL,'2021-07-04 02:18:56','2021-07-04 02:29:16','2021-07-04 02:29:16'),(3,3904,2,40720,40722,13,1530,1,0,'2020-12-14',2375.80,1,1.00,'Factura B N°: 0004-00000024',NULL,'2021-07-04 02:18:56','2021-07-04 02:29:16','2021-07-04 02:29:16'),(4,3904,2,40720,40723,13,1530,1,0,'2020-12-14',1383.51,1,1.00,'Factura B N°: 0004-00000025',NULL,'2021-07-04 02:18:56','2021-07-04 02:29:16','2021-07-04 02:29:16'),(5,3904,2,40720,40724,13,1530,1,0,'2020-12-14',1460.80,1,1.00,'Factura B N°: 0004-00000026',NULL,'2021-07-04 02:18:56','2021-07-04 02:29:16','2021-07-04 02:29:16'),(6,3904,2,40720,40725,13,1530,1,0,'2020-12-14',630.00,1,1.00,'Factura B N°: 0004-00000027',NULL,'2021-07-04 02:18:56','2021-07-04 02:29:16','2021-07-04 02:29:16'),(7,3904,2,40720,40726,13,1530,1,0,'2020-12-14',3756.63,1,1.00,'Factura B N°: 0004-00000028',NULL,'2021-07-04 02:18:56','2021-07-04 02:29:16','2021-07-04 02:29:16'),(8,3904,2,40720,40727,13,1530,1,0,'2020-12-15',3981.70,1,1.00,'Factura B N°: 0004-00000029',NULL,'2021-07-04 02:18:56','2021-07-04 02:29:16','2021-07-04 02:29:16'),(9,3904,2,40720,40728,13,1530,1,0,'2020-12-29',40340.13,1,1.00,'Factura B N°: 0004-00000030',NULL,'2021-07-04 02:18:56','2021-07-04 02:29:16','2021-07-04 02:29:16'),(10,3904,3,40720,40729,57,1530,2,0,'2020-12-09',348.17,1,1.00,'Factura A N°: 0006-00005899',NULL,'2021-07-04 02:24:53','2021-07-04 02:28:42','2021-07-04 02:28:42'),(11,3904,3,40720,40730,57,1530,2,0,'2020-12-09',180000.00,1,1.00,'Factura A N°: 0002-00004101',NULL,'2021-07-04 02:24:53','2021-07-04 02:28:42','2021-07-04 02:28:42'),(12,3904,3,40720,40731,57,1530,2,0,'2020-12-10',2002.35,1,1.00,'Factura A N°: 0006-09609327',NULL,'2021-07-04 02:24:53','2021-07-04 02:28:42','2021-07-04 02:28:42'),(13,3904,3,40720,40730,57,1530,2,0,'2020-12-11',180000.00,1,1.00,'Factura A N°: 0002-00004107',NULL,'2021-07-04 02:24:53','2021-07-04 02:28:42','2021-07-04 02:28:42'),(14,3904,3,40720,40730,57,1530,2,0,'2020-12-14',180000.00,1,1.00,'Factura A N°: 0002-00004124',NULL,'2021-07-04 02:24:53','2021-07-04 02:28:42','2021-07-04 02:28:42'),(15,3904,3,40720,40732,57,1530,2,0,'2020-12-16',127.05,1,1.00,'Nota de débito A N°: 0004-00017621',NULL,'2021-07-04 02:24:53','2021-07-04 02:28:42','2021-07-04 02:28:42'),(16,3904,3,40720,40730,57,1530,2,0,'2020-12-17',220000.00,1,1.00,'Factura A N°: 0002-00004138',NULL,'2021-07-04 02:24:53','2021-07-04 02:28:42','2021-07-04 02:28:42'),(17,3904,3,40720,40733,57,1530,2,0,'2020-12-18',5408.70,1,1.00,'Factura A N°: 0017-00030168',NULL,'2021-07-04 02:24:53','2021-07-04 02:28:42','2021-07-04 02:28:42'),(18,3904,3,40720,40733,57,1530,2,0,'2020-12-18',25047.00,1,1.00,'Factura A N°: 0017-00030167',NULL,'2021-07-04 02:24:53','2021-07-04 02:28:42','2021-07-04 02:28:42'),(19,3904,3,40720,40730,57,1530,2,0,'2020-12-20',220000.00,1,1.00,'Factura A N°: 0002-00004150',NULL,'2021-07-04 02:24:53','2021-07-04 02:28:42','2021-07-04 02:28:42'),(20,3904,3,40720,40734,57,1530,2,0,'2020-12-21',36838.21,1,1.00,'Factura A N°: 0003-00034912',NULL,'2021-07-04 02:24:53','2021-07-04 02:28:42','2021-07-04 02:28:42'),(21,3904,3,40720,40734,57,1530,2,0,'2020-12-21',4447.09,1,1.00,'Factura A N°: 0003-00034914',NULL,'2021-07-04 02:24:53','2021-07-04 02:28:42','2021-07-04 02:28:42'),(22,3904,3,40720,40729,57,1530,2,0,'2020-12-22',8799.43,1,1.00,'Factura A N°: 0006-00005989',NULL,'2021-07-04 02:24:53','2021-07-04 02:28:42','2021-07-04 02:28:42'),(23,3904,3,40720,40735,57,1530,2,0,'2020-12-22',1200.08,1,1.00,'Factura A N°: 0005-00011084',NULL,'2021-07-04 02:24:54','2021-07-04 02:28:42','2021-07-04 02:28:42'),(24,3904,3,40720,40729,57,1530,2,0,'2020-12-29',3867.82,1,1.00,'Factura A N°: 0006-00006034',NULL,'2021-07-04 02:24:54','2021-07-04 02:28:42','2021-07-04 02:28:42');
INSERT INTO `cta_cte_cliente` VALUES (25,3904,3,40720,40730,57,1530,2,0,'2020-12-29',220000.00,1,1.00,'Factura A N°: 0002-00004157',NULL,'2021-07-04 02:24:54','2021-07-04 02:28:42','2021-07-04 02:28:42'),(26,3904,3,40720,40733,57,1530,2,0,'2020-12-31',34557.60,1,1.00,'Factura A N°: 0017-00030222',NULL,'2021-07-04 02:24:54','2021-07-04 02:28:42','2021-07-04 02:28:42'),(30,3904,2,40720,40721,13,1530,1,0,'2020-12-11',4361.91,1,1.00,'Factura A N°: 0004-00000031',NULL,'2021-07-04 02:33:17','2021-07-04 02:33:17',NULL),(31,3904,2,40720,40721,13,1530,1,0,'2020-12-12',3555.34,1,1.00,'Factura A N°: 0004-00000032',NULL,'2021-07-04 02:33:17','2021-07-04 02:33:17',NULL),(32,3904,2,40720,40722,13,1530,1,0,'2020-12-14',2375.80,1,1.00,'Factura B N°: 0004-00000024',NULL,'2021-07-04 02:33:17','2021-07-04 02:33:17',NULL),(33,3904,2,40720,40723,13,1530,1,0,'2020-12-14',1383.51,1,1.00,'Factura B N°: 0004-00000025',NULL,'2021-07-04 02:33:17','2021-07-04 02:33:17',NULL),(34,3904,2,40720,40724,13,1530,1,0,'2020-12-14',1460.80,1,1.00,'Factura B N°: 0004-00000026',NULL,'2021-07-04 02:33:17','2021-07-04 02:33:17',NULL),(35,3904,2,40720,40725,13,1530,1,0,'2020-12-14',630.00,1,1.00,'Factura B N°: 0004-00000027',NULL,'2021-07-04 02:33:17','2021-07-04 02:33:17',NULL),(36,3904,2,40720,40726,13,1530,1,0,'2020-12-14',3756.63,1,1.00,'Factura B N°: 0004-00000028',NULL,'2021-07-04 02:33:17','2021-07-04 02:33:17',NULL),(37,3904,2,40720,40727,13,1530,1,0,'2020-12-15',3981.70,1,1.00,'Factura B N°: 0004-00000029',NULL,'2021-07-04 02:33:17','2021-07-04 02:33:17',NULL),(38,3904,2,40720,40728,13,1530,1,0,'2020-12-29',40340.13,1,1.00,'Factura B N°: 0004-00000030',NULL,'2021-07-04 02:33:17','2021-07-04 02:33:17',NULL),(39,3904,3,40720,40729,57,1530,2,0,'2020-12-01',9105.49,1,1.00,'Factura A N°: 0006-00005867',NULL,'2021-07-04 02:35:02','2021-07-04 02:35:02',NULL),(40,3904,3,40720,40729,57,1530,2,0,'2020-12-09',348.17,1,1.00,'Factura A N°: 0006-00005899',NULL,'2021-07-04 02:35:02','2021-07-04 02:35:02',NULL),(41,3904,3,40720,40730,57,1530,2,0,'2020-12-09',180000.00,1,1.00,'Factura A N°: 0002-00004101',NULL,'2021-07-04 02:35:02','2021-07-04 02:35:02',NULL),(42,3904,3,40720,40731,57,1530,2,0,'2020-12-10',2002.35,1,1.00,'Factura A N°: 0006-09609327',NULL,'2021-07-04 02:35:02','2021-07-04 21:11:11','2021-07-04 21:11:11'),(43,3904,3,40720,40730,57,1530,2,0,'2020-12-11',180000.00,1,1.00,'Factura A N°: 0002-00004107',NULL,'2021-07-04 02:35:02','2021-07-04 02:35:02',NULL),(44,3904,3,40720,40730,57,1530,2,0,'2020-12-14',180000.00,1,1.00,'Factura A N°: 0002-00004124',NULL,'2021-07-04 02:35:02','2021-07-04 02:35:02',NULL),(45,3904,3,40720,40732,57,1530,2,0,'2020-12-16',127.05,1,1.00,'Nota de débito A N°: 0004-00017621',NULL,'2021-07-04 02:35:02','2021-07-04 02:35:02',NULL),(46,3904,3,40720,40730,57,1530,2,0,'2020-12-17',220000.00,1,1.00,'Factura A N°: 0002-00004138',NULL,'2021-07-04 02:35:02','2021-07-04 02:35:02',NULL),(47,3904,3,40720,40733,57,1530,2,0,'2020-12-18',5408.70,1,1.00,'Factura A N°: 0017-00030168',NULL,'2021-07-04 02:35:02','2021-07-04 02:35:02',NULL),(48,3904,3,40720,40733,57,1530,2,0,'2020-12-18',25047.00,1,1.00,'Factura A N°: 0017-00030167',NULL,'2021-07-04 02:35:02','2021-07-04 02:35:02',NULL),(49,3904,3,40720,40730,57,1530,2,0,'2020-12-20',220000.00,1,1.00,'Factura A N°: 0002-00004150',NULL,'2021-07-04 02:35:02','2021-07-04 02:35:02',NULL),(50,3904,3,40720,40734,57,1530,2,0,'2020-12-21',36838.21,1,1.00,'Factura A N°: 0003-00034912',NULL,'2021-07-04 02:35:02','2021-07-04 21:11:34','2021-07-04 21:11:34'),(51,3904,3,40720,40734,57,1530,2,0,'2020-12-21',4447.09,1,1.00,'Factura A N°: 0003-00034914',NULL,'2021-07-04 02:35:02','2021-07-04 02:35:02',NULL),(52,3904,3,40720,40729,57,1530,2,0,'2020-12-22',8799.43,1,1.00,'Factura A N°: 0006-00005989',NULL,'2021-07-04 02:35:02','2021-07-04 02:35:02',NULL),(53,3904,3,40720,40735,57,1530,2,0,'2020-12-22',1200.08,1,1.00,'Factura A N°: 0005-00011084',NULL,'2021-07-04 02:35:02','2021-07-04 02:35:02',NULL);
INSERT INTO `cta_cte_cliente` VALUES (54,3904,3,40720,40729,57,1530,2,0,'2020-12-29',3867.82,1,1.00,'Factura A N°: 0006-00006034',NULL,'2021-07-04 02:35:02','2021-07-04 21:10:40','2021-07-04 21:10:40'),(55,3904,3,40720,40730,57,1530,2,0,'2020-12-29',220000.00,1,1.00,'Factura A N°: 0002-00004157',NULL,'2021-07-04 02:35:03','2021-07-04 02:35:03',NULL),(56,3904,3,40720,40733,57,1530,2,0,'2020-12-31',34557.60,1,1.00,'Factura A N°: 0017-00030222',NULL,'2021-07-04 02:35:03','2021-07-04 02:35:03',NULL),(57,3904,3,40720,40729,57,1530,2,0,'2020-12-29',3867.82,1,1.00,'Factura A N°: 0006-00006034',NULL,'2021-07-04 21:10:40','2021-07-04 21:10:40',NULL),(58,3904,3,40720,40731,57,1530,2,0,'2020-12-10',2002.35,1,1.00,'Factura A N°: 0006-09609327',NULL,'2021-07-04 21:11:11','2021-07-04 21:11:11',NULL),(59,3904,3,40720,40734,57,1530,2,0,'2020-12-21',36838.21,1,1.00,'Factura A N°: 0003-00034912',NULL,'2021-07-04 21:11:34','2021-07-04 21:11:34',NULL),(60,3904,3,40753,40754,57,30316,2,0,'2021-03-01',1791.20,1,1.00,'Factura A N°: 0004-00018895',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(61,3904,3,40753,40755,57,30316,1,0,'2021-03-02',16118.62,1,1.00,'Nota de crédito A N°: 0020-00005100',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(62,3904,3,40753,40755,57,30316,2,0,'2021-03-02',16097.94,1,1.00,'Factura A N°: 0020-00033974',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(63,3904,3,40753,40755,57,30316,2,0,'2021-03-02',16118.62,1,1.00,'Factura A N°: 0020-00033973',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(64,3904,3,40753,40756,57,30316,2,0,'2021-03-02',2971.90,1,1.00,'Factura A N°: 0035-00043513',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(65,3904,3,40753,40757,57,30316,2,0,'2021-03-05',39898.00,1,1.00,'Factura C N°: 0002-00018194',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(66,3904,3,40753,40758,57,30316,2,0,'2021-03-09',10853.00,1,1.00,'Factura A N°: 0008-00019605',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(67,3904,3,40753,40759,57,30316,2,0,'2021-03-09',2612.86,1,1.00,'Factura A N°: 0010-00004690',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(68,3904,3,40753,40759,57,30316,1,0,'2021-03-09',2060.11,1,1.00,'Nota de crédito A N°: 0010-00000144',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(69,3904,3,40753,40760,57,30316,2,0,'2021-03-09',180800.00,1,1.00,'Factura A N°: 0002-00004118',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(70,3904,3,40753,40761,57,30316,2,0,'2021-03-10',65298.97,1,1.00,'Factura A N°: 0004-00001585',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(71,3904,3,40753,40758,57,30316,2,0,'2021-03-11',10856.15,1,1.00,'Factura A N°: 0008-00019647',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(72,3904,3,40753,40758,57,30316,1,0,'2021-03-11',10853.00,1,1.00,'Nota de crédito A N°: 0008-00001699',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(73,3904,3,40753,40762,57,30316,1,0,'2021-03-12',29970.15,1,1.00,'Nota de crédito A N°: 0011-00001314',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(74,3904,3,40753,40761,57,30316,2,0,'2021-03-12',18750.36,1,1.00,'Factura A N°: 0004-00001587',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(75,3904,3,40753,40763,57,30316,2,0,'2021-03-13',389.64,1,1.00,'Factura A N°: 0006-00010487',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(76,3904,3,40753,40764,57,30316,2,0,'2021-03-15',2640.03,1,1.00,'Factura A N°: 0003-00001156',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(77,3904,3,40753,40762,57,30316,2,0,'2021-03-16',56757.89,1,1.00,'Factura A N°: 0011-00005392',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22');
INSERT INTO `cta_cte_cliente` VALUES (78,3904,3,40753,40759,57,30316,2,0,'2021-03-16',2597.45,1,1.00,'Factura A N°: 0010-00004790',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(79,3904,3,40753,40765,57,30316,2,0,'2021-03-19',13052.74,1,1.00,'Factura A N°: 1043-01463298',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(80,3904,3,40753,40766,57,30316,2,0,'2021-03-22',21999.98,1,1.00,'Factura A N°: 0002-00000159',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(81,3904,3,40753,40767,57,30316,2,0,'2021-03-22',436.82,1,1.00,'Factura A N°: 0014-00102810',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(82,3904,3,40753,40767,57,30316,2,0,'2021-03-22',4228.74,1,1.00,'Factura A N°: 0014-00102828',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(83,3904,3,40753,40768,57,30316,2,0,'2021-03-25',140170.00,1,1.00,'Factura A N°: 0006-00013259',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(84,3904,3,40753,40758,57,30316,2,0,'2021-03-26',9562.97,1,1.00,'Factura A N°: 0008-00019801',NULL,'2021-07-14 02:55:04','2021-07-14 03:01:22','2021-07-14 03:01:22'),(85,3904,3,40753,40767,57,30316,2,0,'2021-03-29',6181.53,1,1.00,'Factura A N°: 0014-00103096',NULL,'2021-07-14 02:55:05','2021-07-14 03:01:22','2021-07-14 03:01:22'),(86,3904,3,40753,40769,57,30316,2,0,'2021-03-29',87161.75,1,1.00,'Factura B N°: 0005-00000311',NULL,'2021-07-14 02:55:05','2021-07-14 03:01:22','2021-07-14 03:01:22'),(87,3904,3,40753,40770,57,30316,2,0,'2021-03-30',2100.00,1,1.00,'Factura B N°: 0011-00093724',NULL,'2021-07-14 02:55:05','2021-07-14 03:01:22','2021-07-14 03:01:22'),(88,3904,3,40753,40762,57,30316,1,0,'2021-03-30',15892.20,1,1.00,'Nota de crédito A N°: 0011-00001429',NULL,'2021-07-14 02:55:05','2021-07-14 03:01:22','2021-07-14 03:01:22'),(89,3904,3,40753,40762,57,30316,2,0,'2021-03-30',23490.56,1,1.00,'Factura A N°: 0011-00005603',NULL,'2021-07-14 02:55:05','2021-07-14 03:01:23','2021-07-14 03:01:23'),(90,3904,3,40753,40757,57,30316,2,0,'2021-03-31',39898.00,1,1.00,'Factura C N°: 0002-00018558',NULL,'2021-07-14 02:55:05','2021-07-14 03:01:23','2021-07-14 03:01:23'),(91,3904,3,40753,40771,57,30316,2,0,'2021-03-31',3802.49,1,1.00,'Factura A N°: 2671-00000005',NULL,'2021-07-14 02:55:05','2021-07-14 03:01:23','2021-07-14 03:01:23'),(92,3904,2,40753,40772,13,30316,1,0,'2021-03-03',20000.09,1,1.00,'Factura A N°: 0003-00001352',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(93,3904,2,40753,40773,13,30316,1,0,'2021-03-04',1200078.00,1,1.00,'Factura A N°: 0003-00001353',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(94,3904,2,40753,40774,13,30316,1,0,'2021-03-05',3666.30,1,1.00,'Factura A N°: 0003-00001354',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(95,3904,2,40753,40772,13,30316,1,0,'2021-03-10',20000.09,1,1.00,'Factura A N°: 0003-00001355',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(96,3904,2,40753,40775,13,30316,1,0,'2021-03-10',10629.85,1,1.00,'Factura A N°: 0003-00001356',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(97,3904,2,40753,40776,13,30316,1,0,'2021-03-12',61200.00,1,1.00,'Factura B N°: 0003-00000153',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(98,3904,2,40753,40772,13,30316,1,0,'2021-03-16',20000.09,1,1.00,'Factura A N°: 0003-00001357',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(99,3904,2,40753,40774,13,30316,1,0,'2021-03-16',27007.20,1,1.00,'Factura A N°: 0003-00001358',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(100,3904,2,40753,40777,13,30316,1,0,'2021-03-17',1753996.28,1,1.00,'Factura A N°: 0003-00001359',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(101,3904,2,40753,40772,13,30316,1,0,'2021-03-18',20000.09,1,1.00,'Factura A N°: 0003-00001360',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(102,3904,2,40753,40778,13,30316,1,0,'2021-03-18',25028.85,1,1.00,'Factura A N°: 0003-00001361',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL);
INSERT INTO `cta_cte_cliente` VALUES (103,3904,2,40753,40779,13,30316,1,0,'2021-03-18',2182646.40,1,1.00,'Factura A N°: 0003-00001362',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(104,3904,2,40753,40780,13,30316,1,0,'2021-03-19',266400.00,1,1.00,'Factura B N°: 0003-00000154',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(105,3904,2,40753,40781,13,30316,1,0,'2021-03-22',47056.90,1,1.00,'Factura A N°: 0003-00001363',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(106,3904,2,40753,40772,13,30316,1,0,'2021-03-22',20000.09,1,1.00,'Factura A N°: 0003-00001364',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(107,3904,2,40753,40782,13,30316,1,0,'2021-03-22',6388.80,1,1.00,'Factura A N°: 0003-00001365',NULL,'2021-07-14 02:55:52','2021-07-14 02:55:52',NULL),(108,3904,2,40753,40772,13,30316,1,0,'2021-03-29',20000.09,1,1.00,'Factura A N°: 0003-00001366',NULL,'2021-07-14 02:55:53','2021-07-14 02:55:53',NULL),(109,3904,2,40753,40783,13,30316,1,0,'2021-03-29',9680.00,1,1.00,'Factura A N°: 0003-00001367',NULL,'2021-07-14 02:55:53','2021-07-14 02:55:53',NULL),(110,3904,2,40753,40784,13,30316,1,0,'2021-03-31',19965.00,1,1.00,'Factura A N°: 0003-00001368',NULL,'2021-07-14 02:55:53','2021-07-14 02:55:53',NULL),(111,3904,3,40753,40754,57,30316,2,0,'2021-03-01',1791.20,1,1.00,'Factura A N°: 0004-00018895',NULL,'2021-07-14 03:02:09','2021-07-14 03:02:09',NULL),(112,3904,3,40753,40755,57,30316,1,0,'2021-03-02',16118.62,1,1.00,'Nota de crédito A N°: 0020-00005100',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(113,3904,3,40753,40755,57,30316,2,0,'2021-03-02',16097.94,1,1.00,'Factura A N°: 0020-00033974',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(114,3904,3,40753,40755,57,30316,2,0,'2021-03-02',16118.62,1,1.00,'Factura A N°: 0020-00033973',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(115,3904,3,40753,40756,57,30316,2,0,'2021-03-02',2971.90,1,1.00,'Factura A N°: 0035-00043513',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(116,3904,3,40753,40757,57,30316,2,0,'2021-03-05',39898.00,1,1.00,'Factura C N°: 0002-00018194',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(117,3904,3,40753,40758,57,30316,2,0,'2021-03-09',10853.00,1,1.00,'Factura A N°: 0008-00019605',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(118,3904,3,40753,40759,57,30316,2,0,'2021-03-09',2612.86,1,1.00,'Factura A N°: 0010-00004690',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(119,3904,3,40753,40759,57,30316,1,0,'2021-03-09',2060.11,1,1.00,'Nota de crédito A N°: 0010-00000144',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(120,3904,3,40753,40760,57,30316,2,0,'2021-03-09',180800.00,1,1.00,'Factura A N°: 0002-00004118',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(121,3904,3,40753,40761,57,30316,2,0,'2021-03-10',65298.97,1,1.00,'Factura A N°: 0004-00001585',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(122,3904,3,40753,40758,57,30316,2,0,'2021-03-11',10856.15,1,1.00,'Factura A N°: 0008-00019647',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(123,3904,3,40753,40758,57,30316,1,0,'2021-03-11',10853.00,1,1.00,'Nota de crédito A N°: 0008-00001699',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(124,3904,3,40753,40762,57,30316,1,0,'2021-03-12',29970.15,1,1.00,'Nota de crédito A N°: 0011-00001314',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(125,3904,3,40753,40761,57,30316,2,0,'2021-03-12',18750.36,1,1.00,'Factura A N°: 0004-00001587',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(126,3904,3,40753,40763,57,30316,2,0,'2021-03-13',389.64,1,1.00,'Factura A N°: 0006-00010487',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(127,3904,3,40753,40764,57,30316,2,0,'2021-03-15',2640.03,1,1.00,'Factura A N°: 0003-00001156',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(128,3904,3,40753,40762,57,30316,2,0,'2021-03-16',56757.89,1,1.00,'Factura A N°: 0011-00005392',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL);
INSERT INTO `cta_cte_cliente` VALUES (129,3904,3,40753,40759,57,30316,2,0,'2021-03-16',2597.45,1,1.00,'Factura A N°: 0010-00004790',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(130,3904,3,40753,40765,57,30316,2,0,'2021-03-19',13052.74,1,1.00,'Factura A N°: 1043-01463298',NULL,'2021-07-14 03:02:10','2021-07-14 03:02:10',NULL),(131,3904,3,40753,40766,57,30316,2,0,'2021-03-22',21999.98,1,1.00,'Factura A N°: 0002-00000159',NULL,'2021-07-14 03:02:11','2021-07-14 03:02:11',NULL),(132,3904,3,40753,40767,57,30316,2,0,'2021-03-22',436.82,1,1.00,'Factura A N°: 0014-00102810',NULL,'2021-07-14 03:02:11','2021-07-14 03:02:11',NULL),(133,3904,3,40753,40767,57,30316,2,0,'2021-03-22',4228.74,1,1.00,'Factura A N°: 0014-00102828',NULL,'2021-07-14 03:02:11','2021-07-14 03:02:11',NULL),(134,3904,3,40753,40768,57,30316,2,0,'2021-03-25',140170.00,1,1.00,'Factura A N°: 0006-00013259',NULL,'2021-07-14 03:02:11','2021-07-14 03:02:11',NULL),(135,3904,3,40753,40758,57,30316,2,0,'2021-03-26',9562.97,1,1.00,'Factura A N°: 0008-00019801',NULL,'2021-07-14 03:02:11','2021-07-14 03:02:11',NULL),(136,3904,3,40753,40767,57,30316,2,0,'2021-03-29',6181.53,1,1.00,'Factura A N°: 0014-00103096',NULL,'2021-07-14 03:02:11','2021-07-14 03:02:11',NULL),(137,3904,3,40753,40769,57,30316,2,0,'2021-03-29',87161.75,1,1.00,'Factura B N°: 0005-00000311',NULL,'2021-07-14 03:02:11','2021-07-14 03:02:11',NULL),(138,3904,3,40753,40770,57,30316,2,0,'2021-03-30',2100.00,1,1.00,'Factura B N°: 0011-00093724',NULL,'2021-07-14 03:02:11','2021-07-14 03:02:11',NULL),(139,3904,3,40753,40762,57,30316,1,0,'2021-03-30',15892.20,1,1.00,'Nota de crédito A N°: 0011-00001429',NULL,'2021-07-14 03:02:11','2021-07-14 03:02:11',NULL),(140,3904,3,40753,40762,57,30316,2,0,'2021-03-30',23490.56,1,1.00,'Factura A N°: 0011-00005603',NULL,'2021-07-14 03:02:11','2021-07-14 03:02:11',NULL),(141,3904,3,40753,40757,57,30316,2,0,'2021-03-31',39898.00,1,1.00,'Factura C N°: 0002-00018558',NULL,'2021-07-14 03:02:11','2021-07-14 03:02:11',NULL),(142,3904,3,40753,40771,57,30316,2,0,'2021-03-31',3802.49,1,1.00,'Factura A N°: 2671-00000005',NULL,'2021-07-14 03:02:11','2021-07-14 03:02:11',NULL),(143,3904,3,40719,40796,57,27,2,0,'2022-10-03',19320.00,1,1.00,'Factura A N°: 0003-00000233',NULL,'2022-10-14 11:48:13','2022-10-17 06:40:07','2022-10-17 06:40:07'),(144,3904,3,40719,40796,57,27,2,0,'2022-10-03',23350.00,1,1.00,'Factura A N°: 0003-00000232',NULL,'2022-10-14 11:52:59','2022-10-14 12:02:17','2022-10-14 12:02:17'),(145,3904,3,40719,40796,57,27,2,0,'2022-09-30',23350.00,1,1.00,'Factura A N°: 0003-00000232',NULL,'2022-10-14 12:02:17','2022-10-17 06:40:10','2022-10-17 06:40:10'),(146,3904,3,40793,40798,57,39652,2,0,'2022-09-22',33284.07,1,1.00,'Factura A N°: 0050-00007095',NULL,'2022-10-16 09:03:04','2022-10-16 09:03:04',NULL),(147,3904,3,40793,40799,57,39652,2,0,'2022-09-06',3499.94,1,1.00,'Factura A N°: 0002-00009091',NULL,'2022-10-16 09:05:24','2022-10-16 09:05:24',NULL),(148,3904,3,40793,40799,57,39652,2,0,'2022-09-06',37670.11,1,1.00,'Factura A N°: 0002-00009089',NULL,'2022-10-16 09:08:47','2022-10-16 09:08:47',NULL),(149,3904,3,40793,40799,57,39652,2,0,'2022-09-09',5815.01,1,1.00,'Factura A N°: 0002-00009133',NULL,'2022-10-16 09:09:34','2022-10-16 09:09:34',NULL),(150,3904,3,40793,40799,57,39652,2,0,'2022-09-28',9847.03,1,1.00,'Factura A N°: 0002-00009326',NULL,'2022-10-16 09:10:22','2022-10-16 09:10:22',NULL),(151,3904,3,40793,40800,57,39652,2,0,'2022-09-01',20515.45,1,1.00,'Factura A N°: 0010-00042065',NULL,'2022-10-16 09:13:20','2022-10-16 09:13:20',NULL),(152,3904,3,40793,40801,57,39652,2,0,'2022-09-07',3705.69,1,1.00,'Factura A N°: 0003-00003319',NULL,'2022-10-16 09:14:28','2022-10-16 09:14:28',NULL),(153,3904,3,40793,40803,57,39652,2,0,'2022-09-17',5000.00,1,1.00,'Factura A N°: 0083-00013455',NULL,'2022-10-16 09:21:50','2022-10-16 09:21:50',NULL),(154,3904,3,40793,40803,57,39652,2,0,'2022-09-25',4999.99,1,1.00,'Factura A N°: 0082-00023389',NULL,'2022-10-16 09:23:28','2022-10-16 09:23:28',NULL);
INSERT INTO `cta_cte_cliente` VALUES (155,3904,3,40793,40803,57,39652,2,0,'2022-09-09',5230.01,1,1.00,'Factura A N°: 0058-00006544',NULL,'2022-10-16 09:28:00','2022-10-16 09:28:00',NULL),(156,3904,3,40793,40803,57,39652,2,0,'2022-09-13',3999.96,1,1.00,'Factura A N°: 0082-00022888',NULL,'2022-10-16 09:30:38','2022-10-16 09:30:38',NULL),(157,3904,3,40793,40803,57,39652,2,0,'2022-09-04',3999.96,1,1.00,'Factura A N°: 0083-00013068',NULL,'2022-10-16 09:31:33','2022-10-16 09:31:33',NULL),(158,3904,3,40793,40802,57,39652,2,0,'2022-09-15',15516.38,1,1.00,'Factura A N°: 14623-00000115',NULL,'2022-10-16 09:46:28','2022-10-16 09:46:28',NULL),(159,3904,3,40793,40802,57,39652,2,0,'2022-09-17',34021.29,1,1.00,'Factura A N°: 12804-00000108',NULL,'2022-10-17 06:28:35','2022-10-17 06:28:35',NULL),(160,3904,3,40793,40802,57,39652,2,0,'2022-09-15',2899.07,1,1.00,'Factura A N°: 14623-00000114',NULL,'2022-10-17 06:33:40','2022-10-17 06:33:40',NULL),(161,3904,3,40793,40802,57,39652,2,0,'2022-09-15',15913.42,1,1.00,'Factura A N°: 18062-00000459',NULL,'2022-10-17 06:35:29','2022-10-17 06:35:29',NULL),(162,3904,3,40793,40802,57,39653,2,0,'2022-10-03',44603.39,1,1.00,'Factura A N°: 12834-00000055',NULL,'2022-10-17 06:37:16','2022-10-17 06:37:16',NULL),(163,3904,3,40793,40796,57,39652,2,0,'2022-09-30',23350.00,1,1.00,'Factura A N°: 0003-00000232',NULL,'2022-10-17 06:41:07','2022-10-17 06:41:07',NULL),(164,3904,3,40793,40796,57,39653,2,0,'2022-10-03',19320.00,1,1.00,'Factura A N°: 0003-00000233',NULL,'2022-10-17 06:41:52','2022-10-17 06:41:52',NULL),(165,3904,3,40793,40802,57,39652,2,0,'2022-09-01',23457.29,1,1.00,'Factura A N°: 12806-00000447',NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(166,3904,3,40793,40802,57,39652,2,0,'2022-09-05',19364.17,1,1.00,'Factura A N°: 12804-00000080',NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(167,3904,3,40793,40804,57,39652,2,0,'2022-09-05',4477.00,1,1.00,'Factura A N°: 0101-00003792',NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(168,3904,3,40793,40729,57,39652,2,0,'2022-09-06',3573.57,1,1.00,'Factura A N°: 0006-00012476',NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(169,3904,3,40793,40805,57,39652,2,0,'2022-09-08',12500.00,1,1.00,'Factura C N°: 0002-00000643',NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(170,3904,3,40793,40806,57,39652,2,0,'2022-09-09',19360.00,1,1.00,'Factura A N°: 0001-00000345',NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(171,3904,3,40793,40802,57,39652,2,0,'2022-09-15',15913.42,1,1.00,'Factura A N°: 12806-00000459',NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(172,3904,3,40793,40797,57,39652,2,0,'2022-09-16',41054.17,1,1.00,'Factura A N°: 0005-00039179',NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(173,3904,3,40793,40802,57,39652,2,0,'2022-09-17',10369.02,1,1.00,'Factura A N°: 12804-00000105',NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(174,3904,3,40793,40807,57,39652,2,0,'2022-09-21',48791.99,1,1.00,'Factura A N°: 0003-00000083',NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(175,3904,3,40793,40802,57,39652,2,0,'2022-09-29',27667.03,1,1.00,'Factura A N°: 12805-00000006',NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(176,3904,3,40793,40808,57,39652,2,0,'2022-09-29',77799.94,1,1.00,'Factura A N°: 0001-00000025',NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(177,3904,3,40793,40800,57,39652,2,0,'2022-09-29',27280.79,1,1.00,'Factura A N°: 0010-00043439',NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(178,3904,3,40793,40797,57,39652,2,0,'2022-09-30',0.00,1,1.00,'Factura A N°: 0005-00039570',NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(179,3904,3,40793,40802,57,39651,2,0,'2022-08-01',35108.93,1,1.00,'Factura A N°: 12804-00000022',NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(180,3904,3,40793,40806,57,39651,2,0,'2022-08-01',13552.00,1,1.00,'Factura A N°: 0001-00000284',NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL);
INSERT INTO `cta_cte_cliente` VALUES (181,3904,3,40793,40796,57,39651,2,0,'2022-08-01',32590.00,1,1.00,'Factura A N°: 0003-00000192',NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(182,3904,3,40793,40804,57,39651,2,0,'2022-08-04',4477.00,1,1.00,'Factura A N°: 0101-00003708',NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(183,3904,3,40793,40806,57,39651,2,0,'2022-08-05',15488.00,1,1.00,'Factura A N°: 0001-00000289',NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(184,3904,3,40793,40799,57,39651,2,0,'2022-08-06',3849.34,1,1.00,'Factura A N°: 0002-00008773',NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(185,3904,3,40793,40802,57,39651,2,0,'2022-08-08',31854.33,1,1.00,'Factura A N°: 14623-00000060',NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(186,3904,3,40793,40809,57,39651,2,0,'2022-08-09',128356.80,1,1.00,'Factura M N°: 0003-00000008',NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(187,3904,3,40793,40797,57,39651,2,0,'2022-08-10',30657.71,1,1.00,'Factura A N°: 0005-00038049',NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(188,3904,3,40793,40729,57,39651,2,0,'2022-08-10',3018.76,1,1.00,'Factura A N°: 0006-00012047',NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(189,3904,3,40793,40796,57,39651,2,0,'2022-08-10',19370.00,1,1.00,'Factura A N°: 0003-00000204',NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(190,3904,3,40793,40802,57,39651,2,0,'2022-08-15',42628.91,1,1.00,'Factura A N°: 12808-00000166',NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(191,3904,3,40793,40810,57,39651,2,0,'2022-08-15',3999.99,1,1.00,'Factura A N°: 0008-00001271',NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(192,3904,3,40793,40797,57,39651,2,0,'2022-08-17',66604.95,1,1.00,'Factura A N°: 0005-00038259',NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(193,3904,3,40793,40797,57,39651,2,0,'2022-08-17',82102.62,1,1.00,'Factura A N°: 0005-00038260',NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(194,3904,3,40793,40799,57,39651,1,0,'2022-08-17',10500.00,1,1.00,'Nota de crédito A N°: 0002-00000084',NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(195,3904,3,40793,40799,57,39651,2,0,'2022-08-17',21770.05,1,1.00,'Factura A N°: 0002-00008882',NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(196,3904,3,40793,40811,57,39651,2,0,'2022-08-19',80000.00,1,1.00,'Factura A N°: 0004-00007225',NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(197,3904,3,40793,40802,57,39651,2,0,'2022-08-22',61262.95,1,1.00,'Factura A N°: 12806-00000436',NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(198,3904,3,40793,40807,57,39651,2,0,'2022-08-24',35625.00,1,1.00,'Factura B N°: 0003-00000261',NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(199,3904,3,40793,40799,57,39651,2,0,'2022-08-24',15710.02,1,1.00,'Factura A N°: 0002-00008952',NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(200,3904,3,40793,40810,57,39651,2,0,'2022-08-26',9939.98,1,1.00,'Factura A N°: 0008-00001279',NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(201,3904,3,40793,40809,57,39651,2,0,'2022-08-28',134258.60,1,1.00,'Factura M N°: 0003-00000014',NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(202,3904,3,40793,40808,57,39651,2,0,'2022-08-29',68699.97,1,1.00,'Factura A N°: 0001-00000016',NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(203,3904,3,40793,40796,57,39651,2,0,'2022-08-29',57229.99,1,1.00,'Factura A N°: 0003-00000212',NULL,'2022-11-04 15:35:07','2022-11-04 15:35:07',NULL),(204,3904,3,40793,40798,57,39651,2,0,'2022-08-30',65509.92,1,1.00,'Factura A N°: 0050-00006137',NULL,'2022-11-04 15:35:07','2022-11-04 15:35:07',NULL),(205,3904,3,40793,40799,57,39651,2,0,'2022-08-30',5640.00,1,1.00,'Factura A N°: 0002-00009016',NULL,'2022-11-04 15:35:07','2022-11-04 15:35:07',NULL),(206,3904,3,40793,40797,57,39651,2,0,'2022-08-31',37257.49,1,1.00,'Factura A N°: 0005-00038665',NULL,'2022-11-04 15:35:07','2022-11-04 15:35:07',NULL);
INSERT INTO `cta_cte_cliente` VALUES (207,3904,3,40793,40812,57,44267,2,0,'2022-06-01',3991.43,1,1.00,'Factura A N°: 0018-00000430',NULL,'2022-11-04 15:47:24','2022-11-04 15:47:24',NULL),(208,3904,3,40793,40813,57,44267,2,0,'2022-06-02',2667.33,1,1.00,'Factura B N°: 0003-00149470',NULL,'2022-11-04 15:47:24','2022-11-04 15:47:24',NULL),(209,3904,3,40793,40798,57,44267,2,0,'2022-06-03',60764.91,1,1.00,'Factura A N°: 0050-00002477',NULL,'2022-11-04 15:47:24','2022-11-04 15:47:24',NULL),(210,3904,3,40793,40804,57,44267,2,0,'2022-06-07',4477.00,1,1.00,'Factura A N°: 0101-00003548',NULL,'2022-11-04 15:47:24','2022-11-04 15:47:24',NULL),(211,3904,3,40793,40798,57,44267,2,0,'2022-06-22',71882.96,1,1.00,'Factura A N°: 0050-00003205',NULL,'2022-11-04 15:47:24','2022-11-04 15:47:24',NULL),(212,3904,3,40793,40814,57,44267,2,0,'2022-06-30',52300.36,1,1.00,'Factura A N°: 0005-00000278',NULL,'2022-11-04 15:47:24','2022-11-04 15:47:24',NULL),(213,3904,3,40793,40812,57,44268,2,0,'2022-07-04',2051.99,1,1.00,'Factura A N°: 0018-00000851',NULL,'2022-11-04 15:48:38','2022-11-04 15:48:38',NULL),(214,3904,3,40793,40804,57,44268,2,0,'2022-07-05',4477.00,1,1.00,'Factura A N°: 0101-00003630',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(215,3904,3,40793,40797,57,44268,2,0,'2022-07-06',33120.55,1,1.00,'Factura A N°: 0005-00036969',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(216,3904,3,40793,40806,57,44268,2,0,'2022-07-08',7744.00,1,1.00,'Factura A N°: 0001-00000278',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(217,3904,3,40793,40809,57,44268,2,0,'2022-07-11',41803.37,1,1.00,'Factura M N°: 0003-00000003',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(218,3904,3,40793,40809,57,44268,2,0,'2022-07-11',34904.74,1,1.00,'Factura M N°: 0003-00000002',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(219,3904,3,40793,40797,57,44268,2,0,'2022-07-13',24654.02,1,1.00,'Factura A N°: 0005-00037123',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(220,3904,3,40793,40797,57,44268,2,0,'2022-07-13',35711.94,1,1.00,'Factura A N°: 0005-00037124',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(221,3904,3,40793,40809,57,44268,2,0,'2022-07-13',18835.39,1,1.00,'Factura M N°: 0003-00000004',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(222,3904,3,40793,40799,57,44268,2,0,'2022-07-14',12050.08,1,1.00,'Factura A N°: 0002-00008522',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(223,3904,3,40793,40802,57,44268,2,0,'2022-07-18',35318.95,1,1.00,'Factura A N°: 12810-00000318',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(224,3904,3,40793,40797,57,44268,2,0,'2022-07-20',35711.94,1,1.00,'Factura A N°: 0005-00037370',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(225,3904,3,40793,40797,57,44268,2,0,'2022-07-20',1.33,1,1.00,'Factura A N°: 0005-00037372',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(226,3904,3,40793,40797,57,44268,2,0,'2022-07-20',97598.25,1,1.00,'Factura A N°: 0005-00037371',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(227,3904,3,40793,40806,57,44268,2,0,'2022-07-20',30976.00,1,1.00,'Factura A N°: 0001-00000279',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(228,3904,3,40793,40799,57,44268,2,0,'2022-07-21',14925.52,1,1.00,'Factura A N°: 0002-00008605',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(229,3904,3,40793,40802,57,44268,2,0,'2022-07-22',16024.13,1,1.00,'Factura A N°: 14623-00000026',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(230,3904,3,40793,40798,57,44268,2,0,'2022-07-22',61806.87,1,1.00,'Factura A N°: 0050-00004419',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(231,3904,3,40793,40802,57,44268,2,0,'2022-07-25',38143.87,1,1.00,'Factura A N°: 12804-00000006',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(232,3904,3,40793,40802,57,44268,2,0,'2022-07-25',15245.56,1,1.00,'Factura A N°: 12836-00000104',NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL);
INSERT INTO `cta_cte_cliente` VALUES (233,3904,3,40793,40808,57,44268,2,0,'2022-07-28',54499.94,1,1.00,'Factura A N°: 0001-00000008',NULL,'2022-11-04 15:48:40','2022-11-04 15:48:40',NULL),(234,3904,3,40793,40799,57,44268,2,0,'2022-07-28',12430.01,1,1.00,'Factura A N°: 0002-00008678',NULL,'2022-11-04 15:48:40','2022-11-04 15:48:40',NULL),(235,3904,3,40793,40796,57,44268,2,0,'2022-07-29',17329.99,1,1.00,'Factura A N°: 0003-00000190',NULL,'2022-11-04 15:48:40','2022-11-04 15:48:40',NULL),(236,3904,3,40793,40796,57,44268,2,0,'2022-07-30',25369.99,1,1.00,'Factura A N°: 0003-00000191',NULL,'2022-11-04 15:48:40','2022-11-04 15:48:40',NULL),(237,3904,3,40787,40815,57,35062,2,0,'2021-09-02',113256.00,1,1.00,'Factura A N°: 0004-00000506',NULL,'2022-11-22 18:24:22','2022-11-22 18:25:32','2022-11-22 18:25:32'),(238,3904,3,40787,40815,57,35062,2,0,'2021-09-08',110508.39,1,1.00,'Factura A N°: 0004-00000507',NULL,'2022-11-22 18:24:22','2022-11-22 18:25:32','2022-11-22 18:25:32'),(239,3904,3,40787,40815,57,35062,2,0,'2021-09-08',148375.04,1,1.00,'Factura A N°: 0004-00000508',NULL,'2022-11-22 18:24:22','2022-11-22 18:25:32','2022-11-22 18:25:32'),(240,3904,3,40787,40815,57,35062,1,0,'2021-09-08',150311.04,1,1.00,'Nota de crédito A N°: 0004-00000025',NULL,'2022-11-22 18:24:22','2022-11-22 18:25:32','2022-11-22 18:25:32'),(241,3904,3,40787,40815,57,35062,2,0,'2021-09-22',111211.10,1,1.00,'Factura A N°: 0004-00000509',NULL,'2022-11-22 18:24:22','2022-11-22 18:25:32','2022-11-22 18:25:32'),(242,3904,3,40787,40815,57,35062,2,0,'2021-09-27',110202.87,1,1.00,'Factura A N°: 0004-00000510',NULL,'2022-11-22 18:24:22','2022-11-22 18:24:58','2022-11-22 18:24:58'),(243,3904,3,40787,40816,57,35062,2,0,'2021-09-27',106662.71,1,1.00,'Factura A N°: 0004-00000511',NULL,'2022-11-22 18:24:22','2022-11-22 18:24:52','2022-11-22 18:24:52'),(244,3904,2,40787,40815,13,35062,1,0,'2021-09-02',113256.00,1,1.00,'Factura A N°: 0004-00000506',NULL,'2022-11-22 18:26:03','2022-11-22 18:26:03',NULL),(245,3904,2,40787,40815,13,35062,1,0,'2021-09-08',110508.39,1,1.00,'Factura A N°: 0004-00000507',NULL,'2022-11-22 18:26:03','2022-11-22 18:26:03',NULL),(246,3904,2,40787,40815,13,35062,1,0,'2021-09-08',148375.04,1,1.00,'Factura A N°: 0004-00000508',NULL,'2022-11-22 18:26:03','2022-11-22 18:26:03',NULL),(247,3904,2,40787,40815,13,35062,2,0,'2021-09-08',150311.04,1,1.00,'Nota de crédito A N°: 0004-00000025',NULL,'2022-11-22 18:26:03','2022-11-22 18:26:03',NULL),(248,3904,2,40787,40815,13,35062,1,0,'2021-09-22',111211.10,1,1.00,'Factura A N°: 0004-00000509',NULL,'2022-11-22 18:26:03','2022-11-22 18:26:03',NULL),(249,3904,2,40787,40815,13,35062,1,0,'2021-09-27',110202.87,1,1.00,'Factura A N°: 0004-00000510',NULL,'2022-11-22 18:26:03','2022-11-22 18:26:03',NULL),(250,3904,2,40787,40816,13,35062,1,0,'2021-09-27',106662.71,1,1.00,'Factura A N°: 0004-00000511',NULL,'2022-11-22 18:26:03','2022-11-22 18:26:03',NULL),(251,3904,3,40787,40817,57,35062,2,0,'2021-09-13',43750.00,1,1.00,'Factura A N°: 0001-00007253',NULL,'2022-11-22 18:35:43','2022-11-22 18:35:43',NULL),(252,3904,3,40787,40817,57,35062,2,0,'2021-09-20',354000.00,1,1.00,'Factura A N°: 0001-00007314',NULL,'2022-11-22 18:35:43','2022-11-22 18:35:43',NULL),(253,3904,3,40787,40818,57,35062,2,0,'2021-09-27',1900.00,1,1.00,'Factura B N°: 0003-00112163',NULL,'2022-11-22 18:35:43','2022-11-22 18:35:43',NULL),(254,3904,3,40790,40819,57,36639,2,0,'2022-11-26',1500.08,1,1.00,'Factura A N°: 0001-00013899',NULL,'2023-01-09 19:41:14','2023-01-09 19:41:14',NULL),(255,3904,3,40790,40819,57,36639,2,0,'2022-11-28',1500.08,1,1.00,'Factura A N°: 0001-00013935',NULL,'2023-01-09 19:42:18','2023-01-09 19:42:18',NULL),(256,3904,3,40790,40819,57,36639,2,0,'2022-11-12',1500.08,1,1.00,'Factura A N°: 0001-00013696',NULL,'2023-01-09 19:43:16','2023-01-09 19:43:16',NULL),(257,3904,3,40790,40819,57,36639,2,0,'2022-11-27',805.46,1,1.00,'Factura A N°: 0001-00013912',NULL,'2023-01-09 19:48:27','2023-01-09 19:48:27',NULL);
INSERT INTO `cta_cte_cliente` VALUES (258,3904,3,40790,40819,57,36639,2,0,'2022-11-30',749.84,1,1.00,'Factura A N°: 0001-00013958',NULL,'2023-01-09 19:49:15','2023-01-09 19:49:15',NULL),(259,3904,3,40790,40819,57,36639,2,0,'2022-11-23',2000.24,1,1.00,'Factura A N°: 0001-00013853',NULL,'2023-01-09 21:04:09','2023-01-09 21:04:09',NULL),(260,3904,3,40790,40819,57,36639,2,0,'2022-11-09',1401.01,1,1.00,'Factura A N°: 0001-00013652',NULL,'2023-01-09 21:05:11','2023-01-09 21:05:11',NULL),(261,3904,3,40790,40819,57,36639,2,0,'2022-11-09',1600.00,1,1.00,'Factura A N°: 0001-00013650',NULL,'2023-01-09 21:06:13','2023-01-09 21:06:13',NULL),(262,3904,3,40790,40819,57,36639,2,0,'2022-11-22',1587.08,1,1.00,'Factura A N°: 0001-00013834',NULL,'2023-01-09 21:12:17','2023-01-09 21:12:17',NULL),(263,3904,3,40790,40819,57,36639,2,0,'2022-11-19',1500.41,1,1.00,'Factura A N°: 0001-00013799',NULL,'2023-01-09 21:12:59','2023-01-09 21:12:59',NULL),(264,3904,3,40790,40819,57,36639,2,0,'2022-11-15',1505.04,1,1.00,'Factura A N°: 0001-00013744',NULL,'2023-01-09 21:13:47','2023-01-09 21:13:47',NULL),(265,3904,3,40790,40819,57,36639,2,0,'2022-11-17',2000.65,1,1.00,'Factura A N°: 0001-00013767',NULL,'2023-01-09 21:14:17','2023-01-09 21:14:17',NULL),(266,3904,3,40790,40819,57,36639,2,0,'2022-11-17',1500.75,1,1.00,'Factura A N°: 0001-00013772',NULL,'2023-01-09 21:15:50','2023-01-09 21:15:50',NULL),(267,3904,3,40790,40819,57,36639,2,0,'2022-11-14',1501.23,1,1.00,'Factura A N°: 0001-00013723',NULL,'2023-01-09 21:16:37','2023-01-09 21:16:37',NULL),(268,3904,3,40790,40819,57,36639,2,0,'2022-11-15',1500.41,1,1.00,'Factura A N°: 0001-00013740',NULL,'2023-01-09 21:18:04','2023-01-09 21:18:04',NULL),(269,3904,3,40790,40819,57,36639,2,0,'2022-11-05',2002.57,1,1.00,'Factura A N°: 0001-00013598',NULL,'2023-01-09 21:18:37','2023-01-09 21:18:37',NULL),(270,3904,3,40790,40820,57,36639,2,0,'2022-11-07',3299.82,1,1.00,'Factura A N°: 0002-00004671',NULL,'2023-01-09 21:19:50','2023-01-09 21:19:50',NULL),(271,3904,3,40790,40820,57,36639,2,0,'2022-11-08',3899.81,1,1.00,'Factura A N°: 0002-00004681',NULL,'2023-01-09 21:20:18','2023-01-09 21:20:18',NULL),(272,3904,3,40790,40820,57,36639,2,0,'2022-11-10',4300.06,1,1.00,'Factura A N°: 0002-00004687',NULL,'2023-01-09 21:21:47','2023-01-09 21:21:47',NULL),(273,3904,3,40790,40821,57,36639,2,0,'2022-11-06',5000.06,1,1.00,'Factura A N°: 0020-00048463',NULL,'2023-01-09 21:23:38','2023-01-09 21:23:38',NULL),(274,3904,3,40790,40822,57,36639,2,0,'2022-11-01',41679.00,1,1.00,'Factura C N°: 0098-01366336',NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(275,3904,3,40790,40823,57,36639,2,0,'2022-11-05',2666.26,1,1.00,'Factura A N°: 0004-00002253',NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(276,3904,3,40790,40824,57,36639,2,0,'2022-11-09',7072.00,1,1.00,'Factura A N°: 0007-00020190',NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(277,3904,3,40790,40825,57,36639,2,0,'2022-11-10',22719.14,1,1.00,'Factura B N°: 1934-00011744',NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(278,3904,3,40790,40826,57,36639,2,0,'2022-11-15',11149.98,1,1.00,'Factura A N°: 0003-00004804',NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(279,3904,3,40790,40823,57,36639,2,0,'2022-11-16',2383.75,1,1.00,'Factura A N°: 0004-00002389',NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(280,3904,3,40790,40827,57,36639,2,0,'2022-11-16',9050.00,1,1.00,'Factura A N°: 0005-00001615',NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(281,3904,3,40790,40827,57,36639,2,0,'2022-11-18',7450.00,1,1.00,'Factura A N°: 0005-00001630',NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(282,3904,3,40790,40828,57,36639,2,0,'2022-11-19',2200.00,1,1.00,'Factura A N°: 0003-00004591',NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(283,3904,3,40790,40829,57,36639,2,0,'2022-11-22',5088.30,1,1.00,'Factura B N°: 0004-00023728',NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL);
INSERT INTO `cta_cte_cliente` VALUES (284,3904,3,40790,40823,57,36639,2,0,'2022-11-22',2820.70,1,1.00,'Factura A N°: 0004-00002448',NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(285,3904,3,40790,40827,57,36639,2,0,'2022-11-23',5900.00,1,1.00,'Factura A N°: 0005-00001651',NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(286,3904,3,40790,40828,57,36639,2,0,'2022-11-23',3300.00,1,1.00,'Factura A N°: 0003-00004605',NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(287,3904,3,40790,40827,57,36639,2,0,'2022-11-28',2500.00,1,1.00,'Factura A N°: 0005-00001672',NULL,'2023-01-09 21:28:13','2023-01-09 21:28:13',NULL),(288,3904,3,40790,40830,57,36639,2,0,'2022-11-29',22834.42,1,1.00,'Factura A N°: 0005-00016931',NULL,'2023-01-09 21:28:13','2023-01-09 21:28:13',NULL),(289,3904,3,40790,40731,57,36639,2,0,'2022-11-30',4961.00,1,1.00,'Factura B N°: 0006-10124062',NULL,'2023-01-09 21:28:13','2023-01-09 21:28:13',NULL),(290,3904,3,40790,40822,57,36644,2,0,'2023-01-01',59425.90,1,1.00,'Factura C N°: 0098-01493419',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(291,3904,3,40790,40823,57,36644,2,0,'2023-01-02',7520.13,1,1.00,'Factura A N°: 0004-00002869',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(292,3904,3,40790,40823,57,36644,1,0,'2023-01-02',747.47,1,1.00,'Nota de crédito A N°: 0004-00000451',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(293,3904,3,40790,40823,57,36644,2,0,'2023-01-02',3308.19,1,1.00,'Factura A N°: 0004-00002875',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(294,3904,3,40790,40831,57,36644,2,0,'2023-01-04',4500.00,1,1.00,'Factura A N°: 0005-00004994',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(295,3904,3,40790,40823,57,36644,2,0,'2023-01-05',13453.00,1,1.00,'Factura A N°: 0004-00002920',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(296,3904,3,40790,40827,57,36644,2,0,'2023-01-06',9500.00,1,1.00,'Factura A N°: 0005-00001930',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(297,3904,3,40790,40831,57,36644,2,0,'2023-01-06',8400.00,1,1.00,'Factura A N°: 0005-00005000',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(298,3904,3,40790,40832,57,36644,2,0,'2023-01-07',12852.00,1,1.00,'Factura A N°: 0011-00000090',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(299,3904,3,40790,40833,57,36644,2,0,'2023-01-08',4000.40,1,1.00,'Factura A N°: 0014-00009996',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(300,3904,3,40790,40834,57,36644,2,0,'2023-01-10',10000.00,1,1.00,'Factura A N°: 0003-00002418',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(301,3904,3,40790,40835,57,36644,2,0,'2023-01-10',32207.09,1,1.00,'Factura A N°: 0001-00029642',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(302,3904,3,40790,40833,57,36644,2,0,'2023-01-11',4000.00,1,1.00,'Factura A N°: 0014-00010349',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(303,3904,3,40790,40833,57,36644,2,0,'2023-01-14',3000.00,1,1.00,'Factura A N°: 0023-00007623',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(304,3904,3,40790,40831,57,36644,2,0,'2023-01-20',15500.00,1,1.00,'Factura A N°: 0005-00005054',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(305,3904,3,40790,40831,57,36644,2,0,'2023-01-21',13200.00,1,1.00,'Factura A N°: 0005-00005056',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(306,3904,3,40790,40836,57,36644,2,0,'2023-01-23',13550.00,1,1.00,'Factura A N°: 0001-00000152',NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(307,3904,3,40790,40831,57,36644,2,0,'2023-01-28',9900.00,1,1.00,'Factura A N°: 0005-00005076',NULL,'2023-02-14 19:27:28','2023-02-14 19:27:28',NULL),(308,3904,3,40790,40835,57,36644,1,0,'2023-01-30',8695.37,1,1.00,'Nota de crédito A N°: 0001-00008664',NULL,'2023-02-14 19:27:28','2023-02-14 19:27:28',NULL),(309,3904,3,40790,40835,57,36644,2,0,'2023-01-30',33254.62,1,1.00,'Factura A N°: 0001-00030094',NULL,'2023-02-14 19:27:28','2023-02-14 19:27:28',NULL);
INSERT INTO `cta_cte_cliente` VALUES (310,3904,3,40790,40835,57,36644,2,0,'2023-01-30',8695.37,1,1.00,'Factura A N°: 0001-00030093',NULL,'2023-02-14 19:27:28','2023-02-14 19:27:28',NULL),(311,3904,3,40790,40837,57,36644,2,0,'2023-01-30',6800.01,1,1.00,'Factura A N°: 0091-00012416',NULL,'2023-02-14 19:27:28','2023-02-14 19:27:28',NULL),(312,3904,3,40790,40731,57,36644,2,0,'2023-01-31',5258.66,1,1.00,'Factura B N°: 0006-10371508',NULL,'2023-02-14 19:27:28','2023-02-14 19:27:28',NULL),(313,3904,3,40791,40838,57,38145,2,0,'2022-10-03',7719.80,1,1.00,'Factura A N°: 0004-00015304',NULL,'2023-02-14 20:29:28','2023-02-14 20:29:28',NULL),(314,3904,3,40791,40839,57,38145,2,0,'2022-10-04',28193.52,1,1.00,'Factura A N°: 0006-00000110',NULL,'2023-02-14 20:29:28','2023-02-14 20:29:28',NULL),(315,3904,3,40791,40840,57,38145,2,0,'2022-10-06',5801.25,1,1.00,'Factura A N°: 0004-00016378',NULL,'2023-02-14 20:29:28','2023-02-14 20:29:28',NULL),(316,3904,3,40791,40838,57,38146,2,0,'2022-11-01',9801.00,1,1.00,'Factura A N°: 0004-00016370',NULL,'2023-02-14 21:00:17','2023-02-14 21:00:17',NULL),(317,3904,3,40791,40841,57,38146,2,0,'2022-11-22',1475.00,1,1.00,'Factura A N°: 0038-00007092',NULL,'2023-02-14 21:00:17','2023-02-14 21:00:17',NULL),(318,3904,3,40791,40842,57,38146,2,0,'2022-11-22',20526.19,1,1.00,'Factura A N°: 0032-00007952',NULL,'2023-02-14 21:00:17','2023-02-14 21:00:17',NULL),(319,3904,3,40791,40842,57,38146,2,0,'2022-11-23',14857.13,1,1.00,'Factura A N°: 0027-00007635',NULL,'2023-02-14 21:00:17','2023-02-14 21:00:17',NULL),(320,3904,3,40791,40842,57,38146,2,0,'2022-11-24',4826.09,1,1.00,'Factura A N°: 0032-00008009',NULL,'2023-02-14 21:00:17','2023-02-14 21:00:17',NULL),(321,3904,3,40791,40843,57,38146,2,0,'2022-11-25',7200.00,1,1.00,'Factura A N°: 0007-00005468',NULL,'2023-02-14 21:00:17','2023-02-14 21:00:17',NULL),(322,3904,3,40791,40841,57,38146,2,0,'2022-11-29',3000.00,1,1.00,'Factura A N°: 0038-00007221',NULL,'2023-02-14 21:00:17','2023-02-14 21:00:17',NULL),(323,3904,3,40791,40844,57,38146,2,0,'2022-11-30',2000.00,1,1.00,'Factura C N°: 0002-00000306',NULL,'2023-02-14 21:00:18','2023-02-14 21:00:18',NULL),(324,3904,3,40791,40838,57,38147,2,0,'2022-12-01',9801.00,1,1.00,'Factura A N°: 0004-00017441',NULL,'2023-02-14 21:09:56','2023-02-14 21:09:56',NULL),(325,3904,3,40791,40843,57,38147,2,0,'2022-12-02',3000.00,1,1.00,'Factura A N°: 0007-00005600',NULL,'2023-02-14 21:09:56','2023-02-14 21:09:56',NULL),(326,3904,3,40791,40841,57,38147,2,0,'2022-12-05',10000.00,1,1.00,'Factura A N°: 0036-00025499',NULL,'2023-02-14 21:09:56','2023-02-14 21:09:56',NULL),(327,3904,3,40791,40845,57,38147,2,0,'2022-12-05',4499.99,1,1.00,'Factura A N°: 0002-00004463',NULL,'2023-02-14 21:09:56','2023-02-14 21:09:56',NULL),(328,3904,3,40791,40846,57,38147,2,0,'2022-12-28',24872.30,1,1.00,'Factura A N°: 0008-00291529',NULL,'2023-02-14 21:09:56','2023-02-14 21:09:56',NULL),(329,3904,3,40791,40844,57,38147,2,0,'2022-12-31',2300.00,1,1.00,'Factura C N°: 0002-00000309',NULL,'2023-02-14 21:09:56','2023-02-14 21:09:56',NULL),(330,3904,3,40791,40838,57,38151,2,0,'2023-01-01',9801.00,1,1.00,'Factura A N°: 0004-00018538',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(331,3904,3,40791,40845,57,38151,2,0,'2023-01-03',5600.00,1,1.00,'Factura A N°: 0002-00004753',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(332,3904,3,40791,40846,57,38151,2,0,'2023-01-05',38858.74,1,1.00,'Factura A N°: 0008-00292746',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(333,3904,3,40791,40847,57,38151,2,0,'2023-01-06',29260.00,1,1.00,'Factura A N°: 0007-00001675',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(334,3904,3,40791,40846,57,38151,2,0,'2023-01-11',54730.62,1,1.00,'Factura A N°: 0008-00293756',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(335,3904,3,40791,40848,57,38151,2,0,'2023-01-12',24615.36,1,1.00,'Factura A N°: 0290-00129651',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL);
INSERT INTO `cta_cte_cliente` VALUES (336,3904,3,40791,40848,57,38151,2,0,'2023-01-19',4068.31,1,1.00,'Factura A N°: 0290-00131600',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(337,3904,3,40791,40848,57,38151,1,0,'2023-01-20',4068.31,1,1.00,'Nota de crédito A N°: 0290-00017072',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(338,3904,3,40791,40848,57,38151,1,0,'2023-01-20',4068.31,1,1.00,'Nota de crédito A N°: 0290-00017091',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(339,3904,3,40791,40848,57,38151,2,0,'2023-01-20',4068.31,1,1.00,'Factura A N°: 0290-00131962',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(340,3904,3,40791,40846,57,38151,2,0,'2023-01-20',26029.73,1,1.00,'Factura A N°: 0008-00295161',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(341,3904,3,40791,40848,57,38151,1,0,'2023-01-26',8990.20,1,1.00,'Nota de crédito A N°: 0290-00017334',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(342,3904,3,40791,40848,57,38151,2,0,'2023-01-26',8990.20,1,1.00,'Factura A N°: 0290-00133401',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(343,3904,3,40791,40844,57,38151,2,0,'2023-01-31',2300.00,1,1.00,'Factura C N°: 0002-00000315',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(344,3904,3,40791,40838,57,38151,1,0,'2023-01-31',9801.00,1,1.00,'Nota de crédito A N°: 0004-00000584',NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',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,
  `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=345 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (30,NULL,30,30,NULL,NULL,NULL,NULL),(31,NULL,31,31,NULL,NULL,NULL,NULL),(32,NULL,32,32,NULL,NULL,NULL,NULL),(33,NULL,33,33,NULL,NULL,NULL,NULL),(34,NULL,34,34,NULL,NULL,NULL,NULL),(35,NULL,35,35,NULL,NULL,NULL,NULL),(36,NULL,36,36,NULL,NULL,NULL,NULL),(37,NULL,37,37,NULL,NULL,NULL,NULL),(38,NULL,38,38,NULL,NULL,NULL,NULL),(39,NULL,39,39,NULL,NULL,NULL,NULL),(40,NULL,40,40,NULL,NULL,NULL,NULL),(41,NULL,41,41,NULL,NULL,NULL,NULL),(42,NULL,42,42,NULL,NULL,NULL,NULL),(43,NULL,43,43,NULL,NULL,NULL,NULL),(44,NULL,44,44,NULL,NULL,NULL,NULL),(45,NULL,45,45,NULL,NULL,NULL,NULL),(46,NULL,46,46,NULL,NULL,NULL,NULL),(47,NULL,47,47,NULL,NULL,NULL,NULL),(48,NULL,48,48,NULL,NULL,NULL,NULL),(49,NULL,49,49,NULL,NULL,NULL,NULL),(50,NULL,50,50,NULL,NULL,NULL,NULL),(51,NULL,51,51,NULL,NULL,NULL,NULL),(52,NULL,52,52,NULL,NULL,NULL,NULL),(53,NULL,53,53,NULL,NULL,NULL,NULL),(54,NULL,54,54,NULL,NULL,NULL,NULL),(55,NULL,55,55,NULL,NULL,NULL,NULL),(56,NULL,56,56,NULL,NULL,NULL,NULL),(57,NULL,57,54,NULL,NULL,NULL,NULL),(58,NULL,58,42,NULL,NULL,NULL,NULL),(59,NULL,59,50,NULL,NULL,NULL,NULL),(92,NULL,92,89,NULL,NULL,NULL,NULL),(93,NULL,93,90,NULL,NULL,NULL,NULL),(94,NULL,94,91,NULL,NULL,NULL,NULL),(95,NULL,95,92,NULL,NULL,NULL,NULL),(96,NULL,96,93,NULL,NULL,NULL,NULL),(97,NULL,97,94,NULL,NULL,NULL,NULL),(98,NULL,98,95,NULL,NULL,NULL,NULL),(99,NULL,99,96,NULL,NULL,NULL,NULL),(100,NULL,100,97,NULL,NULL,NULL,NULL),(101,NULL,101,98,NULL,NULL,NULL,NULL),(102,NULL,102,99,NULL,NULL,NULL,NULL),(103,NULL,103,100,NULL,NULL,NULL,NULL),(104,NULL,104,101,NULL,NULL,NULL,NULL),(105,NULL,105,102,NULL,NULL,NULL,NULL),(106,NULL,106,103,NULL,NULL,NULL,NULL),(107,NULL,107,104,NULL,NULL,NULL,NULL),(108,NULL,108,105,NULL,NULL,NULL,NULL),(109,NULL,109,106,NULL,NULL,NULL,NULL),(110,NULL,110,107,NULL,NULL,NULL,NULL),(111,NULL,111,108,NULL,NULL,NULL,NULL),(112,NULL,112,109,NULL,NULL,NULL,NULL),(113,NULL,113,110,NULL,NULL,NULL,NULL),(114,NULL,114,111,NULL,NULL,NULL,NULL),(115,NULL,115,112,NULL,NULL,NULL,NULL),(116,NULL,116,113,NULL,NULL,NULL,NULL),(117,NULL,117,114,NULL,NULL,NULL,NULL),(118,NULL,118,115,NULL,NULL,NULL,NULL),(119,NULL,119,116,NULL,NULL,NULL,NULL),(120,NULL,120,117,NULL,NULL,NULL,NULL),(121,NULL,121,118,NULL,NULL,NULL,NULL),(122,NULL,122,119,NULL,NULL,NULL,NULL),(123,NULL,123,120,NULL,NULL,NULL,NULL),(124,NULL,124,121,NULL,NULL,NULL,NULL),(125,NULL,125,122,NULL,NULL,NULL,NULL),(126,NULL,126,123,NULL,NULL,NULL,NULL),(127,NULL,127,124,NULL,NULL,NULL,NULL),(128,NULL,128,125,NULL,NULL,NULL,NULL),(129,NULL,129,126,NULL,NULL,NULL,NULL),(130,NULL,130,127,NULL,NULL,NULL,NULL),(131,NULL,131,128,NULL,NULL,NULL,NULL),(132,NULL,132,129,NULL,NULL,NULL,NULL),(133,NULL,133,130,NULL,NULL,NULL,NULL),(134,NULL,134,131,NULL,NULL,NULL,NULL),(135,NULL,135,132,NULL,NULL,NULL,NULL),(136,NULL,136,133,NULL,NULL,NULL,NULL),(137,NULL,137,134,NULL,NULL,NULL,NULL),(138,NULL,138,135,NULL,NULL,NULL,NULL),(139,NULL,139,136,NULL,NULL,NULL,NULL),(140,NULL,140,137,NULL,NULL,NULL,NULL),(141,NULL,141,138,NULL,NULL,NULL,NULL),(142,NULL,142,139,NULL,NULL,NULL,NULL),(143,3904,143,140,NULL,'2022-10-14 11:48:13','2022-10-14 11:48:13',NULL),(144,3904,144,141,NULL,'2022-10-14 11:52:59','2022-10-14 12:02:17','2022-10-14 12:02:17'),(145,3904,145,141,NULL,'2022-10-14 12:02:17','2022-10-14 12:02:17',NULL),(146,3904,146,142,NULL,'2022-10-16 09:03:04','2022-10-16 09:03:04',NULL),(147,3904,147,143,NULL,'2022-10-16 09:05:24','2022-10-16 09:05:24',NULL),(148,3904,148,144,NULL,'2022-10-16 09:08:47','2022-10-16 09:08:47',NULL),(149,3904,149,145,NULL,'2022-10-16 09:09:34','2022-10-16 09:09:34',NULL),(150,3904,150,146,NULL,'2022-10-16 09:10:22','2022-10-16 09:10:22',NULL),(151,3904,151,147,NULL,'2022-10-16 09:13:20','2022-10-16 09:13:20',NULL),(152,3904,152,148,NULL,'2022-10-16 09:14:28','2022-10-16 09:14:28',NULL),(153,3904,153,149,NULL,'2022-10-16 09:21:50','2022-10-16 09:21:50',NULL),(154,3904,154,150,NULL,'2022-10-16 09:23:28','2022-10-16 09:23:28',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (155,3904,155,151,NULL,'2022-10-16 09:28:00','2022-10-16 09:28:00',NULL),(156,3904,156,152,NULL,'2022-10-16 09:30:38','2022-10-16 09:30:38',NULL),(157,3904,157,153,NULL,'2022-10-16 09:31:33','2022-10-16 09:31:33',NULL),(158,3904,158,154,NULL,'2022-10-16 09:46:28','2022-10-16 09:46:28',NULL),(159,3904,159,155,NULL,'2022-10-17 06:28:35','2022-10-17 06:28:35',NULL),(160,3904,160,156,NULL,'2022-10-17 06:33:40','2022-10-17 06:33:40',NULL),(161,3904,161,157,NULL,'2022-10-17 06:35:29','2022-10-17 06:35:29',NULL),(162,3904,162,158,NULL,'2022-10-17 06:37:16','2022-10-17 06:37:16',NULL),(163,3904,163,159,NULL,'2022-10-17 06:41:07','2022-10-17 06:41:07',NULL),(164,3904,164,160,NULL,'2022-10-17 06:41:52','2022-10-17 06:41:52',NULL),(165,3904,165,161,NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(166,3904,166,162,NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(167,3904,167,163,NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(168,3904,168,164,NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(169,3904,169,165,NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(170,3904,170,166,NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(171,3904,171,167,NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(172,3904,172,168,NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(173,3904,173,169,NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(174,3904,174,170,NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(175,3904,175,171,NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(176,3904,176,172,NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(177,3904,177,173,NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(178,3904,178,174,NULL,'2022-11-04 15:12:49','2022-11-04 15:12:49',NULL),(179,3904,179,175,NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(180,3904,180,176,NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(181,3904,181,177,NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(182,3904,182,178,NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(183,3904,183,179,NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(184,3904,184,180,NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(185,3904,185,181,NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(186,3904,186,182,NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(187,3904,187,183,NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(188,3904,188,184,NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(189,3904,189,185,NULL,'2022-11-04 15:35:05','2022-11-04 15:35:05',NULL),(190,3904,190,186,NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(191,3904,191,187,NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(192,3904,192,188,NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(193,3904,193,189,NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(194,3904,194,190,NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(195,3904,195,191,NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(196,3904,196,192,NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(197,3904,197,193,NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(198,3904,198,194,NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(199,3904,199,195,NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(200,3904,200,196,NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(201,3904,201,197,NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(202,3904,202,198,NULL,'2022-11-04 15:35:06','2022-11-04 15:35:06',NULL),(203,3904,203,199,NULL,'2022-11-04 15:35:07','2022-11-04 15:35:07',NULL),(204,3904,204,200,NULL,'2022-11-04 15:35:07','2022-11-04 15:35:07',NULL),(205,3904,205,201,NULL,'2022-11-04 15:35:07','2022-11-04 15:35:07',NULL),(206,3904,206,202,NULL,'2022-11-04 15:35:07','2022-11-04 15:35:07',NULL),(207,3904,207,203,NULL,'2022-11-04 15:47:24','2022-11-04 15:47:24',NULL),(208,3904,208,204,NULL,'2022-11-04 15:47:24','2022-11-04 15:47:24',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (209,3904,209,205,NULL,'2022-11-04 15:47:24','2022-11-04 15:47:24',NULL),(210,3904,210,206,NULL,'2022-11-04 15:47:24','2022-11-04 15:47:24',NULL),(211,3904,211,207,NULL,'2022-11-04 15:47:24','2022-11-04 15:47:24',NULL),(212,3904,212,208,NULL,'2022-11-04 15:47:24','2022-11-04 15:47:24',NULL),(213,3904,213,209,NULL,'2022-11-04 15:48:38','2022-11-04 15:48:38',NULL),(214,3904,214,210,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(215,3904,215,211,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(216,3904,216,212,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(217,3904,217,213,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(218,3904,218,214,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(219,3904,219,215,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(220,3904,220,216,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(221,3904,221,217,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(222,3904,222,218,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(223,3904,223,219,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(224,3904,224,220,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(225,3904,225,221,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(226,3904,226,222,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(227,3904,227,223,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(228,3904,228,224,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(229,3904,229,225,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(230,3904,230,226,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(231,3904,231,227,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(232,3904,232,228,NULL,'2022-11-04 15:48:39','2022-11-04 15:48:39',NULL),(233,3904,233,229,NULL,'2022-11-04 15:48:40','2022-11-04 15:48:40',NULL),(234,3904,234,230,NULL,'2022-11-04 15:48:40','2022-11-04 15:48:40',NULL),(235,3904,235,231,NULL,'2022-11-04 15:48:40','2022-11-04 15:48:40',NULL),(236,3904,236,232,NULL,'2022-11-04 15:48:40','2022-11-04 15:48:40',NULL),(237,3904,237,233,NULL,'2022-11-22 18:24:22','2022-11-22 18:24:22',NULL),(238,3904,238,234,NULL,'2022-11-22 18:24:22','2022-11-22 18:24:22',NULL),(239,3904,239,235,NULL,'2022-11-22 18:24:22','2022-11-22 18:24:22',NULL),(240,3904,240,236,NULL,'2022-11-22 18:24:22','2022-11-22 18:24:22',NULL),(241,3904,241,237,NULL,'2022-11-22 18:24:22','2022-11-22 18:24:22',NULL),(242,3904,242,238,NULL,'2022-11-22 18:24:22','2022-11-22 18:24:22',NULL),(243,3904,243,239,NULL,'2022-11-22 18:24:22','2022-11-22 18:24:22',NULL),(244,3904,244,240,NULL,'2022-11-22 18:26:03','2022-11-22 18:26:03',NULL),(245,3904,245,241,NULL,'2022-11-22 18:26:03','2022-11-22 18:26:03',NULL),(246,3904,246,242,NULL,'2022-11-22 18:26:03','2022-11-22 18:26:03',NULL),(247,3904,247,243,NULL,'2022-11-22 18:26:03','2022-11-22 18:26:03',NULL),(248,3904,248,244,NULL,'2022-11-22 18:26:03','2022-11-22 18:26:03',NULL),(249,3904,249,245,NULL,'2022-11-22 18:26:03','2022-11-22 18:26:03',NULL),(250,3904,250,246,NULL,'2022-11-22 18:26:03','2022-11-22 18:26:03',NULL),(251,3904,251,247,NULL,'2022-11-22 18:35:43','2022-11-22 18:35:43',NULL),(252,3904,252,248,NULL,'2022-11-22 18:35:43','2022-11-22 18:35:43',NULL),(253,3904,253,249,NULL,'2022-11-22 18:35:43','2022-11-22 18:35:43',NULL),(254,3904,254,250,NULL,'2023-01-09 19:41:14','2023-01-09 19:41:14',NULL),(255,3904,255,251,NULL,'2023-01-09 19:42:18','2023-01-09 19:42:18',NULL),(256,3904,256,252,NULL,'2023-01-09 19:43:16','2023-01-09 19:43:16',NULL),(257,3904,257,253,NULL,'2023-01-09 19:48:27','2023-01-09 19:48:27',NULL),(258,3904,258,254,NULL,'2023-01-09 19:49:15','2023-01-09 19:49:15',NULL),(259,3904,259,255,NULL,'2023-01-09 21:04:09','2023-01-09 21:04:09',NULL),(260,3904,260,256,NULL,'2023-01-09 21:05:11','2023-01-09 21:05:11',NULL),(261,3904,261,257,NULL,'2023-01-09 21:06:13','2023-01-09 21:06:13',NULL),(262,3904,262,258,NULL,'2023-01-09 21:12:17','2023-01-09 21:12:17',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (263,3904,263,259,NULL,'2023-01-09 21:12:59','2023-01-09 21:12:59',NULL),(264,3904,264,260,NULL,'2023-01-09 21:13:47','2023-01-09 21:13:47',NULL),(265,3904,265,261,NULL,'2023-01-09 21:14:17','2023-01-09 21:14:17',NULL),(266,3904,266,262,NULL,'2023-01-09 21:15:50','2023-01-09 21:15:50',NULL),(267,3904,267,263,NULL,'2023-01-09 21:16:37','2023-01-09 21:16:37',NULL),(268,3904,268,264,NULL,'2023-01-09 21:18:04','2023-01-09 21:18:04',NULL),(269,3904,269,265,NULL,'2023-01-09 21:18:37','2023-01-09 21:18:37',NULL),(270,3904,270,266,NULL,'2023-01-09 21:19:50','2023-01-09 21:19:50',NULL),(271,3904,271,267,NULL,'2023-01-09 21:20:18','2023-01-09 21:20:18',NULL),(272,3904,272,268,NULL,'2023-01-09 21:21:47','2023-01-09 21:21:47',NULL),(273,3904,273,269,NULL,'2023-01-09 21:23:38','2023-01-09 21:23:38',NULL),(274,3904,274,270,NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(275,3904,275,271,NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(276,3904,276,272,NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(277,3904,277,273,NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(278,3904,278,274,NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(279,3904,279,275,NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(280,3904,280,276,NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(281,3904,281,277,NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(282,3904,282,278,NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(283,3904,283,279,NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(284,3904,284,280,NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(285,3904,285,281,NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(286,3904,286,282,NULL,'2023-01-09 21:28:12','2023-01-09 21:28:12',NULL),(287,3904,287,283,NULL,'2023-01-09 21:28:13','2023-01-09 21:28:13',NULL),(288,3904,288,284,NULL,'2023-01-09 21:28:13','2023-01-09 21:28:13',NULL),(289,3904,289,285,NULL,'2023-01-09 21:28:13','2023-01-09 21:28:13',NULL),(290,3904,290,286,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(291,3904,291,287,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(292,3904,292,288,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(293,3904,293,289,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(294,3904,294,290,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(295,3904,295,291,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(296,3904,296,292,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(297,3904,297,293,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(298,3904,298,294,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(299,3904,299,295,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(300,3904,300,296,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(301,3904,301,297,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(302,3904,302,298,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(303,3904,303,299,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(304,3904,304,300,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(305,3904,305,301,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(306,3904,306,302,NULL,'2023-02-14 19:27:27','2023-02-14 19:27:27',NULL),(307,3904,307,303,NULL,'2023-02-14 19:27:28','2023-02-14 19:27:28',NULL),(308,3904,308,304,NULL,'2023-02-14 19:27:28','2023-02-14 19:27:28',NULL),(309,3904,309,305,NULL,'2023-02-14 19:27:28','2023-02-14 19:27:28',NULL),(310,3904,310,306,NULL,'2023-02-14 19:27:28','2023-02-14 19:27:28',NULL),(311,3904,311,307,NULL,'2023-02-14 19:27:28','2023-02-14 19:27:28',NULL),(312,3904,312,308,NULL,'2023-02-14 19:27:28','2023-02-14 19:27:28',NULL),(313,3904,313,309,NULL,'2023-02-14 20:29:28','2023-02-14 20:29:28',NULL),(314,3904,314,310,NULL,'2023-02-14 20:29:28','2023-02-14 20:29:28',NULL),(315,3904,315,311,NULL,'2023-02-14 20:29:28','2023-02-14 20:29:28',NULL),(316,3904,316,312,NULL,'2023-02-14 21:00:17','2023-02-14 21:00:17',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (317,3904,317,313,NULL,'2023-02-14 21:00:17','2023-02-14 21:00:17',NULL),(318,3904,318,314,NULL,'2023-02-14 21:00:17','2023-02-14 21:00:17',NULL),(319,3904,319,315,NULL,'2023-02-14 21:00:17','2023-02-14 21:00:17',NULL),(320,3904,320,316,NULL,'2023-02-14 21:00:17','2023-02-14 21:00:17',NULL),(321,3904,321,317,NULL,'2023-02-14 21:00:17','2023-02-14 21:00:17',NULL),(322,3904,322,318,NULL,'2023-02-14 21:00:17','2023-02-14 21:00:17',NULL),(323,3904,323,319,NULL,'2023-02-14 21:00:18','2023-02-14 21:00:18',NULL),(324,3904,324,320,NULL,'2023-02-14 21:09:56','2023-02-14 21:09:56',NULL),(325,3904,325,321,NULL,'2023-02-14 21:09:56','2023-02-14 21:09:56',NULL),(326,3904,326,322,NULL,'2023-02-14 21:09:56','2023-02-14 21:09:56',NULL),(327,3904,327,323,NULL,'2023-02-14 21:09:56','2023-02-14 21:09:56',NULL),(328,3904,328,324,NULL,'2023-02-14 21:09:56','2023-02-14 21:09:56',NULL),(329,3904,329,325,NULL,'2023-02-14 21:09:56','2023-02-14 21:09:56',NULL),(330,3904,330,326,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(331,3904,331,327,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(332,3904,332,328,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(333,3904,333,329,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(334,3904,334,330,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(335,3904,335,331,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(336,3904,336,332,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(337,3904,337,333,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(338,3904,338,334,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(339,3904,339,335,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(340,3904,340,336,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(341,3904,341,337,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(342,3904,342,338,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(343,3904,343,339,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL),(344,3904,344,340,NULL,'2023-02-16 15:52:52','2023-02-16 15:52:52',NULL);

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

CREATE TABLE `cta_cte_tesoreria` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `fecha` date DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(9,2) NOT NULL DEFAULT '1.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `cta_cte_tesoreria_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_period_id_foreign` (`period_id`),
  KEY `cta_cte_tesoreria_nf_cta_cte_id_foreign` (`nf_cta_cte_id`),
  KEY `cta_cte_tesoreria_moneda_id_foreign` (`moneda_id`),
  CONSTRAINT `cta_cte_tesoreria_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_nf_cta_cte_id_foreign` FOREIGN KEY (`nf_cta_cte_id`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `cta_cte_tesoreria_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `cta_cte_tesoreria_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

--
