--- a/Ride/Ride.java
+++ b/Ride/Ride.java
@@ -39,6 +39,8 @@
 import java.io.IOException;
 import java.io.OutputStream;
 import java.time.ZonedDateTime;
+import java.util.LinkedHashMap;
+import java.util.Map;
 import java.util.Properties;
 import java.util.logging.Level;
 import java.util.logging.Logger;
@@ -921,11 +923,14 @@
         return tablGuiaRemision;
     }
 
+    private String textoTarifaIVA(Properties configuracion, String codigoPorcentaje) {
+        String texto = configuracion.getProperty("codigo" + codigoPorcentaje);
+        return texto != null ? texto.trim() : "";
+    }
+
     private PdfPTable crearTablaResumenValores(org.w3c.dom.Document xmlComprobante) throws DocumentException {
         String textoPorcentual;
-        String textoPorcentual5;
         PdfPCell datosresumen;
-        String textoPorcentual15;
         PdfPTable tablResumenValores = new PdfPTable(2);
         tablResumenValores.setWidthPercentage(40.0f);
         tablResumenValores.setHorizontalAlignment(2);
@@ -955,12 +960,8 @@
         String IVA12 = "0.00";
         double impuestoTotal = 0.0;
         String codigoPorcentual = configuracion.getProperty("codigoDefecto");
-        boolean codigo4Presente = false;
-        boolean codigo5Presente = false;
-        String baseImponible4 = null;
-        String baseImponible5 = null;
-        String valor4 = null;
-        String valor5 = null;
+        // codigoPorcentaje -> {baseImponible, valor} para cada tarifa de IVA gravada (4=15%, 5=5%, 8=8%, ...)
+        LinkedHashMap<String, String[]> tarifasIVA = new LinkedHashMap<String, String[]>();
         for (int i = 0; i < cantidad; ++i) {
             org.w3c.dom.Element element = (org.w3c.dom.Element)totalImpuesto.item(i);
             String codigo = element.getElementsByTagName("codigo").item(0).getTextContent();
@@ -981,22 +982,7 @@
                     subTotalExentoIVA = baseImponible;
                     continue;
                 }
-                if (codigoPorcentaje.equals("4")) {
-                    codigo4Presente = true;
-                    codigoPorcentual = codigoPorcentaje;
-                    baseImponible4 = baseImponible;
-                    valor4 = valor;
-                    subTotal12 = baseImponible;
-                    IVA12 = valor;
-                    continue;
-                }
-                if (!codigoPorcentaje.equals("5")) continue;
-                codigo5Presente = true;
-                codigoPorcentual = codigoPorcentaje;
-                baseImponible5 = baseImponible;
-                valor5 = valor;
-                subTotal12 = baseImponible;
-                IVA12 = valor;
+                tarifasIVA.put(codigoPorcentaje, new String[]{baseImponible, valor});
                 continue;
             }
             if (codigo.equals("3")) {
@@ -1006,32 +992,16 @@
             if (!codigo.equals("5")) continue;
             IRBPNR = valor;
         }
-        if (codigo4Presente && codigo5Presente) {
-            textoPorcentual15 = "15%";
-            datosresumen = new PdfPCell(new Phrase("SUBTOTAL " + textoPorcentual15, this.font8));
-            datosresumen.setPadding(1.0f);
-            datosresumen.setHorizontalAlignment(0);
-            tablResumenValores.addCell(datosresumen);
-            datosresumen = new PdfPCell(new Phrase(baseImponible4, this.font8));
-            datosresumen.setPadding(1.0f);
-            datosresumen.setHorizontalAlignment(2);
-            tablResumenValores.addCell(datosresumen);
-            textoPorcentual5 = "5%";
-            datosresumen = new PdfPCell(new Phrase("SUBTOTAL " + textoPorcentual5, this.font8));
-            datosresumen.setPadding(1.0f);
-            datosresumen.setHorizontalAlignment(0);
-            tablResumenValores.addCell(datosresumen);
-            datosresumen = new PdfPCell(new Phrase(baseImponible5, this.font8));
-            datosresumen.setPadding(1.0f);
-            datosresumen.setHorizontalAlignment(2);
-            tablResumenValores.addCell(datosresumen);
-        } else {
-            textoPorcentual = configuracion.getProperty("codigo" + codigoPorcentual);
+        if (tarifasIVA.isEmpty()) {
+            tarifasIVA.put(codigoPorcentual, new String[]{subTotal12, IVA12});
+        }
+        for (Map.Entry<String, String[]> tarifa : tarifasIVA.entrySet()) {
+            textoPorcentual = this.textoTarifaIVA(configuracion, tarifa.getKey());
             datosresumen = new PdfPCell(new Phrase("SUBTOTAL " + textoPorcentual, this.font8));
             datosresumen.setPadding(1.0f);
             datosresumen.setHorizontalAlignment(0);
             tablResumenValores.addCell(datosresumen);
-            datosresumen = new PdfPCell(new Phrase(subTotal12, this.font8));
+            datosresumen = new PdfPCell(new Phrase(tarifa.getValue()[0], this.font8));
             datosresumen.setPadding(1.0f);
             datosresumen.setHorizontalAlignment(2);
             tablResumenValores.addCell(datosresumen);
@@ -1088,32 +1058,13 @@
             datosresumen.setHorizontalAlignment(2);
             tablResumenValores.addCell(datosresumen);
         }
-        if (codigo4Presente && codigo5Presente) {
-            textoPorcentual15 = "15%";
-            datosresumen = new PdfPCell(new Phrase("IVA " + textoPorcentual15, this.font8));
-            datosresumen.setPadding(1.0f);
-            datosresumen.setHorizontalAlignment(0);
-            tablResumenValores.addCell(datosresumen);
-            datosresumen = new PdfPCell(new Phrase(valor4, this.font8));
-            datosresumen.setPadding(1.0f);
-            datosresumen.setHorizontalAlignment(2);
-            tablResumenValores.addCell(datosresumen);
-            textoPorcentual5 = "5%";
-            datosresumen = new PdfPCell(new Phrase("IVA " + textoPorcentual5, this.font8));
-            datosresumen.setPadding(1.0f);
-            datosresumen.setHorizontalAlignment(0);
-            tablResumenValores.addCell(datosresumen);
-            datosresumen = new PdfPCell(new Phrase(valor5, this.font8));
-            datosresumen.setPadding(1.0f);
-            datosresumen.setHorizontalAlignment(2);
-            tablResumenValores.addCell(datosresumen);
-        } else {
-            textoPorcentual = configuracion.getProperty("codigo" + codigoPorcentual);
+        for (Map.Entry<String, String[]> tarifa : tarifasIVA.entrySet()) {
+            textoPorcentual = this.textoTarifaIVA(configuracion, tarifa.getKey());
             datosresumen = new PdfPCell(new Phrase("IVA " + textoPorcentual, this.font8));
             datosresumen.setPadding(1.0f);
             datosresumen.setHorizontalAlignment(0);
             tablResumenValores.addCell(datosresumen);
-            datosresumen = new PdfPCell(new Phrase(IVA12, this.font8));
+            datosresumen = new PdfPCell(new Phrase(tarifa.getValue()[1], this.font8));
             datosresumen.setPadding(1.0f);
             datosresumen.setHorizontalAlignment(2);
             tablResumenValores.addCell(datosresumen);
--- a/JasperRide/JasperRide.java
+++ b/JasperRide/JasperRide.java
@@ -99,10 +99,12 @@
         String importeTotal = "0.00";
         boolean codigo4Presente = false;
         boolean codigo5Presente = false;
-        String baseImponible4 = null;
-        String baseImponible5 = null;
-        String valor4 = null;
-        String valor5 = null;
+        String baseImponible4 = "0.00";
+        String baseImponible5 = "0.00";
+        String valor4 = "0.00";
+        String valor5 = "0.00";
+        String baseImponibleIva8 = "0.00";
+        String valorIva8 = "0.00";
         if (!codDoc.equals("07")) {
             NodeList totalImpuesto = xmlComprobante.getElementsByTagName("totalImpuesto");
             int cantidadImpuesto = totalImpuesto.getLength();
@@ -143,6 +145,11 @@
                         valor5 = valor2;
                         continue;
                     }
+                    if (codigoPorcentaje.equals("8")) {
+                        baseImponibleIva8 = baseImponible;
+                        valorIva8 = valor2;
+                        continue;
+                    }
                     subTotal12 = baseImponible;
                     IVA12 = valor2;
                     continue;
@@ -189,6 +196,9 @@
             factura.setIdentificacionComprador(identificacionComprador);
             factura.setFechaEmision(fechaEmision);
             factura.setGuiaRemision(guiaRemision);
+            if (xmlComprobante.getElementsByTagName("placa").getLength() != 0) {
+                factura.setPlaca(xmlComprobante.getElementsByTagName("placa").item(0).getTextContent());
+            }
             campoAdicional = xmlComprobante.getElementsByTagName("campoAdicional");
             int cantidad = campoAdicional.getLength();
             for (int i3 = 0; i3 < cantidad; ++i3) {
@@ -238,6 +248,8 @@
             factura.setSubTotalNoObjetoIVA(subTotalNoObjetoIVA);
             factura.setValor4(valor4);
             factura.setValor5(valor5);
+            factura.setBaseImponible8(baseImponibleIva8);
+            factura.setValor8(valorIva8);
             factura.setImporteTotal(subTotal0);
             factura.setSubTotalSinImpuesto(xmlComprobante.getElementsByTagName("totalSinImpuestos").item(0).getTextContent());
             factura.setTotalDescuento(xmlComprobante.getElementsByTagName("totalDescuento").item(0).getTextContent());
@@ -318,6 +330,8 @@
             liqCompra.setSubTotalExentoIVA(subTotalExentoIVA);
             liqCompra.setSubTotalNoObjetoIVA(subTotalNoObjetoIVA);
             liqCompra.setIVA12(IVA12);
+            liqCompra.setBaseImponible8(baseImponibleIva8);
+            liqCompra.setValor8(valorIva8);
             liqCompra.setImporteTotal(subTotal0);
             liqCompra.setSubTotalSinImpuesto(xmlComprobante.getElementsByTagName("totalSinImpuestos").item(0).getTextContent());
             liqCompra.setTotalDescuento(xmlComprobante.getElementsByTagName("totalDescuento").item(0).getTextContent());
@@ -388,6 +402,8 @@
             notaCredito.setSubTotalExentoIVA(subTotalExentoIVA);
             notaCredito.setSubTotalNoObjetoIVA(subTotalNoObjetoIVA);
             notaCredito.setIVA12(IVA12);
+            notaCredito.setBaseImponible8(baseImponibleIva8);
+            notaCredito.setValor8(valorIva8);
             notaCredito.setImporteTotal(subTotal0);
             notaCredito.setSubTotalSinImpuesto(xmlComprobante.getElementsByTagName("totalSinImpuestos").item(0).getTextContent());
             notaCredito.setImporteTotal(importeTotal);
@@ -447,6 +463,8 @@
             notaDebito.setSubTotalExentoIVA(subTotalExentoIVA);
             notaDebito.setSubTotalNoObjetoIVA(subTotalNoObjetoIVA);
             notaDebito.setIVA12(IVA12);
+            notaDebito.setBaseImponible8(baseImponibleIva8);
+            notaDebito.setValor8(valorIva8);
             notaDebito.setImporteTotal(subTotal0);
             notaDebito.setSubTotalSinImpuesto(xmlComprobante.getElementsByTagName("totalSinImpuestos").item(0).getTextContent());
             notaDebito.setImporteTotal(importeTotal);
@@ -582,7 +600,7 @@
             FileInputStream inputStream = new FileInputStream(new File(dirPlantilla));
             JasperDesign jasperDesign = JRXmlLoader.load((InputStream)inputStream);
             JasperReport jasperReport = JasperCompileManager.compileReport((JasperDesign)jasperDesign);
-            HashMap<String, String> parameters = new HashMap<String, String>();
+            HashMap<String, Object> parameters = new HashMap<String, Object>();
             parameters.put("DIR_PLANTILLAS", dirPlantillas);
             JRBeanCollectionDataSource beanColDataSource = new JRBeanCollectionDataSource(data);
             JasperPrint jasperPrint = JasperFillManager.fillReport((JasperReport)jasperReport, parameters, (JRDataSource)beanColDataSource);
--- a/JasperComprobantes/ComprobanteGeneral.java
+++ b/JasperComprobantes/ComprobanteGeneral.java
@@ -32,6 +32,8 @@
     private String valor4;
     private String baseImponible5;
     private String valor5;
+    private String baseImponible8 = "0.00";
+    private String valor8 = "0.00";
 
     public String getAmbiente() {
         return this.ambiente;
@@ -256,4 +258,20 @@
     public void setTotalDescuento(String totalDescuento) {
         this.totalDescuento = totalDescuento;
     }
+
+    public String getBaseImponible8() {
+        return this.baseImponible8;
+    }
+
+    public void setBaseImponible8(String baseImponible8) {
+        this.baseImponible8 = baseImponible8;
+    }
+
+    public String getValor8() {
+        return this.valor8;
+    }
+
+    public void setValor8(String valor8) {
+        this.valor8 = valor8;
+    }
 }
--- a/JasperComprobantes/Factura.java
+++ b/JasperComprobantes/Factura.java
@@ -13,6 +13,7 @@
 public class Factura
 extends ComprobanteGeneral {
     private String guiaRemision;
+    private String placa;
     private String razonSocialComprador;
     private String identificacionComprador;
     private String propina;
@@ -29,6 +30,14 @@
         this.guiaRemision = guiaRemision;
     }
 
+    public String getPlaca() {
+        return this.placa;
+    }
+
+    public void setPlaca(String placa) {
+        this.placa = placa;
+    }
+
     public String getRazonSocialComprador() {
         return this.razonSocialComprador;
     }
--- a/TiposComprobantes/Factura.java
+++ b/TiposComprobantes/Factura.java
@@ -26,6 +26,7 @@
     private List<TotalImpuesto> totalConImpuesto;
     private String importeTotal;
     private String moneda;
+    private String placa;
     private List<DetalleFactura> detalles;
     private List<CampoAdicional> infoAdicional;
     private List<Pago> pagos;
@@ -93,6 +94,11 @@
             tagMoneda.setTextContent(this.moneda);
             tagInfoFactura.appendChild(tagMoneda);
         }
+        if (this.placa != null && !this.placa.trim().equals("")) {
+            Element tagPlaca = xmlComprobante.createElement("placa");
+            tagPlaca.setTextContent(this.placa.trim());
+            tagInfoFactura.appendChild(tagPlaca);
+        }
         tagInfoFactura.appendChild(util.construirXMLPagos(this.getPagos(), xmlComprobante));
         tagFactura.appendChild(tagInfoFactura);
         tagFactura.appendChild(util.construirXMLDetallesFactura(this.detalles, xmlComprobante));
@@ -170,6 +176,14 @@
         this.moneda = moneda;
     }
 
+    public String getPlaca() {
+        return this.placa;
+    }
+
+    public void setPlaca(String placa) {
+        this.placa = placa;
+    }
+
     public List<DetalleFactura> getDetalles() {
         return this.detalles;
     }
