Commit 29850cd9 authored by Breitner Roldan's avatar Breitner Roldan

Proyecto descomprimir archivos en Zip

parents
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/
### VS Code ###
.vscode/
/*
* Copyright 2007-present the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import java.net.*;
import java.io.*;
import java.nio.channels.*;
import java.util.Properties;
public class MavenWrapperDownloader {
private static final String WRAPPER_VERSION = "0.5.6";
/**
* Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
*/
private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/"
+ WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar";
/**
* Path to the maven-wrapper.properties file, which might contain a downloadUrl property to
* use instead of the default one.
*/
private static final String MAVEN_WRAPPER_PROPERTIES_PATH =
".mvn/wrapper/maven-wrapper.properties";
/**
* Path where the maven-wrapper.jar will be saved to.
*/
private static final String MAVEN_WRAPPER_JAR_PATH =
".mvn/wrapper/maven-wrapper.jar";
/**
* Name of the property which should be used to override the default download url for the wrapper.
*/
private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl";
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if(mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if(mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if(!outputFile.getParentFile().exists()) {
if(!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
private static void downloadFileFromURL(String urlString, File destination) throws Exception {
if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) {
String username = System.getenv("MVNW_USERNAME");
char[] password = System.getenv("MVNW_PASSWORD").toCharArray();
Authenticator.setDefault(new Authenticator() {
@Override
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(username, password);
}
});
}
URL website = new URL(urlString);
ReadableByteChannel rbc;
rbc = Channels.newChannel(website.openStream());
FileOutputStream fos = new FileOutputStream(destination);
fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);
fos.close();
rbc.close();
}
}
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.1/apache-maven-3.8.1-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
This diff is collapsed.
@REM ----------------------------------------------------------------------------
@REM Licensed to the Apache Software Foundation (ASF) under one
@REM or more contributor license agreements. See the NOTICE file
@REM distributed with this work for additional information
@REM regarding copyright ownership. The ASF licenses this file
@REM to you under the Apache License, Version 2.0 (the
@REM "License"); you may not use this file except in compliance
@REM with the License. You may obtain a copy of the License at
@REM
@REM https://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required by applicable law or agreed to in writing,
@REM software distributed under the License is distributed on an
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@REM KIND, either express or implied. See the License for the
@REM specific language governing permissions and limitations
@REM under the License.
@REM ----------------------------------------------------------------------------
@REM ----------------------------------------------------------------------------
@REM Maven Start Up Batch script
@REM
@REM Required ENV vars:
@REM JAVA_HOME - location of a JDK home dir
@REM
@REM Optional ENV vars
@REM M2_HOME - location of maven2's installed home dir
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
@REM e.g. to debug Maven itself, use
@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
@REM ----------------------------------------------------------------------------
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
@echo off
@REM set title of command window
title %0
@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
@REM set %HOME% to equivalent of $HOME
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
@REM Execute a user defined script before this one
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
:skipRcPre
@setlocal
set ERROR_CODE=0
@REM To isolate internal variables from possible post scripts, we use another setlocal
@setlocal
@REM ==== START VALIDATION ====
if not "%JAVA_HOME%" == "" goto OkJHome
echo.
echo Error: JAVA_HOME not found in your environment. >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error
:OkJHome
if exist "%JAVA_HOME%\bin\java.exe" goto init
echo.
echo Error: JAVA_HOME is set to an invalid directory. >&2
echo JAVA_HOME = "%JAVA_HOME%" >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error
@REM ==== END VALIDATION ====
:init
@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
@REM Fallback to current working directory if not found.
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
set EXEC_DIR=%CD%
set WDIR=%EXEC_DIR%
:findBaseDir
IF EXIST "%WDIR%"\.mvn goto baseDirFound
cd ..
IF "%WDIR%"=="%CD%" goto baseDirNotFound
set WDIR=%CD%
goto findBaseDir
:baseDirFound
set MAVEN_PROJECTBASEDIR=%WDIR%
cd "%EXEC_DIR%"
goto endDetectBaseDir
:baseDirNotFound
set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
cd "%EXEC_DIR%"
:endDetectBaseDir
IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
@setlocal EnableExtensions EnableDelayedExpansion
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
:endReadAdditionalConfig
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
)
@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
if exist %WRAPPER_JAR% (
if "%MVNW_VERBOSE%" == "true" (
echo Found %WRAPPER_JAR%
)
) else (
if not "%MVNW_REPOURL%" == "" (
SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
)
if "%MVNW_VERBOSE%" == "true" (
echo Couldn't find %WRAPPER_JAR%, downloading it ...
echo Downloading from: %DOWNLOAD_URL%
)
powershell -Command "&{"^
"$webclient = new-object System.Net.WebClient;"^
"if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
"$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
"}"^
"[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
"}"
if "%MVNW_VERBOSE%" == "true" (
echo Finished downloading %WRAPPER_JAR%
)
)
@REM End of extension
@REM Provide a "standardized" way to retrieve the CLI args that will
@REM work with both Windows and non-Windows executions.
set MAVEN_CMD_LINE_ARGS=%*
%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
if ERRORLEVEL 1 goto error
goto end
:error
set ERROR_CODE=1
:end
@endlocal & set ERROR_CODE=%ERROR_CODE%
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
@REM check for post script, once with legacy .bat ending and once with .cmd ending
if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
:skipRcPost
@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
if "%MAVEN_BATCH_PAUSE%" == "on" pause
if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
exit /B %ERROR_CODE%
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.5</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>Breitner.Roldan</groupId>
<artifactId>ProyectoUnZipFile</artifactId>
<version>0.0.1</version>
<name>UnZipFile</name>
<description>UnZipFile</description>
<properties>
<java.version>11</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>
package com.Spring;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class UnZipFileApplication {
public static void main(String[] args) {
SpringApplication.run(UnZipFileApplication.class, args);
}
}
package com.Spring.controllers;
import java.io.IOException;
import javax.validation.constraints.NotNull;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;
import com.Spring.exceptions.ExceptionResponse;
import com.Spring.services.UnZipService;
@RestController
@RequestMapping("/api/planning")
public class UnZipController {
private final UnZipService unZipService;
@Autowired
public UnZipController(UnZipService unZipService) {
this.unZipService = unZipService;
}
@GetMapping("/upload-activities")
public ResponseEntity<ExceptionResponse> unZip(@RequestParam("zip") @NotNull MultipartFile file) throws IOException {
return ResponseEntity.ok(unZipService.unzip(file));
}
}
package com.Spring.exceptions;
import java.util.Date;
import lombok.Getter;
@Getter
public class ExceptionResponse {
private final Date timestamp;
private final String message;
private final String details;
public ExceptionResponse(Date timestamp, String message, String details) {
super();
this.timestamp = timestamp;
this.message = message;
this.details = details;
}
}
package com.Spring.services;
import java.io.IOException;
import org.springframework.web.multipart.MultipartFile;
import com.Spring.exceptions.ExceptionResponse;
public interface UnZipService {
ExceptionResponse unzip(MultipartFile file) throws IOException;
}
package com.Spring.servicesImpl;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Date;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;
import com.Spring.exceptions.ExceptionResponse;
import com.Spring.services.UnZipService;
@Component
public class UnZipServiceImp implements UnZipService {
public static File newFile(File destinationDir, ZipEntry zipEntry) throws IOException {
File destFile = new File(destinationDir, zipEntry.getName());
String destDirPath = destinationDir.getCanonicalPath();
String destFilePath = destFile.getCanonicalPath();
if (!destFilePath.startsWith(destDirPath + File.separator)) {
throw new IOException("Entry is outside of the target dir: " + zipEntry.getName());
}
return destFile;
}
@Override
public ExceptionResponse unzip(MultipartFile file) throws IOException {
// String ext = FilenameUtils.getExtension(file.getOriginalFilename());
// if(ext.equals("zip")) {
File destDir = new File("src/main/resources/unzipTest");
byte[] buffer = new byte[1024];
ZipInputStream zis = new ZipInputStream(file.getInputStream());
ZipEntry zipEntry = zis.getNextEntry();
while (zipEntry != null) {
File newFile = newFile(destDir, zipEntry);
if (zipEntry.isDirectory()) {
if (!newFile.isDirectory() && !newFile.mkdirs()) {
throw new IOException("Failed to create directory " + newFile);
}
} else {
// fix for Windows-created archives
File parent = newFile.getParentFile();
if (!parent.isDirectory() && !parent.mkdirs()) {
throw new IOException("Failed to create directory " + parent);
}
// write file content
FileOutputStream fos = new FileOutputStream(newFile);
int len;
while ((len = zis.read(buffer)) > 0) {
fos.write(buffer, 0, len);
}
fos.close();
}
zipEntry = zis.getNextEntry();
}
zis.closeEntry();
zis.close();
return new ExceptionResponse(new Date(), "UnZip Exitoso.", destDir.getPath());
// } else {
// throw new IOException("The file extension most be .zip");
//}
}
}
1 ;NINGUNA ANOMALIA ;
2 ;NO SE REVISO ;
3 ;INST. MEDIDO TESTIGO ;
4 ;RETIRO MEDIDOR TESTIGO ;
5 ;CAMBIO GABINETE ;
6 ;RETIRO FONDO MADERA ;
7 ;LELALIZACION SIN MEDIDOR ;
8 ;LEGALIZACION CON MEDIDOR ;
261194555 ;BENJAMIN BECOCHE ;A;FM;3000 ;3 ;1 ;CL 7 TR # 20A-04 ;551 ;T04950 ;7217236 ;KRI;1 ;67 ;25510670650 ;RP ;25/03/2021; ;10491647 ;1;
264545592 ;SOLEIN BARRERA VARGAS ;A;FM;861 ;3 ;1 ;AV 3 # 8-40 S ;551 ;T04885 ;050355770 ;HOL;1 ;24 ;25510241360 ;RP ;25/03/2021; ;10491748 ;1;
264601635 ;MEDINA CARMEN ;A;FM;3000 ;3 ;1 ;CL 3 # 7-63 ;551 ;T04846 ;203401 ;NOA;1 ;22 ;25510223990 ;RP ;25/03/2021; ;10491649 ;1;
274269014 ;FELISA OBANDO CAISEDO ;A;FM;2000 ;3 ;1 ;C 5 13A 29 ;551 ;T04976 ;09442886 ;KRI;1 ;22 ;25510226510 ;RP ;25/03/2021; ;10491305 ;1;
278831349 ;PEDRO ANTONIO MUOZ MUOZ ;A;FM;3000 ;3 ;1 ;CL 7 S # 6-28 ;551 ;T04868 ;6318445 ;NOA;1 ;28 ;25510282100 ;RP ;25/03/2021; ;10491308 ;1;
0 ;CUENTA INVENTARIO ;A;IC;0 ;3 ;1 ;ELECTROHUILA ;1 ;T03686 ;22590134 ;ISK;1 ;1 ;10010353562 ;RP ;25/03/2021; ;10491783 ;1;
365317703 ;NOHORA ESPERANZA ROJAS ;A;FM;2000 ;3 ;1 ;CL 24 S # 2B-06 ;551 ;T04918 ;28277449 ;PAF;1 ;27 ;25510276480 ;RP ;25/03/2021; ;10491645 ;1;
533349703 ;LOURDES KIMERLY CANO GUEVARA ;A;FM;200 ;3 ;1 ;C 2 S 16 A 03 ;551 ;T04966 ;6690080747 ;CHN;1 ;23 ;25510233120 ;RP ;25/03/2021; ;10491648 ;1;
803202157 ;YENNY FER PALOMAR CUBILLOS ;A;FM;0 ;3 ;1 ;K 5A 35 41 ;551 ;T05337 ;19522276 ;HIK;1 ;5 ;25510055130 ;RP ;25/03/2021; ;10491646 ;1;
898135936 ;IRMA GUERRERO DE ANDRADE ;A;CA;4 ;3 ;1 ;K 5 5 07 LO 201 ;551 ;T04857 ;4600109778 ;RYM;1 ;22 ;25510222050 ;RP ;25/03/2021; ;10491310 ;1;
902853161 ;JAIME MANRIQUE RODRIGUEZ ;A;FM;0 ;3 ;1 ;VDA ALTO BELLA VISTA ;551 ;T04812 ;13398 ;MET;1 ;630;25516300015 ;RP ;25/03/2021; ;10490155 ;1;
956061601 ;ROJAS ROJAS HECTOR ;A;CA;0 ;3 ;1 ;K 3 9 29 S LO 101 ;551 ;T04885 ;17312270 ;HIK;1 ;28 ;25510286500 ;RP ;25/03/2021; ;10491315 ;1;
This diff is collapsed.
1 ;MAL ESTADO ;
2 ;MEDIDOR DESCALIBRADO ;
3 ;PLACA ILEGIBLE ;
4 ;SIN SELLOS ;
5 ;SELLOS ROTOS ;
6 ;MEDIDOR PERFORADO ;
1;Verificar Retiro de Medid ;
AF;Auditoria Frontera Comerc ;
CC;Cambio de clase de servic ;
CF;Critica Facturacion ;
CM;Cambio Medidor ;
IN;Instalacion Normal ;
LO;Lote sin vivienda ;
MC;Matricula de Cuenta ;
MM;Causal por Migracion de M ;
NC;Novedad Contratista ;
NN;Cuenta Nueva ;
PF;Casa Con Posible Fraude ;
PQ;Devolucion Medidor ;
PQ;Dano Electrodomestico y R ;
PQ;Reubicacion Medidor ;
PQ;Visita por Indemnizacione ;
PQ;Alto Consumo ;
PQ;Sellar Medidor ;
PQ;Instalar Medidir ;
PQ;Instalar Acometida ;
PQ;Area, Carga actividad del ;
PQ;Lectura ;
PQ;Direccion ;
PQ;Estado Medidor,Instalacio ;
PQ;Medidor Cruzado ;
RP;Revision Perdidas ;
RS;Revisión Sistema de Gener ;
SM;Sellar Medidor ;
VC;Visita Cartera ;
VP;Visitar Nuevamente ;
VR;Visita PQR ;
11;Verificar Retiro de Medid ;
AA;Alumbrado Regulado ;
AB;Bombeos de agua ;
AC;Area Comun ;
AD;Area Comun Condominios ;
AG;Alumbrado Garzon ;
AH;Alcanos Hobo ;
AI;Alumbrado Isnos ;
AJ;Inat ;
AL;Alumbrado NR Norte ;
AN;Alcanos Neiva ;
AP;Alumbrado Publico Neiva ;
AR;Alumbrado Norte NR ;
AS;Alumbrado Pitalito ;
AU;Comercial Autoconsumo ;
AX;Alumbrado Zona Norte ;
AZ;Alumbrado Timana ;
A2;AGPE si FNCER ;
A3;AGPE no FNCER ;
BQ;Bloque ;
CA;Comercial ;
CC;NR Colorada - Perez ;
CF;Comfamiliar Huila ;
CI;AP Colombia - Iquira ;
CS;Servicios Complementario ;
CT;Hocol Campo Tello ;
EA;Especial asistencial ;
EC;Empresa Comunitaria S.B. ;
EM;Empleado Residencial ;
EO;Especial con contribucio ;
EP;Expocafe Sur ;
ES;Especial Sin Contribució ;
FM;Residencial ;
GC;Generacion ;
GO;Gobernacion del Huila ;
HC;Hotel Chicala ;
HN;Hocol Neiva ;
HP;Hotel Pacande ;
HT;Hocol Toldado ;
IC;Cuenta Integradores ;
IM;Inversiones Mesaji Plaza ;
IQ;Inquilinato ;
IS;Industrial sin contribuc ;
JV;Jose Albertano Valencia ;
MF;Medidor Comunitario ;
NA;Trilladora Narino ;
NB;Industrial no regulado 4 ;
NC;Comercial no regulado 1 ;
ND;Comercial no regulado 2 ;
NH;Riego no regulado 1 ;
NI;Industrial no regulado 1 ;
NJ;Industrial No Regulado 5 ;
NK;No Regulado Industrial 6 ;
NM;Comercial no regulado 3 ;
NN;Industrial no regulado 3 ;
NO;Oficial no regulado 1 ;
NP;No Regulado Oficial ;
NQ;No Regulado Riego 2 ;
NS;Industrial No Regulado 7 ;
NT;Comercial no regulado 5 ;
NX;Comercial no regulado 4 ;
NY;Industrial no regulado 2 ;
NZ;Oficial No regulado 2 ;
N3;Riego no regulado 3 ;
N6;Comercial no regulado 6 ;
N8;Industrial No Regulado 8 ;
N9;Industrial No Regulado 8 ;
OA;Oficial Nacional ;
OB;Oficial Municipal ;
OM;Oficial Departamental ;
PA;Alumbrado La Plata ;
PC;Proceal ;
PR;Provisional ;
RC;Residencial Convenido ;
RH;Riego con subsidio ;
RI;Riego ;
SA;Industrial ;
SB;SKN Buga ;
SC;Surcolac ;
SD;SDL ;
SG;SKN Tolima - Gaitana ;
SL;Usuarios Subnormales ;