-- 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=15 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','2020-10-26 00:29:02',NULL),(4,2019,2000000.00,3000000.00,6500000.00,15000.00,0.0075,3000000.00,'2019-11-19 21:09:50','2020-10-26 00:29:02',NULL),(5,2019,2000000.00,6500000.00,18000000.00,41250.00,0.0100,6500000.00,'2019-11-19 21:09:50','2020-10-26 00:29:02',NULL),(6,2019,2000000.00,18000000.00,999999999.99,156250.00,0.0125,18000000.00,'2020-10-26 00:29:02','2020-10-26 00:29:02',NULL),(7,2020,2000000.00,0.00,3000000.00,0.00,0.0050,0.00,'2021-06-15 17:43:39','2021-06-30 10:14:05',NULL),(8,2020,2000000.00,3000000.00,6500000.00,15000.00,0.0075,3000000.00,'2021-06-15 17:43:39','2021-06-30 10:14:05',NULL),(9,2020,2000000.00,6500000.00,18000000.00,41250.00,0.0100,6500000.00,'2021-06-15 17:43:39','2021-06-30 10:14:05',NULL),(10,2020,2000000.00,18000000.00,999999999.99,156250.00,0.0125,18000000.00,'2021-06-15 17:43:39','2021-06-30 10:14:05',NULL),(11,2021,6000000.00,0.00,3000000.00,0.00,0.0050,0.00,'2022-05-17 16:28:10','2022-05-17 16:28:10',NULL),(12,2021,6000000.00,3000000.00,6500000.00,15000.00,0.0075,3000000.00,'2022-05-17 16:28:10','2022-05-17 16:28:10',NULL),(13,2021,6000000.00,6500000.00,18000000.00,41250.00,0.0100,6500000.00,'2022-05-17 16:28:10','2022-05-17 16:28:10',NULL),(14,2021,6000000.00,18000000.00,999999999.99,156250.00,0.0125,18000000.00,'2022-05-17 16:28:10','2022-05-17 16:28:10',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',1045.00,6270.00,208739.25,30,3300,NULL,'1',NULL,NULL,NULL),(2,'B',1565.00,9390.00,313108.87,45,5000,NULL,'1',NULL,NULL,NULL),(3,'C',2090.00,12540.00,417478.51,60,6700,NULL,'1',NULL,NULL,NULL),(4,'D',3130.00,18780.00,626217.78,85,10000,NULL,'1',NULL,NULL,NULL),(5,'E',4175.00,25050.00,834957.00,110,13000,NULL,'1',NULL,NULL,NULL),(6,'F',5220.00,31320.00,1043696.27,150,16500,NULL,'1',NULL,NULL,NULL),(7,'G',6260.00,37560.00,1252435.53,200,20000,NULL,'1',NULL,NULL,NULL),(8,'H',8700.00,52200.00,1739493.79,200,20000,NULL,'1',NULL,NULL,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=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `categorias_monotributo` VALUES (1,'A',748382.07,62365.17,'No Excluida','0',30,3330,133455.58,288.07,288.07,1270.99,1775.18,3334.24,3334.24,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(2,'B',1112459.83,92704.99,'No Excluida','0',45,5000,133455.58,555.02,555.02,1398.09,1775.18,3728.29,3728.29,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(3,'C',1557443.75,129786.98,'No Excluida','0',60,6700,266911.14,949.02,876.97,1537.91,1775.18,4262.11,4190.06,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(4,'D',1934273.04,161189.42,'No Excluida','0',85,10000,266911.14,1559.09,1440.47,1691.69,1775.18,5025.96,4907.34,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(5,'E',2277684.56,189807.05,'No Excluida','0',110,13000,332579.74,2965.66,2300.50,1860.87,1775.18,6601.71,5936.55,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(6,'F',2847105.70,237258.81,'No Excluida','0',150,16500,333638.90,4079.93,3003.79,2046.95,1775.18,7902.06,6825.92,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(7,'G',3416526.83,284710.57,'No Excluida','0',200,20000,400366.71,5189.94,3745.19,2251.64,1775.18,9216.76,7772.01,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(8,'H',4229985.60,352498.80,'No Excluida','0',200,20000,533822.27,11862.69,9193.62,2476.80,1775.18,16114.68,13445.60,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(9,'I',4734330.03,394527.50,'Venta de Bs Muebles','0',200,20000,533822.27,NULL,14828.38,2724.49,1775.18,NULL,19328.05,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(10,'J',5425770.00,452147.50,'Venta de Bs Muebles','0',200,20000,533822.27,NULL,17425.48,2996.96,1775.18,NULL,22197.62,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(11,'K',6019594.89,501632.91,'Venta de Bs Muebles','0',200,20000,533822.27,NULL,20018.33,3296.62,1775.18,NULL,25090.13,NULL,'2018-01-01',NULL,'1',NULL,NULL,NULL),(12,'Monotributo Social',208739.25,17394.94,'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);

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

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

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

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

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

INSERT INTO `claves_details` VALUES (6,1234,'Clave Fiscal','Gabriel2187',NULL,1,40760,1,'2020-11-01 23:15:12','2020-11-01 23:15:12',NULL),(14,1234,'Acceso AFIP','Federico2020',NULL,1,40768,1,'2020-11-16 13:37:24','2020-11-16 13:37:24',NULL),(19,1234,'Acceso AFIP','Sofia2121c',NULL,1,40800,1,'2021-02-07 19:49:18','2021-02-07 19:49:18',NULL),(20,1234,'Acceso AFIP','Juampo2269',NULL,1,40720,1,'2021-02-07 20:56:20','2021-02-07 20:56:20',NULL),(23,1234,'Acceso AFIP','Estudio2020',NULL,1,40758,1,'2021-03-21 15:46:36','2021-03-21 15:46:36',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:48:32','2021-07-29 05:44:40',NULL),(2,NULL,'Articulo 6',6,0,'2021-07-26 00:48:32','2021-07-29 05:44:40',NULL),(3,NULL,'Articulo 7',7,0,'2021-07-26 00:48:32','2021-07-29 05:44:40',NULL),(4,NULL,'Articulo 8',8,0,'2021-07-26 00:48:32','2021-07-29 05:44:40',NULL),(5,NULL,'Articulo 9',9,0,'2021-07-26 00:48:32','2021-07-29 05:44:40',NULL),(6,NULL,'Articulo 10',10,0,'2021-07-26 00:48:32','2021-07-29 05:44:40',NULL),(7,NULL,'Articulo 11',11,0,'2021-07-26 00:48:32','2021-07-29 05:44:40',NULL),(8,NULL,'Articulo 12',12,0,'2021-07-26 00:48:32','2021-07-29 05:44:40',NULL),(9,NULL,'Articulo 13',13,0,'2021-07-26 00:48:32','2021-07-29 05:44:40',NULL),(10,NULL,'Articulo 14',14,1,'2021-07-26 00:48:32','2021-07-29 05:44:40',NULL);

--
-- 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=3 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);

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

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

INSERT INTO `conta_asientos` VALUES (1,1234,40719,NULL,2,NULL,13,NULL,NULL,'2020-10-26','2020-10-26',2000.00,NULL,NULL,2,1,NULL,NULL,NULL,'2020-10-26 12:00:05','2020-10-26 12:00:31','2020-10-26 12:00:31'),(2,1234,40719,NULL,2,13,480,NULL,NULL,'2020-10-26','2020-10-26',2000.00,NULL,NULL,1,1,NULL,NULL,NULL,'2020-10-26 12:00:15','2020-10-26 12:00:24','2020-10-26 12:00:24');

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

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

INSERT INTO `conta_asientos_details` VALUES (1,1234,1,40719,NULL,2,NULL,1,2000.00,'2020-10-26 12:00:05','2020-10-26 12:00:31','2020-10-26 12:00:31'),(2,1234,1,40719,NULL,2,13,2,2000.00,'2020-10-26 12:00:05','2020-10-26 12:00:31','2020-10-26 12:00:31'),(3,1234,2,40719,NULL,2,13,1,2000.00,'2020-10-26 12:00:15','2020-10-26 12:00:24','2020-10-26 12:00:24'),(4,1234,2,40719,NULL,2,480,2,2000.00,'2020-10-26 12:00:15','2020-10-26 12:00:24','2020-10-26 12:00:24');

--
-- 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=482 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,'Tarjeta Shopping','Result. Negativo',NULL,1,1,0,0,0,1,NULL),(216,NULL,5120157,5,1,5120100,'Tarjeta Cencosud','Result. Negativo',NULL,1,1,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);

--
-- 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=24 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);

--
-- 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,
  `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`),
  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_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=311 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_cliente` VALUES (5,1234,3,40720,40735,57,1523,2,0,'2020-09-01',778.42,'Factura A N°: 0011-00031275',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(6,1234,3,40720,40736,57,1523,2,0,'2020-09-01',7000.00,'Factura A N°: 0010-00019008',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(7,1234,3,40720,40737,57,1523,2,0,'2020-09-01',6903.13,'Factura A N°: 0005-00110147',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(8,1234,3,40720,40738,57,1523,2,0,'2020-09-01',2220.90,'Factura A N°: 0002-00000405',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(9,1234,3,40720,40739,57,1523,2,0,'2020-09-02',13000.00,'Factura C N°: 0001-00000043',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(10,1234,3,40720,40740,57,1523,2,0,'2020-09-03',3790.00,'Factura A N°: 0003-00003521',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(11,1234,3,40720,40741,57,1523,2,0,'2020-09-03',4576.88,'Factura A N°: 0025-00016186',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(12,1234,3,40720,40741,57,1523,2,0,'2020-09-03',49785.75,'Factura A N°: 0025-00016185',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(13,1234,3,40720,40742,57,1523,2,0,'2020-09-04',197400.00,'Factura A N°: 0005-00004680',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(14,1234,3,40720,40743,57,1523,2,0,'2020-09-11',7000.00,'Factura A N°: 0003-00000076',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(15,1234,3,40720,40744,57,1523,2,0,'2020-09-16',850.00,'Factura A N°: 0001-00000027',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(16,1234,3,40720,40745,57,1523,2,0,'2020-09-16',1810.55,'Factura A N°: 6723-00656770',NULL,'2020-10-26 14:51:11','2020-10-26 14:52:56','2020-10-26 14:52:56'),(17,1234,3,40720,40736,57,1523,2,0,'2020-09-18',2171.44,'Factura A N°: 0009-00034741',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(18,1234,3,40720,40746,57,1523,2,0,'2020-09-18',2710.00,'Factura C N°: 0001-00000002',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(19,1234,3,40720,40746,57,1523,2,0,'2020-09-18',33429.00,'Factura C N°: 0001-00000001',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(20,1234,3,40720,40747,57,1523,2,0,'2020-09-19',36300.00,'Factura A N°: 0001-00000299',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(21,1234,3,40720,40736,57,1523,2,0,'2020-09-23',2459.45,'Factura A N°: 0009-00034780',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(22,1234,3,40720,40748,57,1523,2,0,'2020-09-24',2310.00,'Factura B N°: 0007-07361961',NULL,'2020-10-26 14:51:11','2020-10-26 14:52:48','2020-10-26 14:52:48'),(23,1234,3,40720,40749,57,1523,2,0,'2020-09-24',2513.98,'Factura A N°: 0005-00013770',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(24,1234,3,40720,40750,57,1523,2,0,'2020-09-28',8699.00,'Factura A N°: 0007-00007246',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(25,1234,3,40720,40751,57,1523,2,0,'2020-09-29',40656.00,'Factura A N°: 0002-00031864',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(26,1234,3,40720,40751,57,1523,1,0,'2020-09-29',40656.00,'Nota de crédito A N°: 0002-00002522',NULL,'2020-10-26 14:51:11','2020-10-26 14:51:11',NULL),(27,1234,3,40720,40752,57,1523,2,0,'2020-09-30',3000.00,'Factura C N°: 2060-00101047',NULL,'2020-10-26 14:51:11','2020-10-26 14:52:41','2020-10-26 14:52:41'),(28,1234,3,40720,40752,57,1523,2,0,'2020-09-30',3000.00,'Factura C N°: 2060-00101048',NULL,'2020-10-26 14:51:11','2020-10-26 14:52:36','2020-10-26 14:52:36'),(29,1234,3,40720,40752,57,1523,2,0,'2020-09-30',7385.00,'Factura C N°: 2060-00099317',NULL,'2020-10-26 14:51:11','2020-10-26 14:52:31','2020-10-26 14:52:31'),(30,1234,3,40720,40752,57,1523,2,0,'2020-09-30',7385.00,'Factura C N°: 2060-00099316',NULL,'2020-10-26 14:51:11','2020-10-26 14:52:23','2020-10-26 14:52:23'),(31,1234,2,40720,40753,13,1523,1,0,'2020-09-14',7865.00,'Factura A N°: 0002-00000105',NULL,'2020-10-26 14:51:58','2020-10-26 14:51:58',NULL);
INSERT INTO `cta_cte_cliente` VALUES (32,1234,2,40720,40754,13,1523,1,0,'2020-09-14',7865.00,'Factura A N°: 0002-00000106',NULL,'2020-10-26 14:51:58','2020-10-26 14:51:58',NULL),(33,1234,2,40720,40755,13,1523,1,0,'2020-09-21',4537.50,'Factura B N°: 1001-00000002',NULL,'2020-10-26 14:51:58','2020-10-26 14:51:58',NULL),(34,1234,2,40720,40736,13,1523,1,0,'2020-09-24',53637.82,'Factura A N°: 1001-00000019',NULL,'2020-10-26 14:51:58','2020-10-26 14:51:58',NULL),(35,1234,2,40720,40736,13,1523,1,0,'2020-09-24',45883.13,'Factura A N°: 1001-00000020',NULL,'2020-10-26 14:51:58','2020-10-26 14:51:58',NULL),(36,1234,2,40720,40749,13,1523,1,0,'2020-09-28',3884.48,'Factura A N°: 1001-00000021',NULL,'2020-10-26 14:51:58','2020-10-26 14:51:58',NULL),(37,1234,2,40720,40756,13,1523,1,0,'2020-09-28',9075.00,'Factura A N°: 1001-00000022',NULL,'2020-10-26 14:51:58','2020-10-26 14:51:58',NULL),(38,1234,2,40720,40757,13,1523,1,0,'2020-09-28',8470.00,'Factura A N°: 1001-00000023',NULL,'2020-10-26 14:51:58','2020-10-26 14:51:58',NULL),(39,1234,2,40720,40761,13,1525,1,0,'2020-11-10',4840.00,'Factura A N°: 1001-00000040',NULL,'2020-11-10 11:13:24','2020-11-10 11:13:24',NULL),(40,1234,2,40719,40759,13,13,1,0,'2020-11-10',1800.00,'Factura C N°: 0003-00000001',NULL,'2020-11-10 12:03:24','2020-11-10 12:03:24',NULL),(41,1234,2,40768,40769,13,5245,1,0,'2020-10-19',341979.47,'Factura B N°: 0004-00000008',NULL,'2020-11-10 20:33:08','2020-11-10 20:33:08',NULL),(42,1234,2,40768,40770,13,5245,1,0,'2020-10-23',22000.00,'Factura B N°: 0004-00000009',NULL,'2020-11-10 20:33:08','2020-11-10 20:33:08',NULL),(43,1234,2,40768,40769,13,5245,1,0,'2020-10-28',281534.18,'Factura B N°: 0004-00000010',NULL,'2020-11-10 20:33:08','2020-11-10 20:33:08',NULL),(44,1234,3,40768,40771,57,5245,2,0,'2020-10-01',29969.44,'Factura B N°: 0008-00065899',NULL,'2020-11-10 20:35:03','2020-11-10 20:43:23','2020-11-10 20:43:23'),(45,1234,3,40768,40772,57,5245,2,0,'2020-10-04',9714.00,'Factura A N°: 0002-00000085',NULL,'2020-11-10 20:35:03','2020-11-10 20:43:01','2020-11-10 20:43:01'),(46,1234,3,40768,40773,57,5245,2,0,'2020-10-04',6574.12,'Factura A N°: 0005-00000068',NULL,'2020-11-10 20:35:03','2020-11-10 20:42:43','2020-11-10 20:42:43'),(47,1234,3,40768,40774,57,5245,2,0,'2020-10-06',8916.99,'Factura A N°: 0020-00010183',NULL,'2020-11-10 20:35:03','2020-11-10 20:41:34','2020-11-10 20:41:34'),(48,1234,3,40768,40774,57,5245,2,0,'2020-10-06',8916.99,'Factura A N°: 0020-00010183',NULL,'2020-11-10 20:41:34','2020-11-10 20:42:28','2020-11-10 20:42:28'),(49,1234,3,40768,40774,57,5245,2,0,'2020-10-06',8916.99,'Factura A N°: 0020-00010183',NULL,'2020-11-10 20:42:28','2020-11-10 20:42:28',NULL),(50,1234,3,40768,40773,57,5245,2,0,'2020-10-04',6574.12,'Factura A N°: 0005-00000068',NULL,'2020-11-10 20:42:43','2020-11-10 21:57:26','2020-11-10 21:57:26'),(51,1234,3,40768,40772,57,5245,2,0,'2020-10-04',9714.00,'Factura A N°: 0002-00000085',NULL,'2020-11-10 20:43:01','2020-11-10 20:43:01',NULL),(52,1234,3,40768,40771,57,5245,2,0,'2020-10-01',29969.44,'Factura B N°: 0008-00065899',NULL,'2020-11-10 20:43:23','2020-11-10 20:43:23',NULL),(53,1234,3,40768,40775,57,5245,2,0,'2020-10-02',2800.07,'Tique Factura A N°: 0011-00279234',NULL,'2020-11-10 20:47:07','2020-11-10 20:47:07',NULL),(54,1234,3,40768,40776,57,5245,2,0,'2020-10-04',826.94,'Tique Factura A N°: 0294-00000031',NULL,'2020-11-10 20:49:43','2020-11-10 20:49:43',NULL),(55,1234,2,40768,40777,13,5245,1,0,'2020-10-08',2400.08,'Tique Factura A N°: 4453-00042116',NULL,'2020-11-10 20:55:54','2020-11-10 21:04:15','2020-11-10 21:04:15'),(56,1234,2,40768,40775,13,5245,1,0,'2020-10-29',2850.24,'Tique Factura A N°: 0011-00280642',NULL,'2020-11-10 20:57:20','2020-11-10 21:04:06','2020-11-10 21:04:06'),(57,1234,2,40768,40777,13,5245,1,0,'2020-10-07',1900.01,'Tique Factura A N°: 3181-00112193',NULL,'2020-11-10 20:59:56','2020-11-10 21:04:02','2020-11-10 21:04:02');
INSERT INTO `cta_cte_cliente` VALUES (58,1234,2,40768,40778,13,5245,1,0,'2020-10-20',3520.22,'Tique Factura A N°: 0061-00043420',NULL,'2020-11-10 21:03:00','2020-11-10 21:03:57','2020-11-10 21:03:57'),(59,1234,3,40768,40777,57,5245,2,0,'2020-10-08',2400.08,'Tique Factura A N°: 4453-00042116',NULL,'2020-11-10 21:06:29','2020-11-10 21:06:29',NULL),(60,1234,3,40768,40777,57,5245,2,0,'2020-10-07',1900.01,'Tique Factura A N°: 3181-00112193',NULL,'2020-11-10 21:07:43','2020-11-10 21:07:43',NULL),(61,1234,3,40768,40778,57,5245,2,0,'2020-10-20',3520.22,'Tique Factura A N°: 0061-00043420',NULL,'2020-11-10 21:09:35','2020-11-10 21:09:35',NULL),(62,1234,3,40768,40775,57,5245,2,0,'2020-10-29',2850.24,'Tique Factura A N°: 0011-00280642',NULL,'2020-11-10 21:10:52','2020-11-10 21:10:52',NULL),(63,1234,2,40720,40761,13,1525,1,0,'2020-11-12',4840.00,'Factura A N°: 1001-00000041',NULL,'2020-11-12 13:05:45','2020-11-12 13:05:45',NULL),(64,1279,2,40720,40779,13,1525,1,0,'2020-11-12',4840.00,'Factura A N°: 1001-00000042',NULL,'2020-11-12 19:35:48','2020-11-12 19:35:48',NULL),(65,1234,2,40720,40757,13,1524,1,0,'2020-10-03',9680.00,'Factura A N°: 1001-00000024',NULL,'2020-11-16 13:03:16','2020-11-16 13:03:16',NULL),(66,1234,2,40720,40761,13,1524,1,0,'2020-10-03',37570.50,'Factura A N°: 1001-00000025',NULL,'2020-11-16 13:03:16','2020-11-16 13:03:16',NULL),(67,1234,2,40720,40780,13,1524,1,0,'2020-10-04',9680.00,'Factura A N°: 1001-00000026',NULL,'2020-11-16 13:03:16','2020-11-16 13:03:16',NULL),(68,1234,2,40720,40781,13,1524,1,0,'2020-10-08',10890.00,'Factura A N°: 1001-00000027',NULL,'2020-11-16 13:03:16','2020-11-16 13:03:16',NULL),(69,1234,2,40720,40761,13,1524,1,0,'2020-10-12',4840.00,'Factura A N°: 1001-00000028',NULL,'2020-11-16 13:03:17','2020-11-16 13:03:17',NULL),(70,1234,2,40720,40782,13,1524,1,0,'2020-10-12',4840.00,'Factura B N°: 1001-00000003',NULL,'2020-11-16 13:03:17','2020-11-16 13:03:17',NULL),(71,1234,2,40720,40783,13,1524,1,0,'2020-10-14',4840.00,'Factura A N°: 1001-00000029',NULL,'2020-11-16 13:03:17','2020-11-16 13:03:17',NULL),(72,1234,2,40720,40781,13,1524,1,0,'2020-10-14',29040.00,'Factura A N°: 1001-00000030',NULL,'2020-11-16 13:03:17','2020-11-16 13:03:17',NULL),(73,1234,2,40720,40783,13,1524,1,0,'2020-10-15',4840.00,'Factura A N°: 1001-00000031',NULL,'2020-11-16 13:03:17','2020-11-16 13:03:17',NULL),(74,1234,2,40720,40784,13,1524,1,0,'2020-10-15',4840.00,'Factura B N°: 1001-00000004',NULL,'2020-11-16 13:03:17','2020-11-16 13:03:17',NULL),(75,1234,2,40720,40781,13,1524,1,0,'2020-10-18',4840.00,'Factura A N°: 1001-00000032',NULL,'2020-11-16 13:03:17','2020-11-16 13:03:17',NULL),(76,1234,2,40720,40785,13,1524,1,0,'2020-10-19',1210.00,'Factura A N°: 1001-00000033',NULL,'2020-11-16 13:03:17','2020-11-16 13:03:17',NULL),(77,1234,2,40720,40781,13,1524,1,0,'2020-10-26',9075.00,'Factura A N°: 1001-00000034',NULL,'2020-11-16 13:03:17','2020-11-16 13:03:17',NULL),(78,1234,2,40720,40736,13,1524,1,0,'2020-10-27',64594.84,'Factura A N°: 1001-00000035',NULL,'2020-11-16 13:03:17','2020-11-16 13:03:17',NULL),(79,1234,2,40720,40749,13,1524,1,0,'2020-10-27',15739.92,'Factura A N°: 1001-00000036',NULL,'2020-11-16 13:03:17','2020-11-16 13:03:17',NULL),(80,1234,2,40720,40779,13,1524,1,0,'2020-10-28',4598.00,'Factura A N°: 0002-00000107',NULL,'2020-11-16 13:03:17','2020-11-16 13:03:17',NULL),(81,1234,2,40720,40786,13,1524,1,0,'2020-10-30',3509.00,'Factura A N°: 1001-00000037',NULL,'2020-11-16 13:03:17','2020-11-16 13:03:17',NULL),(82,1234,2,40720,40781,13,1524,1,0,'2020-10-30',14520.00,'Factura A N°: 1001-00000038',NULL,'2020-11-16 13:03:17','2020-11-16 13:03:17',NULL),(83,1234,3,40720,40735,57,1524,2,0,'2020-10-01',778.42,'Factura A N°: 0011-00031784',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(84,1234,3,40720,40736,57,1524,2,0,'2020-10-01',7000.00,'Factura A N°: 0010-00019211',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL);
INSERT INTO `cta_cte_cliente` VALUES (85,1234,3,40720,40737,57,1524,2,0,'2020-10-01',12433.52,'Factura A N°: 0005-00111369',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(86,1234,3,40720,40736,57,1524,2,0,'2020-10-02',40772.16,'Factura A N°: 0009-00034900',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(87,1234,3,40720,40738,57,1524,2,0,'2020-10-04',4812.38,'Factura A N°: 0002-00000412',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(88,1234,3,40720,40739,57,1524,2,0,'2020-10-05',16000.00,'Factura C N°: 0001-00000046',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(89,1234,3,40720,40742,57,1524,2,0,'2020-10-05',80568.04,'Factura A N°: 0005-00004798',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(90,1234,3,40720,40744,57,1524,2,0,'2020-10-07',850.00,'Factura A N°: 0001-00000033',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(91,1234,3,40720,40736,57,1524,2,0,'2020-10-08',20386.08,'Factura A N°: 0009-00035011',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(92,1234,3,40720,40736,57,1524,2,0,'2020-10-14',1024.63,'Factura A N°: 0009-00035107',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(93,1234,3,40720,40745,57,1524,2,0,'2020-10-15',2146.37,'Factura A N°: 6723-00806373',NULL,'2020-11-16 13:03:30','2020-11-16 13:26:54','2020-11-16 13:26:54'),(94,1234,3,40720,40751,57,1524,2,0,'2020-10-22',42180.60,'Factura A N°: 0002-00032311',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(95,1234,3,40720,40748,57,1524,2,0,'2020-10-24',2310.00,'Factura B N°: 0007-07513768',NULL,'2020-11-16 13:03:30','2020-11-16 13:26:10','2020-11-16 13:26:10'),(96,1234,3,40720,40751,57,1524,2,0,'2020-10-26',21217.35,'Factura A N°: 0002-00032357',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(97,1234,3,40720,40749,57,1524,2,0,'2020-10-26',86.24,'Factura A N°: 0005-00013959',NULL,'2020-11-16 13:03:30','2020-11-16 13:28:07','2020-11-16 13:28:07'),(98,1234,3,40720,40736,57,1524,2,0,'2020-10-28',2727.82,'Factura A N°: 0009-00035374',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(99,1234,3,40720,40751,57,1524,2,0,'2020-10-29',17681.13,'Factura A N°: 0002-00032432',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(100,1234,3,40720,40787,57,1524,2,0,'2020-10-29',23399.00,'Factura A N°: 0031-00081213',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(101,1234,3,40720,40736,57,1524,1,0,'2020-10-30',8608.99,'Nota de crédito A N°: 0009-00004505',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(102,1234,3,40720,40736,57,1524,2,0,'2020-10-30',21179.24,'Factura A N°: 0009-00035418',NULL,'2020-11-16 13:03:30','2020-11-16 13:03:30',NULL),(103,1279,2,40720,40783,13,1525,1,0,'2020-11-20',4840.00,'Factura A N°: 1001-00000043',NULL,'2020-11-20 16:52:47','2020-11-20 16:52:47',NULL),(104,1234,2,40720,40761,13,1525,1,0,'2020-11-20',47190.00,'Factura A N°: 1001-00000044',NULL,'2020-11-20 17:49:48','2020-11-20 17:49:48',NULL),(105,1279,2,40720,40749,13,1525,1,0,'2020-11-25',540.00,'Factura A N°: 1001-00000045',NULL,'2020-11-25 12:12:38','2020-11-25 12:12:38',NULL),(106,1279,2,40720,40754,13,1525,2,0,'2020-11-25',7865.00,'Nota de crédito A N°: 1001-00000002',NULL,'2020-11-25 13:49:26','2020-11-25 13:49:26',NULL),(107,1279,2,40720,40753,13,1525,2,0,'2020-11-25',7865.00,'Nota de crédito A N°: 1001-00000003',NULL,'2020-11-25 13:52:28','2020-11-25 13:52:28',NULL),(108,1279,2,40720,40753,13,1525,1,0,'2020-11-25',7865.00,'Factura B N°: 1001-00000006',NULL,'2020-11-25 14:23:32','2020-11-25 14:23:32',NULL),(109,1279,2,40720,40754,13,1525,1,0,'2020-11-25',7865.00,'Factura B N°: 1001-00000007',NULL,'2020-11-25 14:24:40','2020-11-25 14:24:40',NULL),(110,1279,2,40720,40736,13,1525,1,0,'2020-11-26',155846.82,'Factura A N°: 1001-00000046',NULL,'2020-11-26 12:55:22','2020-11-26 12:55:22',NULL),(111,1279,2,40720,40785,13,1526,1,0,'2020-12-02',4840.00,'Factura A N°: 1001-00000047',NULL,'2020-12-02 14:52:35','2020-12-02 14:52:35',NULL);
INSERT INTO `cta_cte_cliente` VALUES (112,1279,2,40720,40761,13,1526,1,0,'2020-12-02',7260.00,'Factura A N°: 1001-00000048',NULL,'2020-12-02 14:56:25','2020-12-02 14:56:25',NULL),(113,1279,2,40720,40789,13,1526,1,0,'2020-12-02',4000.00,'Factura A N°: 1001-00000049',NULL,'2020-12-02 15:15:52','2020-12-02 15:15:52',NULL),(114,1279,2,40720,40781,13,1526,1,0,'2020-12-10',9680.00,'Factura A N°: 1001-00000050',NULL,'2020-12-10 12:14:28','2020-12-10 12:14:28',NULL),(115,1279,2,40720,40749,13,1526,1,0,'2020-12-10',2913.52,'Factura A N°: 1001-00000051',NULL,'2020-12-10 14:36:45','2021-01-06 19:45:46','2021-01-06 19:45:46'),(116,1279,2,40720,40785,13,1526,1,0,'2020-12-21',1210.00,'Factura A N°: 1001-00000052',NULL,'2020-12-21 12:26:37','2020-12-21 12:26:37',NULL),(117,1279,2,40720,40790,13,1526,1,0,'2020-12-23',9075.00,'Factura A N°: 1001-00000053',NULL,'2020-12-23 11:34:33','2020-12-23 11:34:33',NULL),(118,1279,2,40720,40791,13,1526,1,0,'2020-12-23',9680.00,'Factura A N°: 1001-00000054',NULL,'2020-12-23 15:22:33','2020-12-23 15:22:33',NULL),(119,1279,2,40720,40792,13,1526,1,0,'2020-12-24',4235.00,'Factura A N°: 1001-00000055',NULL,'2020-12-24 13:48:34','2020-12-24 13:48:34',NULL),(120,1279,2,40720,40749,13,1526,1,0,'2020-12-28',2418.00,'Factura A N°: 1001-00000056',NULL,'2020-12-28 12:51:08','2020-12-28 12:51:08',NULL),(121,1279,2,40720,40736,13,1526,1,0,'2020-12-30',200239.90,'Factura A N°: 1001-00000057',NULL,'2020-12-30 12:59:45','2020-12-30 12:59:45',NULL),(122,1279,2,40720,40781,13,1526,1,0,'2020-12-30',9680.00,'Factura A N°: 1001-00000058',NULL,'2020-12-30 13:06:36','2020-12-30 13:06:36',NULL),(123,1279,2,40720,40794,13,1526,1,0,'2020-12-31',9680.00,'Factura A N°: 1001-00000059',NULL,'2020-12-31 13:01:28','2020-12-31 13:01:28',NULL),(124,1279,2,40720,40781,13,1526,1,0,'2020-12-31',19360.00,'Factura A N°: 1001-00000060',NULL,'2020-12-31 21:20:10','2020-12-31 21:20:10',NULL),(125,1279,2,40720,40795,13,1530,1,0,'2021-01-04',4840.00,'Factura A N°: 1001-00000061',NULL,'2021-01-04 12:16:01','2021-01-04 12:16:01',NULL),(126,1279,2,40720,40761,13,1530,1,0,'2021-01-04',4840.00,'Factura A N°: 1001-00000062',NULL,'2021-01-04 12:22:51','2021-01-04 12:22:51',NULL),(127,1279,2,40720,40796,13,1530,1,0,'2021-01-06',3025.00,'Factura A N°: 1001-00000063',NULL,'2021-01-06 13:27:10','2021-01-06 13:27:10',NULL),(128,1279,2,40720,40797,13,1530,1,0,'2021-01-06',4235.00,'Factura A N°: 1001-00000064',NULL,'2021-01-06 14:24:42','2021-01-06 14:24:42',NULL),(129,1279,2,40720,40749,13,1526,1,0,'2020-12-10',2913.52,'Factura A N°: 1001-00000051',NULL,'2021-01-06 19:45:46','2021-01-06 19:45:46',NULL),(130,1279,2,40720,40749,13,1530,1,0,'2021-01-06',2660.70,'Factura A N°: 1001-00000065',NULL,'2021-01-06 19:50:44','2021-01-06 19:50:44',NULL),(131,1279,2,40720,40781,13,1530,1,0,'2021-01-18',9680.00,'Factura A N°: 1001-00000066',NULL,'2021-01-18 14:12:54','2021-01-18 14:12:54',NULL),(132,1279,2,40720,40781,13,1530,1,0,'2021-01-21',24200.00,'Factura A N°: 1001-00000067',NULL,'2021-01-21 14:53:58','2021-01-21 14:53:58',NULL),(133,1279,2,40720,40798,13,1530,1,0,'2021-01-25',18634.00,'Factura A N°: 1001-00000068',NULL,'2021-01-25 14:04:01','2021-01-25 14:04:01',NULL),(134,1279,2,40720,40761,13,1530,1,0,'2021-01-26',3085.50,'Factura A N°: 1001-00000069',NULL,'2021-01-26 15:00:14','2021-01-26 15:00:14',NULL),(135,1279,2,40720,40749,13,1530,1,0,'2021-01-26',59368.00,'Factura A N°: 1001-00000070',NULL,'2021-01-26 15:02:42','2021-01-26 15:02:42',NULL),(136,1279,2,40720,40797,13,1531,1,0,'2021-02-01',4840.00,'Factura B N°: 1001-00000008',NULL,'2021-02-01 14:24:09','2021-02-01 14:24:09',NULL),(137,1279,2,40720,40797,13,1531,1,0,'2021-02-01',4840.00,'Factura B N°: 1001-00000009',NULL,'2021-02-01 15:24:40','2021-02-01 15:24:40',NULL),(138,1279,2,40720,40797,13,1531,2,0,'2021-02-01',4840.00,'Nota de crédito A N°: 1001-00000004',NULL,'2021-02-01 15:30:33','2021-02-01 15:30:33',NULL);
INSERT INTO `cta_cte_cliente` VALUES (139,1279,2,40720,40797,13,1531,2,0,'2021-02-01',4840.00,'Nota de crédito B N°: 1001-00000002',NULL,'2021-02-01 15:40:11','2021-02-01 15:40:11',NULL),(140,1279,2,40720,40736,13,1531,1,0,'2021-02-04',126506.01,'Factura A N°: 1001-00000071',NULL,'2021-02-04 12:53:23','2021-02-04 12:53:23',NULL),(141,1279,2,40720,40799,13,1531,1,0,'2021-02-05',2000.00,'Factura B N°: 1001-00000010',NULL,'2021-02-05 16:00:51','2021-02-05 16:00:51',NULL),(142,1234,2,40800,40801,13,6300,1,0,'2021-01-07',44788.15,'Factura A N°: 0003-00000040',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(143,1234,2,40800,40802,13,6300,1,0,'2021-01-12',5526.07,'Factura A N°: 0003-00000041',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(144,1234,2,40800,40803,13,6300,1,0,'2021-01-20',7000.00,'Factura B N°: 0003-00000143',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(145,1234,2,40800,40803,13,6300,1,0,'2021-01-20',3555.00,'Factura B N°: 0003-00000144',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(146,1234,2,40800,40804,13,6300,1,0,'2021-01-20',17431.00,'Factura B N°: 0003-00000145',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(147,1234,2,40800,40805,13,6300,1,0,'2021-01-20',8920.00,'Factura B N°: 0003-00000146',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(148,1234,2,40800,40806,13,6300,1,0,'2021-01-20',15891.00,'Factura B N°: 0003-00000147',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(149,1234,2,40800,40807,13,6300,1,0,'2021-01-20',7266.00,'Factura B N°: 0003-00000148',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(150,1234,2,40800,40808,13,6300,1,0,'2021-01-21',6742.12,'Factura A N°: 0003-00000042',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(151,1234,2,40800,40809,13,6300,1,0,'2021-01-22',13416.48,'Factura A N°: 0003-00000043',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(152,1234,2,40800,40810,13,6300,1,0,'2021-01-26',11645.04,'Factura A N°: 0003-00000044',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(153,1234,2,40800,40811,13,6300,1,0,'2021-01-26',12713.47,'Factura A N°: 0003-00000045',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(154,1234,2,40800,40809,13,6300,1,0,'2021-01-27',17399.80,'Factura A N°: 0003-00000046',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(155,1234,2,40800,40812,13,6300,1,0,'2021-01-28',72603.63,'Factura A N°: 0003-00000047',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(156,1234,2,40800,40813,13,6300,1,0,'2021-01-29',8670.00,'Factura B N°: 0003-00000149',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(157,1234,2,40800,40814,13,6300,1,0,'2021-01-29',7976.00,'Factura B N°: 0003-00000150',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(158,1234,2,40800,40815,13,6300,1,0,'2021-01-29',12714.00,'Factura B N°: 0003-00000151',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(159,1234,2,40800,40816,13,6300,1,0,'2021-01-29',2376.00,'Factura B N°: 0003-00000152',NULL,'2021-02-06 20:27:19','2021-02-06 20:27:19',NULL),(160,1234,2,40800,40817,13,6300,1,0,'2021-01-09',30208.86,'Factura A N°: 0004-00000001',NULL,'2021-02-06 20:27:42','2021-02-06 20:27:42',NULL),(161,1234,2,40800,40818,13,6300,1,0,'2021-01-12',77782.43,'Factura A N°: 0004-00000002',NULL,'2021-02-06 20:27:42','2021-02-06 20:27:42',NULL),(162,1234,2,40800,40819,13,6300,1,0,'2021-01-29',11770.00,'Factura B N°: 0004-00000007',NULL,'2021-02-06 20:27:42','2021-02-06 20:27:42',NULL),(163,1234,2,40800,40820,13,6300,1,0,'2021-01-29',45763.00,'Factura B N°: 0004-00000008',NULL,'2021-02-06 20:27:42','2021-02-06 20:27:42',NULL),(164,1234,2,40800,40821,13,6300,1,0,'2021-01-29',11182.00,'Factura B N°: 0004-00000009',NULL,'2021-02-06 20:27:42','2021-02-06 20:27:42',NULL),(165,1234,2,40800,40822,13,6300,1,0,'2021-01-29',154059.00,'Factura B N°: 0004-00000010',NULL,'2021-02-06 20:27:42','2021-02-06 20:27:42',NULL);
INSERT INTO `cta_cte_cliente` VALUES (166,1234,3,40800,40828,57,6300,2,0,'2021-01-31',327692.59,'Factura A N°: 0003-00008316',NULL,'2021-02-07 20:27:49','2021-02-08 15:17:14','2021-02-08 15:17:14'),(167,1234,20,40800,40718,13,6300,2,0,'2021-01-31',607399.05,'',NULL,'2021-02-07 20:50:26','2021-02-07 20:50:26',NULL),(168,1234,21,40800,40828,57,6300,1,0,'2021-02-07',327692.59,'',NULL,'2021-02-07 20:51:44','2021-02-07 20:51:44',NULL),(169,1234,3,40720,40738,57,1530,2,0,'2021-01-01',11341.57,'Factura A N°: 0002-00000434',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(170,1234,3,40720,40735,57,1530,2,0,'2021-01-04',879.21,'Factura A N°: 0011-00033255',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(171,1234,3,40720,40736,57,1530,2,0,'2021-01-04',4119.45,'Factura A N°: 0009-00036428',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(172,1234,3,40720,40736,57,1530,2,0,'2021-01-04',4100.00,'Factura A N°: 0010-00019857',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(173,1234,3,40720,40737,57,1530,2,0,'2021-01-04',22359.72,'Factura A N°: 0005-00115058',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(174,1234,3,40720,40742,57,1530,2,0,'2021-01-05',73920.00,'Factura A N°: 0005-00005159',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(175,1234,3,40720,40736,57,1530,1,0,'2021-01-07',3666.30,'Nota de crédito A N°: 0009-00004688',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(176,1234,3,40720,40736,57,1530,2,0,'2021-01-07',1934.79,'Factura A N°: 0009-00036520',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(177,1234,3,40720,40739,57,1530,2,0,'2021-01-08',32000.00,'Factura C N°: 0001-00000056',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(178,1234,3,40720,40736,57,1530,2,0,'2021-01-19',3624.56,'Factura A N°: 0009-00036715',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(179,1234,3,40720,40736,57,1530,2,0,'2021-01-19',1238.74,'Factura A N°: 0009-00036716',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(180,1234,3,40720,40829,57,1530,2,0,'2021-01-21',30000.00,'Factura A N°: 0005-00000695',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(181,1234,3,40720,40736,57,1530,1,0,'2021-01-22',4695.02,'Nota de crédito A N°: 0010-00000473',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(182,1234,3,40720,40830,57,1530,2,0,'2021-01-25',3220.72,'Factura B N°: 0286-00023701',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(183,1234,3,40720,40749,57,1530,2,0,'2021-01-26',5915.49,'Factura A N°: 0005-00014523',NULL,'2021-02-07 21:59:33','2021-02-07 21:59:33',NULL),(184,1234,2,40758,40831,13,5963,1,0,'2021-01-04',732279.37,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A N°: 0001-00000004',NULL,'2021-02-08 14:28:38','2021-02-08 14:28:38',NULL),(185,1234,2,40758,40831,13,5963,1,0,'2021-01-04',219547.36,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A N°: 0001-00000005',NULL,'2021-02-08 14:28:38','2021-02-08 14:28:38',NULL),(186,1234,2,40758,40832,13,5963,1,0,'2021-01-05',442406.25,'Factura A N°: 0001-00000007',NULL,'2021-02-08 14:28:38','2021-02-08 14:28:38',NULL),(187,1234,2,40758,40833,13,5963,1,0,'2021-01-07',259106.53,'Factura A N°: 0001-00000008',NULL,'2021-02-08 14:28:38','2021-02-08 14:28:38',NULL),(188,1234,2,40758,40834,13,5963,1,0,'2021-01-07',259106.53,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A N°: 0001-00000006',NULL,'2021-02-08 14:28:38','2021-02-08 14:28:38',NULL),(189,1234,2,40758,40831,13,5963,1,0,'2021-01-14',202070.00,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A N°: 0001-00000007',NULL,'2021-02-08 14:28:38','2021-02-08 14:28:38',NULL),(190,1234,2,40758,40831,13,5963,1,0,'2021-01-28',659777.46,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A N°: 0001-00000008',NULL,'2021-02-08 14:28:38','2021-02-08 14:28:38',NULL),(191,1234,3,40800,40828,57,6300,2,0,'2021-01-31',327692.59,'Factura A N°: 0003-00008316',NULL,'2021-02-08 15:17:14','2021-02-08 15:17:14',NULL);
INSERT INTO `cta_cte_cliente` VALUES (192,1234,2,40768,40769,13,6195,1,0,'2021-01-03',60778.05,'Factura B N°: 0004-00000015',NULL,'2021-02-08 18:03:20','2021-02-08 18:03:20',NULL),(193,1234,2,40768,40769,13,6195,1,0,'2021-01-03',99867.47,'Factura B N°: 0004-00000016',NULL,'2021-02-08 18:03:20','2021-02-08 18:03:20',NULL),(194,1234,2,40768,40837,13,6195,1,0,'2021-01-12',6393.29,'Factura A N°: 0004-00000007',NULL,'2021-02-08 18:03:20','2021-02-08 18:03:20',NULL),(195,1234,2,40768,40838,13,6195,1,0,'2021-01-18',1200.00,'Factura B N°: 0004-00000017',NULL,'2021-02-08 18:03:20','2021-02-08 18:03:20',NULL),(196,1234,2,40768,40839,13,6195,1,0,'2021-01-21',18150.00,'Factura A N°: 0004-00000008',NULL,'2021-02-08 18:03:20','2021-02-08 18:03:20',NULL),(197,1234,2,40768,40769,13,6195,1,0,'2021-01-24',99867.47,'Factura B N°: 0004-00000018',NULL,'2021-02-08 18:03:20','2021-02-08 18:03:20',NULL),(198,1234,2,40768,40769,13,6195,1,0,'2021-01-24',124239.25,'Factura B N°: 0004-00000019',NULL,'2021-02-08 18:03:20','2021-02-08 18:03:20',NULL),(199,1234,2,40768,40769,13,6195,1,0,'2021-01-24',184582.48,'Factura B N°: 0004-00000020',NULL,'2021-02-08 18:03:20','2021-02-08 18:03:20',NULL),(200,1234,3,40768,40771,57,6195,2,0,'2021-01-01',29807.69,'Factura A N°: 0008-00015306',NULL,'2021-02-08 18:16:21','2021-02-08 18:16:21',NULL),(201,1234,3,40768,40840,57,6195,2,0,'2021-01-08',2700.84,'Factura A N°: 0048-00026041',NULL,'2021-02-08 18:16:21','2021-02-08 18:16:21',NULL),(202,1234,3,40768,40840,57,6195,1,0,'2021-01-08',200.00,'Nota de crédito A N°: 0048-00000487',NULL,'2021-02-08 18:16:21','2021-02-08 18:47:25','2021-02-08 18:47:25'),(203,1234,3,40768,40841,57,6195,2,0,'2021-01-15',12000.00,'Factura A N°: 0004-00013109',NULL,'2021-02-08 18:16:21','2021-02-08 18:16:21',NULL),(204,1234,3,40768,40777,57,6195,2,0,'2021-01-03',3288.30,'Factura A N°: 3190-00109209',NULL,'2021-02-08 18:30:11','2021-02-08 18:30:11',NULL),(205,1234,3,40768,40842,57,6195,2,0,'2021-01-13',3600.00,'Factura A N°: 0069-00113151',NULL,'2021-02-08 18:31:47','2021-02-08 18:31:47',NULL),(206,1234,3,40768,40775,57,6195,2,0,'2021-01-22',3800.12,'Factura A N°: 0011-00282062',NULL,'2021-02-08 18:32:54','2021-02-08 18:32:54',NULL),(207,1234,3,40768,40776,57,6195,2,0,'2021-01-30',1672.43,'Factura A N°: 0295-00000199',NULL,'2021-02-08 18:34:25','2021-02-08 18:47:09','2021-02-08 18:47:09'),(208,1279,2,40720,40749,13,1531,1,0,'2021-02-25',40072.48,'Factura A N°: 1001-00000072',NULL,'2021-02-25 14:41:20','2021-02-25 14:41:20',NULL),(209,1279,2,40720,40736,13,1532,1,0,'2021-03-06',140098.75,'Factura A N°: 1001-00000073',NULL,'2021-03-06 14:37:31','2021-03-06 14:37:31',NULL),(210,1279,2,40720,40798,13,1532,1,0,'2021-03-10',9680.00,'Factura A N°: 1001-00000074',NULL,'2021-03-10 14:27:59','2021-03-10 14:27:59',NULL),(211,1279,2,40720,40761,13,1532,1,0,'2021-03-14',4840.00,'Factura A N°: 1001-00000075',NULL,'2021-03-14 21:31:33','2021-03-14 21:31:33',NULL),(212,1279,2,40720,40761,13,1532,1,0,'2021-03-15',4840.00,'Factura A N°: 1001-00000076',NULL,'2021-03-15 13:49:55','2021-03-15 13:49:55',NULL),(213,1234,2,40758,40833,13,5964,1,0,'2021-02-03',234368.76,'Factura A N°: 0001-00000009',NULL,'2021-03-21 15:52:20','2021-03-21 15:52:20',NULL),(214,1234,2,40758,40831,13,5964,1,0,'2021-02-03',249607.37,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A N°: 0001-00000009',NULL,'2021-03-21 15:52:20','2021-03-21 15:52:20',NULL),(215,1234,2,40758,40834,13,5964,1,0,'2021-02-03',234368.76,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A N°: 0001-00000010',NULL,'2021-03-21 15:52:20','2021-03-21 15:52:20',NULL),(216,1234,2,40758,40831,13,5964,1,0,'2021-02-17',278300.00,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A N°: 0001-00000011',NULL,'2021-03-21 15:52:20','2021-03-21 15:52:20',NULL),(217,1234,3,40758,40843,57,5964,2,0,'2021-02-01',21296.00,'Factura A N°: 0005-00004306',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL);
INSERT INTO `cta_cte_cliente` VALUES (218,1234,3,40758,40844,57,5964,2,0,'2021-02-02',2835.00,'Factura A N°: 0004-00002521',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(219,1234,3,40758,40835,57,5964,2,0,'2021-02-02',238572.82,'Factura A N°: 0021-00101216',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(220,1234,3,40758,40844,57,5964,2,0,'2021-02-03',100.00,'Factura A N°: 0004-00002528',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(221,1234,3,40758,40844,57,5964,2,0,'2021-02-03',1350.00,'Factura A N°: 0004-00002527',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(222,1234,3,40758,40845,57,5964,2,0,'2021-02-03',20403.78,'Factura A N°: 0014-00025454',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(223,1234,3,40758,40845,57,5964,2,0,'2021-02-03',17461.33,'Factura A N°: 0014-00025447',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(224,1234,3,40758,40845,57,5964,2,0,'2021-02-04',11988.28,'Factura A N°: 0014-00025467',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(225,1234,3,40758,40846,57,5964,2,0,'2021-02-04',983.60,'Factura A N°: 0004-00065589',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(226,1234,3,40758,40846,57,5964,2,0,'2021-02-04',983.60,'Factura A N°: 0004-00065590',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(227,1234,3,40758,40829,57,5964,2,0,'2021-02-05',13132.57,'Factura A N°: 0005-00000699',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(228,1234,3,40758,40829,57,5964,2,0,'2021-02-05',13132.57,'Factura A N°: 0005-00000698',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(229,1234,3,40758,40847,57,5964,2,0,'2021-02-05',5247.68,'Factura A N°: 0002-00040690',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(230,1234,3,40758,40848,57,5964,2,0,'2021-02-08',11000.00,'Factura A N°: 0011-00045101',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(231,1234,3,40758,40844,57,5964,2,0,'2021-02-10',1259.00,'Factura A N°: 0004-00002535',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(232,1234,3,40758,40849,57,5964,2,0,'2021-02-10',960.00,'Factura C N°: 0004-00000435',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(233,1234,3,40758,40850,57,5964,2,0,'2021-02-11',1000.00,'Factura A N°: 0543-00022731',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(234,1234,3,40758,40845,57,5964,2,0,'2021-02-11',11521.62,'Factura A N°: 0014-00025557',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(235,1234,3,40758,40845,57,5964,2,0,'2021-02-12',14379.00,'Factura A N°: 0014-00025590',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(236,1234,3,40758,40845,57,5964,2,0,'2021-02-12',19556.82,'Factura A N°: 0014-00025589',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(237,1234,3,40758,40851,57,5964,2,0,'2021-02-17',33954.08,'Factura A N°: 0013-00002744',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(238,1234,3,40758,40851,57,5964,2,0,'2021-02-17',113693.29,'Factura A N°: 0013-00002745',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(239,1234,3,40758,40843,57,5964,2,0,'2021-02-17',28483.40,'Factura A N°: 0005-00004384',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(240,1234,3,40758,40852,57,5964,2,0,'2021-02-17',27000.00,'Factura C N°: 0002-00000088',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(241,1234,3,40758,40719,57,5964,2,0,'2021-02-18',15000.00,'Factura C N°: 0002-00000028',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(242,1234,3,40758,40848,57,5964,2,0,'2021-02-19',12800.00,'Factura A N°: 0011-00045278',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(243,1234,3,40758,40844,57,5964,2,0,'2021-02-19',1880.00,'Factura A N°: 0004-00002543',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(244,1234,3,40758,40848,57,5964,2,0,'2021-02-19',6210.00,'Factura A N°: 0011-00045281',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(245,1234,3,40758,40835,57,5964,2,0,'2021-02-22',135049.42,'Factura A N°: 0021-00102113',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL);
INSERT INTO `cta_cte_cliente` VALUES (246,1234,3,40758,40844,57,5964,2,0,'2021-02-23',450.00,'Factura A N°: 0004-00002555',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(247,1234,3,40758,40845,57,5964,2,0,'2021-02-25',17227.62,'Factura A N°: 0014-00025721',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(248,1234,3,40758,40853,57,5964,2,0,'2021-02-26',26499.00,'Factura A N°: 0005-00000934',NULL,'2021-03-21 15:56:13','2021-03-21 15:56:13',NULL),(249,1279,2,40720,40749,13,1532,1,0,'2021-03-27',78139.24,'Factura A N°: 1001-00000000',NULL,'2021-03-27 21:18:44','2021-03-27 21:18:44',NULL),(250,1279,2,40720,40779,13,1532,1,0,'2021-03-29',4840.00,'Factura A N°: 1001-00000000',NULL,'2021-03-29 14:57:36','2021-03-29 14:57:36',NULL),(251,1279,2,40720,40761,13,1533,1,0,'2021-04-01',18150.00,'Factura A N°: 1001-00000000',NULL,'2021-04-01 14:03:43','2021-04-01 14:03:43',NULL),(252,1279,2,40720,40761,13,1533,1,0,'2021-04-04',4840.00,'Factura A N°: 1001-00000000',NULL,'2021-04-04 23:49:56','2021-04-04 23:49:56',NULL),(253,1279,2,40720,40781,13,1533,1,0,'2021-04-05',4840.00,'Factura A N°: 1001-00000000',NULL,'2021-04-05 14:07:48','2021-04-05 14:08:04','2021-04-05 14:08:04'),(254,1279,2,40720,40781,13,1533,1,0,'2021-04-05',4840.00,'Factura A N°: 1001-00000000',NULL,'2021-04-05 14:08:16','2021-04-05 14:08:18','2021-04-05 14:08:18'),(255,1279,2,40720,40781,13,1533,1,0,'2021-04-05',4840.00,'Factura A N°: 1001-00000000',NULL,'2021-04-05 14:09:19','2021-04-05 14:09:22','2021-04-05 14:09:22'),(256,1279,2,40720,40781,13,1533,1,0,'2021-04-05',4840.00,'Factura A N°: 1001-00000000',NULL,'2021-04-05 14:10:16','2021-04-05 14:10:19','2021-04-05 14:10:19'),(257,1279,2,40720,40781,13,1533,1,0,'2021-04-05',4840.00,'Factura A N°: 1001-00000000',NULL,'2021-04-05 14:10:28','2021-04-05 14:10:30','2021-04-05 14:10:30'),(258,1279,2,40720,40781,13,1533,1,0,'2021-04-06',4840.00,'Factura A N°: 1001-00000000',NULL,'2021-04-06 12:28:26','2021-04-06 12:28:26',NULL),(259,1279,2,40720,40761,13,1533,1,0,'2021-04-06',13068.00,'Factura A N°: 1001-00000000',NULL,'2021-04-06 12:38:38','2021-04-06 12:38:40','2021-04-06 12:38:40'),(260,1279,2,40720,40761,13,1533,1,0,'2021-04-06',13068.00,'Factura A N°: 1001-00000000',NULL,'2021-04-06 12:38:47','2021-04-06 12:39:10','2021-04-06 12:39:10'),(261,1279,2,40720,40761,13,1533,1,0,'2021-04-06',13068.00,'Factura A N°: 1001-00000000',NULL,'2021-04-06 12:46:11','2021-04-06 12:46:13','2021-04-06 12:46:13'),(262,1279,2,40720,40854,13,1533,1,0,'2021-04-07',9075.00,'Factura A N°: 1001-00000000',NULL,'2021-04-07 16:12:34','2021-04-07 16:12:34',NULL),(263,1279,2,40720,40855,13,1533,1,0,'2021-04-07',9075.00,'Factura A N°: 1001-00000000',NULL,'2021-04-07 16:14:26','2021-04-07 16:14:26',NULL),(264,1279,2,40720,40736,13,1533,1,0,'2021-04-09',218998.32,'Factura A N°: 1001-00000000',NULL,'2021-04-09 14:50:22','2021-04-09 14:50:22',NULL),(265,1279,2,40720,40798,13,1533,1,0,'2021-04-12',9680.00,'Factura A N°: 1001-00000000',NULL,'2021-04-12 12:00:10','2021-04-12 12:00:10',NULL),(266,1279,2,40720,40781,13,1533,1,0,'2021-04-14',4840.00,'Factura A N°: 1001-00000000',NULL,'2021-04-14 11:45:44','2021-04-14 11:45:44',NULL),(267,1279,2,40720,40781,13,1533,1,0,'2021-04-22',9680.00,'Factura A N°: 1001-00000000',NULL,'2021-04-22 12:01:53','2021-04-22 12:01:53',NULL),(268,1279,2,40720,40857,13,1533,1,0,'2021-04-22',19360.00,'Factura A N°: 1001-00000000',NULL,'2021-04-22 12:33:14','2021-04-22 12:33:14',NULL),(269,1279,2,40720,40761,13,1533,1,0,'2021-04-26',10043.00,'Factura A N°: 1001-00000000',NULL,'2021-04-26 10:14:55','2021-04-26 10:14:55',NULL),(270,1279,2,40720,40761,13,1533,1,0,'2021-04-26',10043.00,'Factura A N°: 1001-00000000',NULL,'2021-04-26 10:15:11','2021-04-26 10:15:11',NULL),(271,1279,2,40720,40761,13,1533,1,0,'2021-04-26',10043.00,'Factura A N°: 1001-00000000',NULL,'2021-04-26 10:15:25','2021-04-26 10:15:25',NULL),(272,1279,2,40720,40798,13,1533,1,0,'2021-04-26',9680.00,'Factura A N°: 1001-00000000',NULL,'2021-04-26 10:45:07','2021-04-26 10:45:09','2021-04-26 10:45:09');
INSERT INTO `cta_cte_cliente` VALUES (273,1279,2,40720,40798,13,1533,1,0,'2021-04-26',9680.00,'Factura A N°: 1001-00000000',NULL,'2021-04-26 10:45:21','2021-04-26 10:45:22','2021-04-26 10:45:22'),(274,1279,2,40720,40798,13,1533,1,0,'2021-04-26',9680.00,'Factura A N°: 1001-00000000',NULL,'2021-04-26 10:46:21','2021-04-26 10:46:23','2021-04-26 10:46:23'),(275,1279,2,40720,40798,13,1533,1,0,'2021-04-26',9680.00,'Factura A N°: 1001-00000000',NULL,'2021-04-26 11:32:30','2021-04-26 11:32:32','2021-04-26 11:32:32'),(276,1279,2,40720,40798,13,1533,1,0,'2021-04-26',9680.00,'Factura A N°: 1001-00000000',NULL,'2021-04-26 11:34:50','2021-04-26 11:34:52','2021-04-26 11:34:52'),(277,1279,2,40720,40781,13,1533,1,0,'2021-04-24',4840.00,'Factura A N°: 1001-00000000',NULL,'2021-04-26 22:56:08','2021-04-26 22:56:11','2021-04-26 22:56:11'),(278,1279,2,40720,40781,13,1533,1,0,'2021-04-26',4840.00,'Factura A N°: 1001-00000000',NULL,'2021-04-26 22:57:05','2021-04-26 22:57:05',NULL),(279,1279,2,40720,40798,13,1533,1,0,'2021-04-26',9680.00,'Factura A N°: 1001-00000000',NULL,'2021-04-26 22:58:15','2021-04-26 22:58:15',NULL),(280,1279,2,40720,40857,13,1533,2,0,'2021-04-28',19360.00,'Nota de crédito A N°: 1001-00000000',NULL,'2021-04-28 08:37:33','2021-04-28 08:37:33',NULL),(281,1279,2,40720,40761,13,1533,2,0,'2021-04-28',10043.00,'Nota de crédito A N°: 1001-00000000',NULL,'2021-04-28 08:56:02','2021-04-28 08:56:02',NULL),(282,1279,2,40720,40761,13,1533,2,0,'2021-04-28',10043.00,'Nota de crédito A N°: 1001-00000000',NULL,'2021-04-28 08:56:45','2021-04-28 08:56:45',NULL),(283,1279,2,40720,40858,13,1533,1,0,'2021-04-28',4000.00,'Factura A N°: 1001-00000000',NULL,'2021-04-28 09:49:12','2021-04-28 09:49:12',NULL),(284,1279,2,40720,40749,13,1533,1,0,'2021-04-28',43063.27,'Factura A N°: 1001-00000000',NULL,'2021-04-28 09:55:10','2021-04-28 09:55:10',NULL),(285,1279,2,40720,40858,13,1533,2,0,'2021-04-28',4000.00,'Nota de crédito A N°: 1001-00000000',NULL,'2021-04-28 09:59:29','2021-04-28 09:59:29',NULL),(286,1279,2,40720,40858,13,1533,1,0,'2021-04-28',4000.00,'Factura B N°: 1001-00000000',NULL,'2021-04-28 10:06:25','2021-04-28 10:06:25',NULL),(287,1279,2,40720,40761,13,1533,1,0,'2021-04-28',31460.00,'Factura A N°: 1001-00000000',NULL,'2021-04-28 11:42:26','2021-04-28 11:42:26',NULL),(288,1279,2,40720,40761,13,1533,1,0,'2021-04-28',4840.00,'Factura A N°: 1001-00000000',NULL,'2021-04-28 12:09:26','2021-04-28 12:09:26',NULL),(289,1279,2,40720,40736,13,1534,1,0,'2021-05-04',287620.18,'Factura A N°: 1001-00000000',NULL,'2021-05-04 08:53:14','2021-05-04 08:53:14',NULL),(290,1279,2,40720,40779,13,1534,1,0,'2021-05-12',4840.00,'Factura A N°: 1001-00000000',NULL,'2021-05-12 10:10:28','2021-05-12 10:10:28',NULL),(291,1279,2,40720,40781,13,1534,1,0,'2021-05-14',29040.00,'Factura A N°: 1001-00000000',NULL,'2021-05-14 08:44:32','2021-05-14 08:44:32',NULL),(292,1279,2,40720,40761,13,1534,1,0,'2021-05-17',12705.00,'Factura A N°: 1001-00000000',NULL,'2021-05-17 11:51:36','2021-05-17 11:51:36',NULL),(293,1279,2,40720,40859,13,1534,1,0,'2021-05-24',18876.00,'Factura A N°: 1001-00000000',NULL,'2021-05-24 09:43:45','2021-05-24 09:43:45',NULL),(294,1279,2,40720,40749,13,1534,1,0,'2021-05-26',52903.08,'Factura A N°: 1001-00000000',NULL,'2021-05-26 13:04:16','2021-05-26 13:04:16',NULL),(295,1279,2,40720,40781,13,1534,1,0,'2021-05-27',4840.00,'Factura A N°: 1001-00000000',NULL,'2021-05-27 09:19:11','2021-05-27 09:19:11',NULL),(296,1279,2,40720,40780,13,1534,1,0,'2021-05-28',93018.75,'Factura A N°: 1001-00000000',NULL,'2021-05-28 16:40:34','2021-05-28 16:40:34',NULL),(297,1279,2,40720,40860,13,1535,1,0,'2021-06-05',8591.00,'Factura A N°: 1001-00000000',NULL,'2021-06-05 08:55:25','2021-06-05 08:55:25',NULL),(298,1279,2,40720,40736,13,1535,1,0,'2021-06-06',324015.10,'Factura A N°: 1001-00000000',NULL,'2021-06-06 10:54:04','2021-06-06 10:54:04',NULL),(299,1279,2,40720,40749,13,1535,1,0,'2021-06-06',32053.95,'Factura A N°: 1001-00000000',NULL,'2021-06-06 10:56:55','2021-06-06 10:56:55',NULL);
INSERT INTO `cta_cte_cliente` VALUES (300,1279,2,40720,40862,13,1535,1,0,'2021-06-07',9438.00,'Factura A N°: 1001-00000000',NULL,'2021-06-07 08:06:36','2021-06-07 08:06:40','2021-06-07 08:06:40'),(301,1279,2,40720,40862,13,1535,1,0,'2021-06-07',9438.00,'Factura A N°: 1001-00000000',NULL,'2021-06-07 08:07:25','2021-06-07 08:07:27','2021-06-07 08:07:27'),(302,1279,2,40720,40862,13,1535,1,0,'2021-06-07',9438.00,'Factura A N°: 1001-00000000',NULL,'2021-06-07 08:07:44','2021-06-07 08:07:45','2021-06-07 08:07:45'),(303,1279,2,40720,40862,13,1535,1,0,'2021-06-07',9438.00,'Factura A N°: 1001-00000000',NULL,'2021-06-07 08:08:05','2021-06-07 08:08:06','2021-06-07 08:08:06'),(304,1279,2,40720,40862,13,1535,1,0,'2021-06-07',9438.00,'Factura A N°: 1001-00000000',NULL,'2021-06-07 08:14:37','2021-06-07 08:14:39','2021-06-07 08:14:39'),(305,1279,2,40720,40862,13,1535,1,0,'2021-06-07',9438.00,'Factura A N°: 1001-00000000',NULL,'2021-06-07 08:29:27','2021-06-07 08:29:29','2021-06-07 08:29:29'),(306,1279,2,40720,40862,13,1535,1,0,'2021-06-07',9438.00,'Factura A N°: 1001-00000000',NULL,'2021-06-07 08:41:43','2021-06-07 08:41:45','2021-06-07 08:41:45'),(307,1279,2,40720,40862,13,1535,1,0,'2021-06-07',9438.00,'Factura A N°: 1001-00000000',NULL,'2021-06-07 09:10:02','2021-06-07 09:10:04','2021-06-07 09:10:04'),(308,1279,2,40720,40862,13,1535,1,0,'2021-06-07',9438.00,'Factura A N°: 1001-00000000',NULL,'2021-06-07 09:22:05','2021-06-07 09:22:06','2021-06-07 09:22:06'),(309,1279,2,40720,40863,13,1535,1,0,'2021-06-07',1815.00,'Factura A N°: 1001-00000000',NULL,'2021-06-07 09:27:21','2021-06-07 09:27:23','2021-06-07 09:27:23'),(310,1279,2,40720,40863,13,1535,1,0,'2021-06-07',1815.00,'Factura A N°: 1001-00000000',NULL,'2021-06-07 09:51:35','2021-06-07 09:51:37','2021-06-07 09:51:37');

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

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

INSERT INTO `cta_cte_cliente_details` VALUES (1,1234,167,40800,40718,13,6300,20,2,607399.05,'2021-02-07 20:50:26','2021-02-07 20:50:26',NULL),(2,1234,167,40800,40718,359,6300,20,1,607399.05,'2021-02-07 20:50:26','2021-02-07 20:50:26',NULL),(3,1234,168,40800,40828,57,6300,21,1,327692.59,'2021-02-07 20:51:44','2021-02-07 20:51:44',NULL),(4,1234,168,40800,40828,359,6300,21,2,327692.59,'2021-02-07 20:51:44','2021-02-07 20:51:44',NULL);

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

CREATE TABLE `cta_cte_cliente_pivot_receipt` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id` int(10) unsigned NOT NULL,
  `receipt_id` int(10) unsigned NOT NULL,
  `importe` decimal(16,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=294 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5,NULL,5,5,NULL,NULL,NULL,NULL),(6,NULL,6,6,NULL,NULL,NULL,NULL),(7,NULL,7,7,NULL,NULL,NULL,NULL),(8,NULL,8,8,NULL,NULL,NULL,NULL),(9,NULL,9,9,NULL,NULL,NULL,NULL),(10,NULL,10,10,NULL,NULL,NULL,NULL),(11,NULL,11,11,NULL,NULL,NULL,NULL),(12,NULL,12,12,NULL,NULL,NULL,NULL),(13,NULL,13,13,NULL,NULL,NULL,NULL),(14,NULL,14,14,NULL,NULL,NULL,NULL),(15,NULL,15,15,NULL,NULL,NULL,NULL),(17,NULL,17,17,NULL,NULL,NULL,NULL),(18,NULL,18,18,NULL,NULL,NULL,NULL),(19,NULL,19,19,NULL,NULL,NULL,NULL),(20,NULL,20,20,NULL,NULL,NULL,NULL),(21,NULL,21,21,NULL,NULL,NULL,NULL),(23,NULL,23,23,NULL,NULL,NULL,NULL),(24,NULL,24,24,NULL,NULL,NULL,NULL),(25,NULL,25,25,NULL,NULL,NULL,NULL),(26,NULL,26,26,NULL,NULL,NULL,NULL),(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),(47,NULL,47,47,NULL,NULL,NULL,NULL),(48,NULL,48,47,NULL,NULL,NULL,NULL),(49,NULL,49,47,NULL,NULL,NULL,NULL),(51,NULL,51,45,NULL,NULL,NULL,NULL),(52,NULL,52,44,NULL,NULL,NULL,NULL),(53,NULL,53,48,NULL,NULL,NULL,NULL),(54,NULL,54,49,NULL,NULL,NULL,NULL),(59,NULL,59,54,NULL,NULL,NULL,NULL),(60,NULL,60,55,NULL,NULL,NULL,NULL),(61,NULL,61,56,NULL,NULL,NULL,NULL),(62,NULL,62,57,NULL,NULL,NULL,NULL),(63,NULL,63,58,NULL,NULL,NULL,NULL),(64,NULL,64,59,NULL,NULL,NULL,NULL),(65,NULL,65,60,NULL,NULL,NULL,NULL),(66,NULL,66,61,NULL,NULL,NULL,NULL),(67,NULL,67,62,NULL,NULL,NULL,NULL),(68,NULL,68,63,NULL,NULL,NULL,NULL),(69,NULL,69,64,NULL,NULL,NULL,NULL),(70,NULL,70,65,NULL,NULL,NULL,NULL),(71,NULL,71,66,NULL,NULL,NULL,NULL),(72,NULL,72,67,NULL,NULL,NULL,NULL),(73,NULL,73,68,NULL,NULL,NULL,NULL),(74,NULL,74,69,NULL,NULL,NULL,NULL),(75,NULL,75,70,NULL,NULL,NULL,NULL),(76,NULL,76,71,NULL,NULL,NULL,NULL),(77,NULL,77,72,NULL,NULL,NULL,NULL),(78,NULL,78,73,NULL,NULL,NULL,NULL),(79,NULL,79,74,NULL,NULL,NULL,NULL),(80,NULL,80,75,NULL,NULL,NULL,NULL),(81,NULL,81,76,NULL,NULL,NULL,NULL),(82,NULL,82,77,NULL,NULL,NULL,NULL),(83,NULL,83,78,NULL,NULL,NULL,NULL),(84,NULL,84,79,NULL,NULL,NULL,NULL),(85,NULL,85,80,NULL,NULL,NULL,NULL),(86,NULL,86,81,NULL,NULL,NULL,NULL),(87,NULL,87,82,NULL,NULL,NULL,NULL),(88,NULL,88,83,NULL,NULL,NULL,NULL),(89,NULL,89,84,NULL,NULL,NULL,NULL),(90,NULL,90,85,NULL,NULL,NULL,NULL),(91,NULL,91,86,NULL,NULL,NULL,NULL),(92,NULL,92,87,NULL,NULL,NULL,NULL),(94,NULL,94,89,NULL,NULL,NULL,NULL),(96,NULL,96,91,NULL,NULL,NULL,NULL),(98,NULL,98,93,NULL,NULL,NULL,NULL),(99,NULL,99,94,NULL,NULL,NULL,NULL),(100,NULL,100,95,NULL,NULL,NULL,NULL),(101,NULL,101,96,NULL,NULL,NULL,NULL),(102,NULL,102,97,NULL,NULL,NULL,NULL),(103,NULL,103,98,NULL,NULL,NULL,NULL),(104,NULL,104,99,NULL,NULL,NULL,NULL),(105,NULL,105,100,NULL,NULL,NULL,NULL),(106,NULL,106,101,NULL,NULL,NULL,NULL),(107,NULL,107,102,NULL,NULL,NULL,NULL),(108,NULL,108,103,NULL,NULL,NULL,NULL),(109,NULL,109,104,NULL,NULL,NULL,NULL),(110,NULL,110,105,NULL,NULL,NULL,NULL),(111,NULL,111,106,NULL,NULL,NULL,NULL),(112,NULL,112,107,NULL,NULL,NULL,NULL),(113,NULL,113,108,NULL,NULL,NULL,NULL),(114,NULL,114,109,NULL,NULL,NULL,NULL),(115,NULL,115,110,NULL,NULL,NULL,NULL),(116,NULL,116,111,NULL,NULL,NULL,NULL),(117,NULL,117,112,NULL,NULL,NULL,NULL),(118,NULL,118,113,NULL,NULL,NULL,NULL),(119,NULL,119,114,NULL,NULL,NULL,NULL),(120,NULL,120,115,NULL,NULL,NULL,NULL),(121,NULL,121,116,NULL,NULL,NULL,NULL),(122,NULL,122,117,NULL,NULL,NULL,NULL),(123,NULL,123,118,NULL,NULL,NULL,NULL),(124,NULL,124,119,NULL,NULL,NULL,NULL),(125,NULL,125,120,NULL,NULL,NULL,NULL),(126,NULL,126,121,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (127,NULL,127,122,NULL,NULL,NULL,NULL),(128,NULL,128,123,NULL,NULL,NULL,NULL),(129,NULL,129,110,NULL,NULL,NULL,NULL),(130,NULL,130,124,NULL,NULL,NULL,NULL),(131,NULL,131,125,NULL,NULL,NULL,NULL),(132,NULL,132,126,NULL,NULL,NULL,NULL),(133,NULL,133,127,NULL,NULL,NULL,NULL),(134,NULL,134,128,NULL,NULL,NULL,NULL),(135,NULL,135,129,NULL,NULL,NULL,NULL),(136,NULL,136,130,NULL,NULL,NULL,NULL),(137,NULL,137,131,NULL,NULL,NULL,NULL),(138,NULL,138,132,NULL,NULL,NULL,NULL),(139,NULL,139,133,NULL,NULL,NULL,NULL),(140,NULL,140,134,NULL,NULL,NULL,NULL),(141,NULL,141,135,NULL,NULL,NULL,NULL),(142,NULL,142,136,NULL,NULL,NULL,NULL),(143,NULL,143,137,NULL,NULL,NULL,NULL),(144,NULL,144,138,NULL,NULL,NULL,NULL),(145,NULL,145,139,NULL,NULL,NULL,NULL),(146,NULL,146,140,NULL,NULL,NULL,NULL),(147,NULL,147,141,NULL,NULL,NULL,NULL),(148,NULL,148,142,NULL,NULL,NULL,NULL),(149,NULL,149,143,NULL,NULL,NULL,NULL),(150,NULL,150,144,NULL,NULL,NULL,NULL),(151,NULL,151,145,NULL,NULL,NULL,NULL),(152,NULL,152,146,NULL,NULL,NULL,NULL),(153,NULL,153,147,NULL,NULL,NULL,NULL),(154,NULL,154,148,NULL,NULL,NULL,NULL),(155,NULL,155,149,NULL,NULL,NULL,NULL),(156,NULL,156,150,NULL,NULL,NULL,NULL),(157,NULL,157,151,NULL,NULL,NULL,NULL),(158,NULL,158,152,NULL,NULL,NULL,NULL),(159,NULL,159,153,NULL,NULL,NULL,NULL),(160,NULL,160,154,NULL,NULL,NULL,NULL),(161,NULL,161,155,NULL,NULL,NULL,NULL),(162,NULL,162,156,NULL,NULL,NULL,NULL),(163,NULL,163,157,NULL,NULL,NULL,NULL),(164,NULL,164,158,NULL,NULL,NULL,NULL),(165,NULL,165,159,NULL,NULL,NULL,NULL),(166,NULL,166,174,NULL,NULL,NULL,NULL),(167,NULL,169,175,NULL,NULL,NULL,NULL),(168,NULL,170,176,NULL,NULL,NULL,NULL),(169,NULL,171,177,NULL,NULL,NULL,NULL),(170,NULL,172,178,NULL,NULL,NULL,NULL),(171,NULL,173,179,NULL,NULL,NULL,NULL),(172,NULL,174,180,NULL,NULL,NULL,NULL),(173,NULL,175,181,NULL,NULL,NULL,NULL),(174,NULL,176,182,NULL,NULL,NULL,NULL),(175,NULL,177,183,NULL,NULL,NULL,NULL),(176,NULL,178,184,NULL,NULL,NULL,NULL),(177,NULL,179,185,NULL,NULL,NULL,NULL),(178,NULL,180,186,NULL,NULL,NULL,NULL),(179,NULL,181,187,NULL,NULL,NULL,NULL),(180,NULL,182,188,NULL,NULL,NULL,NULL),(181,NULL,183,189,NULL,NULL,NULL,NULL),(182,NULL,184,192,NULL,NULL,NULL,NULL),(183,NULL,185,193,NULL,NULL,NULL,NULL),(184,NULL,186,194,NULL,NULL,NULL,NULL),(185,NULL,187,195,NULL,NULL,NULL,NULL),(186,NULL,188,196,NULL,NULL,NULL,NULL),(187,NULL,189,197,NULL,NULL,NULL,NULL),(188,NULL,190,198,NULL,NULL,NULL,NULL),(189,NULL,191,174,NULL,NULL,NULL,NULL),(190,NULL,192,205,NULL,NULL,NULL,NULL),(191,NULL,193,206,NULL,NULL,NULL,NULL),(192,NULL,194,207,NULL,NULL,NULL,NULL),(193,NULL,195,208,NULL,NULL,NULL,NULL),(194,NULL,196,209,NULL,NULL,NULL,NULL),(195,NULL,197,210,NULL,NULL,NULL,NULL),(196,NULL,198,211,NULL,NULL,NULL,NULL),(197,NULL,199,212,NULL,NULL,NULL,NULL),(198,NULL,200,213,NULL,NULL,NULL,NULL),(199,NULL,201,214,NULL,NULL,NULL,NULL),(201,NULL,203,216,NULL,NULL,NULL,NULL),(202,NULL,204,217,NULL,NULL,NULL,NULL),(203,NULL,205,218,NULL,NULL,NULL,NULL),(204,NULL,206,219,NULL,NULL,NULL,NULL),(205,NULL,208,221,NULL,NULL,NULL,NULL),(206,NULL,209,222,NULL,NULL,NULL,NULL),(207,NULL,210,223,NULL,NULL,NULL,NULL),(208,NULL,211,224,NULL,NULL,NULL,NULL),(209,NULL,212,225,NULL,NULL,NULL,NULL),(210,NULL,213,226,NULL,NULL,NULL,NULL),(211,NULL,214,227,NULL,NULL,NULL,NULL),(212,NULL,215,228,NULL,NULL,NULL,NULL),(213,NULL,216,229,NULL,NULL,NULL,NULL),(214,NULL,217,230,NULL,NULL,NULL,NULL),(215,NULL,218,231,NULL,NULL,NULL,NULL),(216,NULL,219,232,NULL,NULL,NULL,NULL),(217,NULL,220,233,NULL,NULL,NULL,NULL),(218,NULL,221,234,NULL,NULL,NULL,NULL),(219,NULL,222,235,NULL,NULL,NULL,NULL),(220,NULL,223,236,NULL,NULL,NULL,NULL),(221,NULL,224,237,NULL,NULL,NULL,NULL),(222,NULL,225,238,NULL,NULL,NULL,NULL),(223,NULL,226,239,NULL,NULL,NULL,NULL),(224,NULL,227,240,NULL,NULL,NULL,NULL),(225,NULL,228,241,NULL,NULL,NULL,NULL),(226,NULL,229,242,NULL,NULL,NULL,NULL),(227,NULL,230,243,NULL,NULL,NULL,NULL),(228,NULL,231,244,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (229,NULL,232,245,NULL,NULL,NULL,NULL),(230,NULL,233,246,NULL,NULL,NULL,NULL),(231,NULL,234,247,NULL,NULL,NULL,NULL),(232,NULL,235,248,NULL,NULL,NULL,NULL),(233,NULL,236,249,NULL,NULL,NULL,NULL),(234,NULL,237,250,NULL,NULL,NULL,NULL),(235,NULL,238,251,NULL,NULL,NULL,NULL),(236,NULL,239,252,NULL,NULL,NULL,NULL),(237,NULL,240,253,NULL,NULL,NULL,NULL),(238,NULL,241,254,NULL,NULL,NULL,NULL),(239,NULL,242,255,NULL,NULL,NULL,NULL),(240,NULL,243,256,NULL,NULL,NULL,NULL),(241,NULL,244,257,NULL,NULL,NULL,NULL),(242,NULL,245,258,NULL,NULL,NULL,NULL),(243,NULL,246,259,NULL,NULL,NULL,NULL),(244,NULL,247,260,NULL,NULL,NULL,NULL),(245,NULL,248,261,NULL,NULL,NULL,NULL),(246,NULL,249,262,NULL,NULL,NULL,NULL),(247,NULL,250,263,NULL,NULL,NULL,NULL),(248,NULL,251,264,NULL,NULL,NULL,NULL),(249,NULL,252,265,NULL,NULL,NULL,NULL),(255,NULL,258,271,NULL,NULL,NULL,NULL),(256,NULL,262,275,NULL,NULL,NULL,NULL),(257,NULL,263,276,NULL,NULL,NULL,NULL),(258,NULL,264,277,NULL,NULL,NULL,NULL),(259,NULL,265,278,NULL,NULL,NULL,NULL),(260,NULL,266,279,NULL,NULL,NULL,NULL),(261,NULL,267,280,NULL,NULL,NULL,NULL),(262,NULL,268,281,NULL,NULL,NULL,NULL),(263,NULL,269,282,NULL,NULL,NULL,NULL),(264,NULL,270,283,NULL,NULL,NULL,NULL),(265,NULL,271,284,NULL,NULL,NULL,NULL),(272,NULL,278,291,NULL,NULL,NULL,NULL),(273,NULL,279,292,NULL,NULL,NULL,NULL),(274,NULL,280,293,NULL,NULL,NULL,NULL),(275,NULL,281,294,NULL,NULL,NULL,NULL),(276,NULL,282,295,NULL,NULL,NULL,NULL),(277,NULL,283,296,NULL,NULL,NULL,NULL),(278,NULL,284,297,NULL,NULL,NULL,NULL),(279,NULL,285,298,NULL,NULL,NULL,NULL),(280,NULL,286,299,NULL,NULL,NULL,NULL),(281,NULL,287,300,NULL,NULL,NULL,NULL),(282,NULL,288,301,NULL,NULL,NULL,NULL),(283,NULL,289,302,NULL,NULL,NULL,NULL),(284,NULL,290,303,NULL,NULL,NULL,NULL),(285,NULL,291,304,NULL,NULL,NULL,NULL),(286,NULL,292,305,NULL,NULL,NULL,NULL),(287,NULL,293,306,NULL,NULL,NULL,NULL),(288,NULL,294,307,NULL,NULL,NULL,NULL),(289,NULL,295,308,NULL,NULL,NULL,NULL),(290,NULL,296,309,NULL,NULL,NULL,NULL),(291,NULL,297,310,NULL,NULL,NULL,NULL),(292,NULL,298,311,NULL,NULL,NULL,NULL),(293,NULL,299,312,NULL,NULL,NULL,NULL);

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

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

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

INSERT INTO `cta_cte_tesoreria` VALUES (1,1234,40800,167,NULL,13,6300,'2021-01-31',607399.05,'',NULL,'2021-02-07 20:50:26','2021-02-07 20:50:26',NULL),(2,1234,40800,168,NULL,57,6300,'2021-02-07',327692.59,'',NULL,'2021-02-07 20:51:44','2021-02-07 20:51:44',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,
  `plan_cuenta_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cheque3ros` tinyint(1) NOT NULL DEFAULT '0',
  `cheque_emitidos` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cta_cte` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cuenta_origen` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cuenta_destino` tinyint(1) NOT NULL DEFAULT '0',
  `conta_asientos` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_cuentas_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_cuentas_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=757 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

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

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

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

INSERT INTO `cta_cte_tesoreria_detail` VALUES (1,1234,1,13,40800,6300,2,607399.05,'2021-01-31','2021-02-07 20:50:26','2021-02-07 20:50:26',NULL),(2,1234,1,359,40800,6300,1,607399.05,'2021-01-31','2021-02-07 20:50:26','2021-02-07 20:50:26',NULL),(3,1234,2,57,40800,6300,1,327692.59,'2021-02-07','2021-02-07 20:51:44','2021-02-07 20:51:44',NULL),(4,1234,2,359,40800,6300,2,327692.59,'2021-02-07','2021-02-07 20:51:44','2021-02-07 20:51:44',NULL);

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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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

INSERT INTO `dc_estados` VALUES (1,NULL,'PEDIDO',1,NULL,NULL,NULL),(2,NULL,'ACEPTADO',1,NULL,NULL,NULL),(3,NULL,'RECHAZADO',1,NULL,NULL,NULL),(4,NULL,'PAGADO',1,NULL,NULL,NULL),(5,NULL,'CONCILIADO',1,NULL,NULL,NULL);

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

CREATE TABLE `dc_ordenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_tipo_id` bigint(20) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `numero` int(11) NOT NULL,
  `sector` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `solicitante` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fecha` date NOT NULL,
  `fecha_entrega` date DEFAULT NULL,
  `cantidades` decimal(16,2) NOT NULL,
  `neto` decimal(16,2) NOT NULL,
  `iva` decimal(16,2) NOT NULL,
  `total` decimal(16,2) NOT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `dc_estado_id` bigint(20) unsigned NOT NULL,
  `conta_cc_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_dc_orden_tipo_id_foreign` (`dc_orden_tipo_id`),
  KEY `dc_ordenes_person_id_foreign` (`person_id`),
  KEY `dc_ordenes_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `dc_ordenes_dc_estado_id_foreign` (`dc_estado_id`),
  KEY `dc_ordenes_conta_cc_id_foreign` (`conta_cc_id`),
  CONSTRAINT `dc_ordenes_conta_cc_id_foreign` FOREIGN KEY (`conta_cc_id`) REFERENCES `conta_centro_costos` (`id`),
  CONSTRAINT `dc_ordenes_dc_estado_id_foreign` FOREIGN KEY (`dc_estado_id`) REFERENCES `dc_estados` (`id`),
  CONSTRAINT `dc_ordenes_dc_orden_tipo_id_foreign` FOREIGN KEY (`dc_orden_tipo_id`) REFERENCES `dc_ordenes_tipos` (`id`),
  CONSTRAINT `dc_ordenes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_ordenes_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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


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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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


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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

INSERT INTO `fact_elec_puntos_venta` VALUES (1,1279,'Santiago del Estero 2921','2020-11-03 01:23:00','2020-11-25 12:00:14',40720,'1001','3000',18,'img//20325566702/logo_punto_venta_1001.jpg',1,NULL),(2,1234,'Crespo 3233','2020-11-10 12:01:46','2020-11-10 12:02:09',40719,'3','3000',18,NULL,1,NULL);

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

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

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

INSERT INTO `fact_elec_receipt_details` VALUES (1,1234,1,'Deteccion Antigeno Sars-Cov2',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2020-11-10 11:13:24','2020-11-10 11:13:24','1',NULL),(2,1234,2,'Honorarios Mes',1.00,'8',1800.00,1800.00,0.00,0.00,0.00,7,0.00,1800.00,'2020-11-10 12:03:24','2020-11-10 12:03:24',NULL,NULL),(3,1234,3,'Detección SARS COV2 - Tomatis Raquel',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2020-11-12 13:05:44','2020-11-12 13:05:44',NULL,NULL),(4,1279,4,'Detección Sars-Cov2 Antígeno - Portillo Martin',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2020-11-12 19:35:47','2020-11-12 19:35:47',NULL,NULL),(5,1279,5,'Estudio Sars-Covid',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2020-11-20 16:52:47','2020-11-20 16:52:47',NULL,NULL),(6,1234,6,'Detección Antígeno sars-cov2 en Secreciones Respiratorias 12/11/2020',2.00,'8',4000.00,8000.00,0.00,0.00,0.00,2,1680.00,9680.00,'2020-11-20 17:49:48','2020-11-20 17:49:48','001',NULL),(7,1234,6,'Detección Antígeno Sars-Cov2 en Secreciones Respiratorias 13/11/20',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2020-11-20 17:49:48','2020-11-20 17:49:48','002',NULL),(8,1234,6,'Detección Anticuerpos Anti Sars-Cov2 IGG-IGM 13/11/20',1.00,'8',3000.00,3000.00,0.00,0.00,0.00,2,630.00,3630.00,'2020-11-20 17:49:48','2020-11-20 17:49:48','003',NULL),(9,1234,6,'Detección Anticuerpos Anti Sars-Cov2 IGG-IGM 19/11/20',4.00,'8',3000.00,12000.00,0.00,0.00,0.00,2,2520.00,14520.00,'2020-11-20 17:49:48','2020-11-20 17:49:48','004',NULL),(10,1234,6,'Detección Anticuerpos Anti Sars-Cov2 IGG-IGM 20/11/20',4.00,'8',3000.00,12000.00,0.00,0.00,0.00,2,2520.00,14520.00,'2020-11-20 17:49:48','2020-11-20 17:49:48','005',NULL),(11,1279,7,'HONORARIOS OP 96831',1.00,'8',540.00,540.00,0.00,0.00,0.00,7,0.00,540.00,'2020-11-25 12:12:37','2020-11-25 12:12:37','0001',NULL),(12,1279,8,'HONORARIOS HISOPADO NASOFARINGEO DETECCION SARS-COV2',1.00,'8',6500.00,6500.00,0.00,0.00,0.00,2,1365.00,7865.00,'2020-11-25 13:49:25','2020-11-25 13:49:25','0001',NULL),(13,1279,9,'HONORARIOS HISOPADO NASOFARINGEO DETECCION SARS-COV2',1.00,'8',6500.00,6500.00,0.00,0.00,0.00,2,1365.00,7865.00,'2020-11-25 13:52:27','2020-11-25 13:52:27','0001',NULL),(14,1279,10,'HONORARIOS DETECCION SARS-COV2 14/09/20',1.00,'8',6500.00,6500.00,0.00,0.00,0.00,2,1365.00,7865.00,'2020-11-25 14:23:32','2020-11-25 14:23:32','0001',NULL),(15,1279,11,'HONORARIOS DETECCION SARS-COV2 14/09/20',1.00,'8',6500.00,6500.00,0.00,0.00,0.00,2,1365.00,7865.00,'2020-11-25 14:24:39','2020-11-25 14:24:39','0001',NULL),(16,1279,12,'PRESTACIONES BIOQ GRAV CTA SB OCTUBRE 2020',1.00,'8',10005.20,10005.20,0.00,0.00,0.00,1,1050.55,11055.75,'2020-11-26 12:55:21','2020-11-26 12:55:21','1',NULL),(17,1279,12,'PRESTACIONES BIOQ GRAV CTA 3º OCTUBRE 2020',1.00,'8',5039.50,5039.50,0.00,0.00,0.00,1,529.15,5568.65,'2020-11-26 12:55:21','2020-11-26 12:55:21','2',NULL),(18,1279,12,'PRESTACIONES BQ EXE CTA 3º',1.00,'8',88138.27,88138.27,0.00,0.00,0.00,8,0.00,88138.27,'2020-11-26 12:55:21','2020-11-26 12:55:21','4',NULL),(19,1279,12,'PRESTACIONES BQ EXE CTA SB',1.00,'8',51084.15,51084.15,0.00,0.00,0.00,8,0.00,51084.15,'2020-11-26 12:55:21','2020-11-26 12:55:21','3',NULL),(20,1279,13,'HONORARIOS BIOQUIMICOS TOMA DE MUESTRA Y ACONDICIONAMIENTO',4.00,'8',1000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2020-12-02 14:52:35','2020-12-02 14:52:35','0001',NULL),(21,1279,14,'HONORARIOS DETECCION ANTICUERPOS IGG/IGM',2.00,'8',3000.00,6000.00,0.00,0.00,0.00,2,1260.00,7260.00,'2020-12-02 14:56:25','2020-12-02 14:56:25','0001',NULL),(22,1279,15,'DETECCION ANTIGENO-S SARS-COV2 EN SECRECIONES RESPIRATORIAS',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,7,0.00,4000.00,'2020-12-02 15:15:52','2020-12-02 15:15:52','0001',NULL),(23,1279,16,'HONORARIOS DETECCION SARS-COV2',1.00,'8',8000.00,8000.00,0.00,0.00,0.00,2,1680.00,9680.00,'2020-12-10 12:14:27','2020-12-10 12:14:27','0001',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (24,1279,17,'LABORATORIO',1.00,'8',873.34,873.34,0.00,0.00,0.00,2,183.40,1056.74,'2020-12-10 14:36:45','2020-12-10 14:36:45','0001',NULL),(25,1279,17,'CONSULTA CLINICA',1.00,'8',556.24,556.24,0.00,0.00,0.00,2,116.81,673.05,'2020-12-10 14:36:45','2020-12-10 14:36:45','0002',NULL),(26,1279,17,'ELECTROCARDIOGRAMA',1.00,'8',422.05,422.05,0.00,0.00,0.00,2,88.63,510.68,'2020-12-10 14:36:45','2020-12-10 14:36:45','0003',NULL),(27,1279,17,'CONSULTA CARDIOLOGICA',1.00,'8',556.24,556.24,0.00,0.00,0.00,2,116.81,673.05,'2020-12-10 14:36:45','2020-12-10 14:36:45','0004',NULL),(28,1279,18,'HONORARIOS BIOQUIMICOS EXTRACCIONY ACONDICIONAMIENTO FECHA 21/12/20',1.00,'8',1000.00,1000.00,0.00,0.00,0.00,2,210.00,1210.00,'2020-12-21 12:26:36','2020-12-21 12:26:36','0001',NULL),(29,1279,19,'HONORARIOS DETECCION SARS-COV2 EN SECRECIONES RESPIRATORIAS',1.00,'8',7500.00,7500.00,0.00,0.00,0.00,2,1575.00,9075.00,'2020-12-23 11:34:33','2020-12-23 11:34:33','0001',NULL),(30,1279,20,'HONORARIOS DETECCION SARS-COV2 POR PCR',1.00,'8',8000.00,8000.00,0.00,0.00,0.00,2,1680.00,9680.00,'2020-12-23 15:22:32','2020-12-23 15:22:32','0001',NULL),(31,1279,21,'DETECCION SARS-COV2 ANTIGENO EN SECRECIONES RESPIRATORIAS',1.00,'8',3500.00,3500.00,0.00,0.00,0.00,2,735.00,4235.00,'2020-12-24 13:48:33','2020-12-24 13:48:33','0001',NULL),(32,1279,22,'HONORARIOS BIOQUIMICOS DR TORRESI',1.00,'8',2418.00,2418.00,0.00,0.00,0.00,7,0.00,2418.00,'2020-12-28 12:51:08','2020-12-28 12:51:08','Nº 97467',NULL),(33,1279,23,'PRESTACIONES BIOQUIMICAS GRAVADAS. MES:NOVIEMBRE CONTRATO POR CUENTA DE SOCIEDAD',1.00,'8',464.00,464.00,0.00,0.00,0.00,1,48.72,512.72,'2020-12-30 12:59:45','2020-12-30 12:59:45','0001',NULL),(34,1279,23,'PRESTACIONES BIOQUIMICAS GRAVADAS. MES:NOVIEMBRECONTRATO POR CUENTA DE TERCEROS',1.00,'8',30683.33,30683.33,0.00,0.00,0.00,1,3221.75,33905.08,'2020-12-30 12:59:45','2020-12-30 12:59:45','0002',NULL),(35,1279,23,'PRESTACIONES BIOQUIMICAS EXENTAS. MES:NOVIEMBRECONTRATO POR CUENTA DE SOCIEDAD',1.00,'8',102084.32,102084.32,0.00,0.00,0.00,7,0.00,102084.32,'2020-12-30 12:59:45','2020-12-30 12:59:45','0003',NULL),(36,1279,23,'PRESTACIONES BIOQUIMICAS EXENTAS. MES:NOVIEMBRECONTRATO POR CUENTA DE TERCEROS',1.00,'8',63737.78,63737.78,0.00,0.00,0.00,7,0.00,63737.78,'2020-12-30 12:59:45','2020-12-30 12:59:45','0004',NULL),(37,1279,24,'DETECCION SARS-COV2 POR METODO PCR',1.00,'8',8000.00,8000.00,0.00,0.00,0.00,2,1680.00,9680.00,'2020-12-30 13:06:36','2020-12-30 13:06:36','0001',NULL),(38,1279,25,'DETECCION SARS-COV2 POR PCR EN SECRECIONES RESPIRATORIAS',1.00,'8',8000.00,8000.00,0.00,0.00,0.00,2,1680.00,9680.00,'2020-12-31 13:01:28','2020-12-31 13:01:28','0001',NULL),(39,1279,26,'DETECCION SARS-COV2 POR PCR EN SECRECIONES RESPIRATORIAS',2.00,'8',8000.00,16000.00,0.00,0.00,0.00,2,3360.00,19360.00,'2020-12-31 21:20:09','2020-12-31 21:20:09','0001',NULL),(40,1279,26,'DOMICILIO EN RADIO URBANO',1.00,'8',1000.00,0.00,100.00,0.00,0.00,2,0.00,0.00,'2020-12-31 21:20:09','2020-12-31 21:20:09','0002',NULL),(41,1279,27,'DETECCION ANTIGENO SARS-COV2 EN SECRECIONES RESPIRATORIAS',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-01-04 12:16:01','2021-01-04 12:16:01','0001',NULL),(42,1279,28,'DETECCION ANTIGENO SARS-COV2 EN SECRECIONES RESPIRATORIAS',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-01-04 12:22:51','2021-01-04 12:22:51','0001',NULL),(43,1279,29,'DETECCION ANTICUERPOS IGG/IGM ANTI SARS-COV2',1.00,'8',2500.00,2500.00,0.00,0.00,0.00,2,525.00,3025.00,'2021-01-06 13:27:10','2021-01-06 13:27:10','0001',NULL),(44,1279,30,'DETECCION ANTIGENO SARS-COV2 EN SECRECIONES RESPIRATORIAS',1.00,'8',3500.00,3500.00,0.00,0.00,0.00,2,735.00,4235.00,'2021-01-06 14:24:41','2021-01-06 14:24:41','0001',NULL),(45,1279,31,'HONORARIOS EXAMEN PREOCUPACIONAL',1.00,'8',2407.87,2407.87,0.00,0.00,0.00,1,252.83,2660.70,'2021-01-06 19:50:43','2021-01-06 19:50:43','0001',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (46,1279,32,'DETECCION SARS-COV2 POR PCR ARDETTI EMILIA',1.00,'8',8000.00,8000.00,0.00,0.00,0.00,2,1680.00,9680.00,'2021-01-18 14:12:54','2021-01-18 14:12:54','0001',NULL),(47,1279,32,'DOMICILIO',1.00,'8',600.00,0.00,100.00,0.00,0.00,2,0.00,0.00,'2021-01-18 14:12:54','2021-01-18 14:12:54','0002',NULL),(48,1279,33,'HONORARIOS DETECCION SARS-COV2 POR RT-PCR',2.00,'8',8000.00,16000.00,0.00,0.00,0.00,2,3360.00,19360.00,'2021-01-21 14:53:58','2021-01-21 14:53:58','0001',NULL),(49,1279,33,'HONORARIOS DETECCION SARS-COV2 ANTIGENO TEST RAPIDO',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-01-21 14:53:58','2021-01-21 14:53:58','0002',NULL),(50,1279,33,'DOMICILIO EN RADIO URBANO',1.00,'8',800.00,0.00,100.00,0.00,0.00,2,0.00,0.00,'2021-01-21 14:53:58','2021-01-21 14:53:58','0003',NULL),(51,1279,34,'DETECCION SARS-COV2 POR METODO PCR',2.00,'8',7700.00,15400.00,0.00,0.00,0.00,2,3234.00,18634.00,'2021-01-25 14:04:00','2021-01-25 14:04:00','0001',NULL),(52,1279,35,'DETECCION SARS-COV2 ANTICUERPOS TOTALES',1.00,'8',3000.00,2550.00,15.00,0.00,0.00,2,535.50,3085.50,'2021-01-26 15:00:14','2021-01-26 15:00:14','0001',NULL),(53,1279,36,'HONORARIOS BIOQUÍMICOS',1.00,'8',59368.00,59368.00,0.00,0.00,0.00,7,0.00,59368.00,'2021-01-26 15:02:42','2021-01-26 15:02:42','OP 98088',NULL),(54,1279,37,'HONORARIOS DETECCION SARS-COV2 EN SECRECIONES RESPIRATORIAS',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-02-01 14:24:09','2021-02-01 14:24:09','0001',NULL),(55,1279,38,'HONORARIOS DETECCION SARS-COV2',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-02-01 15:24:39','2021-02-01 15:24:39','0001',NULL),(56,1279,39,'NOTA DE CREDITO FACTURA Nº 64 - FECHA 06/01/21',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-02-01 15:30:33','2021-02-01 15:30:33','0001',NULL),(57,1279,40,'NOTA DE CREDITO FACTURA 8 FECHA 01/2/21',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-02-01 15:40:10','2021-02-01 15:40:10','0001',NULL),(58,1279,41,'HONORARIOS CTA SB DICIEMBRE EXENTAS',1.00,'8',25777.67,25777.67,0.00,0.00,0.00,8,0.00,25777.67,'2021-02-04 12:53:22','2021-02-04 12:53:22','0001',NULL),(59,1279,41,'HONORARIOS CTA 3º EXE DICIEMBRE',1.00,'8',77605.00,77605.00,0.00,0.00,0.00,8,0.00,77605.00,'2021-02-04 12:53:22','2021-02-04 12:53:22','0002',NULL),(60,1279,41,'HONORARIOS CTA SB DICIEMBRE GRAV',1.00,'8',11977.10,11977.10,0.00,0.00,0.00,1,1257.60,13234.70,'2021-02-04 12:53:22','2021-02-04 12:53:22','0003',NULL),(61,1279,41,'HONORARIOS CTA 3º DICIEMBRE GRAV',1.00,'8',8949.00,8949.00,0.00,0.00,0.00,1,939.64,9888.64,'2021-02-04 12:53:22','2021-02-04 12:53:22','0004',NULL),(62,1279,42,'HONORARIOS MEDICOS',1.00,'8',2000.00,2000.00,0.00,0.00,0.00,8,0.00,2000.00,'2021-02-05 16:00:51','2021-02-05 16:00:51','1',NULL),(63,1279,43,'HONORARIOS OP 98693',1.00,'8',40072.48,40072.48,0.00,0.00,0.00,8,0.00,40072.48,'2021-02-25 14:41:20','2021-02-25 14:41:20','0001',NULL),(64,1279,44,'PRESTACIONES BIOQUIMICAS EXENTAS. MES:ENERO CONTRATO POR CUENTA DE SOCIEDAD',1.00,'8',45120.97,45120.97,0.00,0.00,0.00,8,0.00,45120.97,'2021-03-06 14:37:31','2021-03-06 14:37:31','1',NULL),(65,1279,44,'PRESTACIONES BIOQUIMICAS EXENTAS. MES:ENERO CONTRATO POR CUENTA DE TERCEROS',1.00,'8',78821.13,78821.13,0.00,0.00,0.00,8,0.00,78821.13,'2021-03-06 14:37:31','2021-03-06 14:37:31','2',NULL),(66,1279,44,'RESTACIONES BIOQUIMICAS GRAVADAS. MES:ENERO CTA SOCIEDAD',1.00,'8',4937.40,4937.40,0.00,0.00,0.00,1,518.43,5455.83,'2021-03-06 14:37:31','2021-03-06 14:37:31','3',NULL),(67,1279,44,'PRESTACIONES BIOQUIMICAS GRAVADAS. MES:ENERO CTA 3°',1.00,'8',9684.00,9684.00,0.00,0.00,0.00,1,1016.82,10700.82,'2021-03-06 14:37:31','2021-03-06 14:37:31','4',NULL),(68,1279,45,'DETECCION SARS-COV2 POR METODO PCR',1.00,'8',8000.00,8000.00,0.00,0.00,0.00,2,1680.00,9680.00,'2021-03-10 14:27:59','2021-03-10 14:27:59','0001',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (69,1279,46,'DETECCION SARS-COV2 TEST DE ANTIGENO',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-03-14 21:31:32','2021-03-14 21:31:32','0001',NULL),(70,1279,47,'DETECCION SARS-COV2 ANTIGENO',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-03-15 13:49:55','2021-03-15 13:49:55','0001',NULL),(71,1279,48,'HONORARIOS CENTRO MEDICO CONSTITUYENTES',1.00,'8',4345.00,4345.00,0.00,0.00,0.00,8,0.00,4345.00,'2021-03-27 21:18:43','2021-03-27 21:18:43','0002',NULL),(72,1279,48,'HONORARIOS BIOQUIMICOS',1.00,'8',73794.24,73794.24,0.00,0.00,0.00,8,0.00,73794.24,'2021-03-27 21:18:43','2021-03-27 21:18:43','0001',NULL),(73,1279,49,'HONORARIOS DETECCION SARS-COV2',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-03-29 14:57:36','2021-03-29 14:57:36','0001',NULL),(74,1279,50,'HONORARIOS DETECCION SARS-COV2 METODO PCR',2.00,'8',7500.00,15000.00,0.00,0.00,0.00,2,3150.00,18150.00,'2021-04-01 14:03:43','2021-04-01 14:03:43','0001',NULL),(75,1279,51,'HONORARIOS DETECCION SARS-COV2 TEST DE ANTIGENO 4/4/21',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-04-04 23:49:55','2021-04-04 23:49:55','0001',NULL),(81,1279,57,'HONORARIOS DETECCION SARS-COV2',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-04-06 12:28:26','2021-04-06 12:28:26','0001',NULL),(82,1279,61,'HONORARIOS DETECCION SARS-COV2 POR METODO PCR',1.00,'8',7500.00,7500.00,0.00,0.00,0.00,2,1575.00,9075.00,'2021-04-07 16:12:34','2021-04-07 16:12:34','0001',NULL),(83,1279,62,'HONORARIOS DETECCION SARS-COV2 POR METODO PCR',1.00,'8',7500.00,7500.00,0.00,0.00,0.00,2,1575.00,9075.00,'2021-04-07 16:14:26','2021-04-07 16:14:26','0001',NULL),(84,1279,63,'CONTRATO POR CUENTA DE SOCIEDAD',1.00,'8',61182.28,61182.28,0.00,0.00,0.00,8,0.00,61182.28,'2021-04-09 14:50:22','2021-04-09 14:50:22','0001',NULL),(85,1279,63,'CONTRATO POR CUENTA DE TERCEROS',1.00,'8',105518.38,105518.38,0.00,0.00,0.00,8,0.00,105518.38,'2021-04-09 14:50:22','2021-04-09 14:50:22','0002',NULL),(86,1279,63,'CONTRATO POR CUENTA DE SOCIEDAD',1.00,'8',19272.20,19272.20,0.00,0.00,0.00,1,2023.58,21295.78,'2021-04-09 14:50:22','2021-04-09 14:50:22','0003',NULL),(87,1279,63,'CONTRATO POR CUENTA DE TERCEROS',1.00,'8',28056.00,28056.00,0.00,0.00,0.00,1,2945.88,31001.88,'2021-04-09 14:50:22','2021-04-09 14:50:22','0004',NULL),(88,1279,64,'HONORARIOS DETECCION SARS-COV2 METEODO PCR',1.00,'8',8000.00,8000.00,0.00,0.00,0.00,2,1680.00,9680.00,'2021-04-12 12:00:10','2021-04-12 12:00:10','0001',NULL),(89,1279,65,'HONORARIOS DETECCION SARS-COV2 POR METODO ANTIGENO A DOMICILIO',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-04-14 11:45:43','2021-04-14 11:45:43','0001',NULL),(90,1279,65,'DOMICILIO FUERA RADIO URBANO',1.00,'8',750.00,0.00,100.00,0.00,0.00,2,0.00,0.00,'2021-04-14 11:45:43','2021-04-14 11:45:43','0002',NULL),(91,1279,66,'HONORARIOS DETECCION SARS-COV2 PCR',1.00,'8',8000.00,8000.00,0.00,0.00,0.00,2,1680.00,9680.00,'2021-04-22 12:01:52','2021-04-22 12:01:52','0001',NULL),(92,1279,67,'HONORARIOS DETECCION SARS-COV2 POR METODO PCR PACIENTES DNI 34714068 Y 36627722 EN FECHA 27/1/2021',2.00,'8',8000.00,16000.00,0.00,0.00,0.00,2,3360.00,19360.00,'2021-04-22 12:33:13','2021-04-22 12:33:13','0001',NULL),(93,1279,68,'HONORARIOS BIOQUIMICOS',1.00,'8',8300.00,8300.00,0.00,0.00,0.00,2,1743.00,10043.00,'2021-04-26 10:14:55','2021-04-26 10:14:55','0001',NULL),(94,1279,69,'HONORARIOS BIOQUIMICOS',1.00,'8',8300.00,8300.00,0.00,0.00,0.00,2,1743.00,10043.00,'2021-04-26 10:15:10','2021-04-26 10:15:10','0001',NULL),(95,1279,70,'HONORARIOS BIOQUIMICOS',1.00,'8',8300.00,8300.00,0.00,0.00,0.00,2,1743.00,10043.00,'2021-04-26 10:15:25','2021-04-26 10:15:25','0001',NULL),(102,1279,77,'HONORARIOS DETECCION SARS-COV2 LOPEZ MARIA',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-04-26 22:57:04','2021-04-26 22:57:04','1',NULL),(103,1279,78,'DETECCION SARS-COV2 METODO PCR',1.00,'8',8000.00,8000.00,0.00,0.00,0.00,2,1680.00,9680.00,'2021-04-26 22:58:15','2021-04-26 22:58:15','0001',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (104,1279,79,'NOTA DE CREDITO FACTURA ASOCIADA \"HONORARIOS DETECCION SARSCOV2POR METODO PCRPACIENTES DNI 34714068 Y36627722 EN FECHA 27/1/2021\"',2.00,'8',8000.00,16000.00,0.00,0.00,0.00,2,3360.00,19360.00,'2021-04-28 08:37:32','2021-04-28 08:37:32','0001',NULL),(105,1279,80,'NOTA DE CREDITO FACTURA Nº90',1.00,'8',8300.00,8300.00,0.00,0.00,0.00,2,1743.00,10043.00,'2021-04-28 08:56:01','2021-04-28 08:56:01','0001',NULL),(106,1279,81,'NOTA DE CREDITO FACTURA Nº 91',1.00,'8',8300.00,8300.00,0.00,0.00,0.00,2,1743.00,10043.00,'2021-04-28 08:56:44','2021-04-28 08:56:44','0001',NULL),(107,1279,82,'HONORARIOS DETECCION SARS-COV2 ANTIGENO TEST RAPIDO',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,8,0.00,4000.00,'2021-04-28 09:49:12','2021-04-28 09:49:12','0001',NULL),(108,1279,83,'HONORARIOS',1.00,'8',43063.27,43063.27,0.00,0.00,0.00,7,0.00,43063.27,'2021-04-28 09:55:09','2021-04-28 09:55:09','OP 100157',NULL),(109,1279,84,'NOTA DE CREDITO FACTURA Nº	95',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,7,0.00,4000.00,'2021-04-28 09:59:28','2021-04-28 09:59:28','0001',NULL),(110,1279,85,'HONORARIOS DETECCION SARS-COV2 ANTIGENO',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,7,0.00,4000.00,'2021-04-28 10:06:24','2021-04-28 10:06:24','0001',NULL),(111,1279,86,'HONORARIOS ORAZI FLORENCIA',1.00,'8',3500.00,3500.00,0.00,0.00,0.00,2,735.00,4235.00,'2021-04-28 11:42:25','2021-04-28 11:42:25','0001',NULL),(112,1279,86,'HONORARIOS BARRETO ROQUE',1.00,'8',7500.00,7500.00,0.00,0.00,0.00,2,1575.00,9075.00,'2021-04-28 11:42:25','2021-04-28 11:42:25','0002',NULL),(113,1279,86,'HONORARIOS BARRETO CARLOS',1.00,'8',7500.00,7500.00,0.00,0.00,0.00,2,1575.00,9075.00,'2021-04-28 11:42:25','2021-04-28 11:42:25','0003',NULL),(114,1279,86,'HONORARIOS BENITEZ ANDREA',1.00,'8',7500.00,7500.00,0.00,0.00,0.00,2,1575.00,9075.00,'2021-04-28 11:42:25','2021-04-28 11:42:25','0004',NULL),(115,1279,87,'HONORARIOS ORAZI FLORENCIA (PCR)',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-04-28 12:09:25','2021-04-28 12:09:25','0001',NULL),(116,1279,88,'PRESTACIONES BIOQUIMICAS EXENTAS. MES:MARZO CONTRATO POR CUENTA DE SOCIEDAD',1.00,'8',104636.84,104636.84,0.00,0.00,0.00,8,0.00,104636.84,'2021-05-04 08:53:13','2021-05-04 08:53:13','1',NULL),(117,1279,88,'PRESTACIONES BIOQUIMICAS EXENTAS. MES:MARZO CONTRATO POR CUENTA DE TERCEROS',1.00,'8',136000.54,136000.54,0.00,0.00,0.00,8,0.00,136000.54,'2021-05-04 08:53:13','2021-05-04 08:53:13','2',NULL),(118,1279,88,'PRESTACIONES BIOQUIMICAS GRAVADAS. MES:MARZO CONTRATO POR CUENTA DE SOCIEDAD',1.00,'8',37406.37,37406.37,0.00,0.00,0.00,1,3927.67,41334.04,'2021-05-04 08:53:13','2021-05-04 08:53:13','3',NULL),(119,1279,88,'PRESTACIONES BIOQUIMICAS GRAVADAS. MES:MARZO CONTRATO POR CUENTA DE TERCEROS',1.00,'8',5112.00,5112.00,0.00,0.00,0.00,1,536.76,5648.76,'2021-05-04 08:53:13','2021-05-04 08:53:13','4',NULL),(120,1279,89,'HONORARIOS DETECCION SARS-COV2 METODO ANTIGENO TEST RAPIDO',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-05-12 10:10:27','2021-05-12 10:10:27','0001',NULL),(121,1279,90,'HONORARIOS DETECCION SARS-COV2 TEST DE ANTIGENOS',2.00,'8',4000.00,8000.00,0.00,0.00,0.00,2,1680.00,9680.00,'2021-05-14 08:44:32','2021-05-14 08:44:32','0001',NULL),(122,1279,90,'HONORARIOS DETECCION SARS-COV2 METODO RT-PCR',2.00,'8',8000.00,16000.00,0.00,0.00,0.00,2,3360.00,19360.00,'2021-05-14 08:44:32','2021-05-14 08:44:32','0002',NULL),(123,1279,91,'HONORARIOS DETECCION DE ANTIGENOS SARS-COV2',3.00,'8',3500.00,10500.00,0.00,0.00,0.00,2,2205.00,12705.00,'2021-05-17 11:51:35','2021-05-17 11:51:35','0001',NULL),(124,1279,92,'HONORARIOS DETECCION SARS-COV2 METODO RT-PCR',2.00,'8',7800.00,15600.00,0.00,0.00,0.00,2,3276.00,18876.00,'2021-05-24 09:43:44','2021-05-24 09:43:44','0001',NULL),(125,1279,93,'HONORARIOS OBRAS SOCIALES',1.00,'8',52903.08,52903.08,0.00,0.00,0.00,8,0.00,52903.08,'2021-05-26 13:04:15','2021-05-26 13:04:15','0001',NULL);
INSERT INTO `fact_elec_receipt_details` VALUES (126,1279,94,'HONORARIOS DETECCION SARS-COV2 WAISERMAN JAVIER',1.00,'8',4000.00,4000.00,0.00,0.00,0.00,2,840.00,4840.00,'2021-05-27 09:19:10','2021-05-27 09:19:10','0001',NULL),(127,1279,95,'HONORARIOS BIOQUIMICOS PERIODO NOVIEMBRE Y DICIEMBRE 2020',1.00,'8',76875.00,76875.00,0.00,0.00,0.00,2,16143.75,93018.75,'2021-05-28 16:40:33','2021-05-28 16:40:33','0001',NULL),(128,1279,96,'Honorarios deteccion Sars-Cov2  método RT-PCR',1.00,'8',6500.00,6500.00,0.00,0.00,0.00,2,1365.00,7865.00,'2021-06-05 08:55:24','2021-06-05 08:55:24','0001',NULL),(129,1279,96,'Domicilio en radio urbano',1.00,'8',600.00,600.00,0.00,0.00,0.00,2,126.00,726.00,'2021-06-05 08:55:24','2021-06-05 08:55:24','0002',NULL),(130,1279,97,'PRESTACIONES BIOQUIMICAS EXENTAS. MES:ABRIL CTA SB',1.00,'8',130947.63,130947.63,0.00,0.00,0.00,8,0.00,130947.63,'2021-06-06 10:54:04','2021-06-06 10:54:04','0001',NULL),(131,1279,97,'PRESTACIONES BIOQUIMICAS EXENTAS. MES:ABRIL CTA 3º',1.00,'8',162420.34,162420.34,0.00,0.00,0.00,8,0.00,162420.34,'2021-06-06 10:54:04','2021-06-06 10:54:04','0002',NULL),(132,1279,97,'PRESTACIONES BIOQUIMICAS GRAVADAS. MES:ABRIL CTA SB',1.00,'8',3003.36,3003.36,0.00,0.00,0.00,1,315.35,3318.71,'2021-06-06 10:54:04','2021-06-06 10:54:04','0003',NULL),(133,1279,97,'PRESTACIONES BIOQUIMICAS GRAVADAS. MES:ABRIL CTA 3º',1.00,'8',24731.60,24731.60,0.00,0.00,0.00,1,2596.82,27328.42,'2021-06-06 10:54:04','2021-06-06 10:54:04','0004',NULL),(134,1279,98,'HONORARIOS BIOQUIMICOS MAYO 2021',1.00,'8',32053.95,32053.95,0.00,0.00,0.00,8,0.00,32053.95,'2021-06-06 10:56:54','2021-06-06 10:56:54','0001',NULL);

--
