<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="nota_factura" language="groovy" pageWidth="612" pageHeight="792" columnWidth="572" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="1.3636363636363658"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<property name="ireport.jasperserver.reportUnit" value="/reports/caja_menor/facturas_adq_efec"/>
	<property name="ireport.jasperserver.url" value="http://3.22.202.200:8080/jasperserver/services/repository"/>
	<parameter name="whereId" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[SELECT to_char(tab0.ID) as id,
       to_char(tab0.ID_RESOL_DIAN) as id_resol_dian,
       to_char(tab0.CONSECUTIVO) as consecutivo,
       to_char(tab0.RAZON_SOCIAL) as razon_social,
       to_char(tab0.NUM_DOC) as num_doc,
       to_char(tab0.DIRECCION) as direccion,
       to_char(tab0.EMAIL) as email,
       to_char(tab0.FECHA_GENERADO,'yyyy-mm-dd') as fecha_generado,
       tab0.ID_MUNICIPIO,
       tab0.ID_DEPTO,
       to_char(tab0.TELEFONO) as telefono,
       to_char(tab0.FECHA_INI,'yyyy-mm-dd') as fecha_ini,
       to_char(tab0.FECHA_FIN,'yyyy-mm-dd') as fecha_fin,
	NUMERO_A_TEXTO(tab0.valor_pagar - tab0.valor_ica - tab0.valor_retefuente) || ' MCTE' as TOTAL_TEXTO_T,
       tab0.VALOR_PAGAR as valor_pagar,
       tab0.VALOR_ICA as valor_ica,
	tab0.VALOR_RETEFUENTE AS valor_retefuente,
	--tab0.valor_pagar - tab0.valor_ica - tab0.valor_retefuente as total_neto,
	tab0.valor_total as total_neto,
	to_char(tab0.OBSERVACION) as observacion,
       to_char(tab0.TOTAL_TEXTO) as total_texto,
       to_char(tab0.OBSERVACION) as observacion,
	to_char(tab0.descripcion) as descripcion,
	tab0.valor_total as valor_total,
       tab0.ELABORADO_POR,
       tab0.APROBADO_POR,
	to_char(tab1.municipio) as municipio,
	to_char(tab2.descripcion) as departamento,
	to_char(tab3.resolucion_numero) as resolucion_numero,
	to_char(tab3.fecha_inicio,'yyyy-mm-dd') as fecha_inicio,
	to_char(tab3.fecha_fin,'yyyy-mm-dd') as fecha_final,
	to_char(tab0.prefijo) as prefijo,
	tab6.nombre || ' ' || tab6.apellido as nombre_ela,
	tab7.nombre || ' ' || tab7.apellido as nombre_apr
FROM CM_FACTURAS_ADQUISICIONES_EFEC tab0
LEFT JOIN MUNICIPIOS tab1 ON tab0.id_municipio=tab1.codmun
LEFT JOIN DEPARTAMENTO tab2 ON tab0.id_depto=tab2.id_depto
LEFT JOIN RESOL_NUMERACION_DIAN tab3 ON tab0.id_resol_dian=tab3.id
LEFT JOIN USUARIO tab6 ON to_char(tab0.elaborado_por)=tab6.num_doc
LEFT JOIN USUARIO tab7 ON to_char(tab0.aprobado_por)=tab7.num_doc
WHERE 1=1
$P!{whereId}]]>
	</queryString>
	<field name="ID" class="java.lang.String"/>
	<field name="ID_RESOL_DIAN" class="java.lang.String"/>
	<field name="CONSECUTIVO" class="java.lang.String"/>
	<field name="RAZON_SOCIAL" class="java.lang.String"/>
	<field name="NUM_DOC" class="java.lang.String"/>
	<field name="DIRECCION" class="java.lang.String"/>
	<field name="EMAIL" class="java.lang.String"/>
	<field name="FECHA_GENERADO" class="java.lang.String"/>
	<field name="ID_MUNICIPIO" class="java.math.BigDecimal"/>
	<field name="ID_DEPTO" class="java.math.BigDecimal"/>
	<field name="TELEFONO" class="java.lang.String"/>
	<field name="FECHA_INI" class="java.lang.String"/>
	<field name="FECHA_FIN" class="java.lang.String"/>
	<field name="TOTAL_TEXTO_T" class="java.lang.String"/>
	<field name="VALOR_PAGAR" class="java.math.BigDecimal"/>
	<field name="VALOR_ICA" class="java.math.BigDecimal"/>
	<field name="VALOR_RETEFUENTE" class="java.math.BigDecimal"/>
	<field name="TOTAL_NETO" class="java.math.BigDecimal"/>
	<field name="OBSERVACION" class="java.lang.String"/>
	<field name="TOTAL_TEXTO" class="java.lang.String"/>
	<field name="DESCRIPCION" class="java.lang.String"/>
	<field name="VALOR_TOTAL" class="java.math.BigDecimal"/>
	<field name="ELABORADO_POR" class="java.math.BigDecimal"/>
	<field name="APROBADO_POR" class="java.math.BigDecimal"/>
	<field name="MUNICIPIO" class="java.lang.String"/>
	<field name="DEPARTAMENTO" class="java.lang.String"/>
	<field name="RESOLUCION_NUMERO" class="java.lang.String"/>
	<field name="FECHA_INICIO" class="java.lang.String"/>
	<field name="FECHA_FINAL" class="java.lang.String"/>
	<field name="PREFIJO" class="java.lang.String"/>
	<field name="NOMBRE_ELA" class="java.lang.String"/>
	<field name="NOMBRE_APR" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="220" splitType="Stretch">
			<staticText>
				<reportElement x="0" y="0" width="572" height="133"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement/>
				<text><![CDATA[]]></text>
			</staticText>
			<staticText>
				<reportElement x="387" y="133" width="185" height="87"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement/>
				<text><![CDATA[]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="446" y="161" width="110" height="23" isRemoveLineWhenBlank="true"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{MUNICIPIO} + " - " + $F{DEPARTAMENTO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="75" y="161" width="119" height="12"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NUM_DOC}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="154" y="35" width="402" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[NIT 900.500.018-2]]></text>
			</staticText>
			<staticText>
				<reportElement x="154" y="0" width="402" height="35"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font fontName="SansSerif" size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[DOCUMENTO SOPORTE EN ADQUISICIONES EFECTUADAS
A NO OBLIGADOS A FACTURAR]]></text>
			</staticText>
			<textField>
				<reportElement x="75" y="149" width="312" height="12"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{RAZON_SOCIAL}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="446" y="186" width="110" height="12" isRemoveLineWhenBlank="true"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{TELEFONO}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Transparent" x="396" y="161" width="50" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF"/>
				<box leftPadding="2"/>
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Ciudad: ]]></text>
			</staticText>
			<staticText>
				<reportElement x="10" y="161" width="65" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[NIT / C.C:]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="75" y="174" width="312" height="12" isRemoveLineWhenBlank="true"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DIRECCION}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="10" y="149" width="65" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Señores:]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="396" y="186" width="50" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF"/>
				<box leftPadding="2"/>
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Telefono: ]]></text>
			</staticText>
			<staticText>
				<reportElement x="10" y="174" width="65" height="12" isRemoveLineWhenBlank="true">
					<printWhenExpression><![CDATA[$F{DIRECCION}!=null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Direccion:]]></text>
			</staticText>
			<staticText>
				<reportElement x="387" y="74" width="85" height="30"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[DOCUMENTO SOPORTE No.]]></text>
			</staticText>
			<textField>
				<reportElement x="472" y="74" width="100" height="30"/>
				<textElement verticalAlignment="Middle">
					<font size="10" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{PREFIJO}+ " "+$F{CONSECUTIVO}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="396" y="147" width="50" height="14"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Fecha:]]></text>
			</staticText>
			<textField pattern="">
				<reportElement x="446" y="147" width="110" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""+$F{FECHA_GENERADO}]]></textFieldExpression>
			</textField>
			<image>
				<reportElement x="6" y="6" width="140" height="40"/>
				<imageExpression class="java.lang.String"><![CDATA["repo:LogoEmpresa003.jpg"]]></imageExpression>
			</image>
			<staticText>
				<reportElement x="10" y="186" width="65" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Email:]]></text>
			</staticText>
			<textField>
				<reportElement x="75" y="186" width="119" height="12"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{EMAIL}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="16" y="74" width="142" height="48"/>
				<box>
					<pen lineWidth="0.0"/>
					<topPen lineWidth="0.0"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Resolución DIAN "+" No. "+$F{RESOLUCION_NUMERO}+" del "+$F{FECHA_INICIO}+" - "+$F{FECHA_FINAL}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="133" width="387" height="87"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement/>
				<text><![CDATA[]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="234" splitType="Stretch">
			<staticText>
				<reportElement mode="Transparent" x="0" y="0" width="357" height="26" forecolor="#000000" backcolor="#FFFFFF"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[DETALLE]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="457" y="0" width="115" height="26" forecolor="#000000" backcolor="#FFFFFF"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[VALOR]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="357" y="0" width="30" height="26" forecolor="#000000" backcolor="#FFFFFF"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[CANT.]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="387" y="0" width="70" height="26" forecolor="#000000" backcolor="#FFFFFF"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[SUB TOTAL]]></text>
			</staticText>
			<rectangle>
				<reportElement stretchType="RelativeToTallestObject" x="457" y="26" width="115" height="125"/>
			</rectangle>
			<rectangle>
				<reportElement stretchType="RelativeToTallestObject" x="0" y="26" width="457" height="125"/>
			</rectangle>
			<textField>
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="457" y="26" width="15" height="125" backcolor="#FFFFFF"/>
				<box leftPadding="2">
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="6" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["\$"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="0" y="26" width="357" height="125"/>
				<box topPadding="5" leftPadding="2" bottomPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle" markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DESCRIPCION}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement stretchType="RelativeToTallestObject" x="472" y="26" width="100" height="125"/>
				<box rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_PAGAR}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="357" y="26" width="30" height="125"/>
				<box topPadding="2" leftPadding="2" bottomPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[1]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="387" y="26" width="70" height="125"/>
				<box topPadding="2" leftPadding="2" bottomPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_PAGAR}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement mode="Opaque" x="457" y="163" width="15" height="12" backcolor="#D2D0D0"/>
				<box leftPadding="2">
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["\$"]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="199" width="100" height="34"/>
				<box topPadding="1" leftPadding="1" bottomPadding="1">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement>
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[OBSERVACIONES:]]></text>
			</staticText>
			<staticText>
				<reportElement x="387" y="151" width="70" height="12"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement>
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[SUBTOTAL]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="100" y="199" width="472" height="34"/>
				<box topPadding="1" leftPadding="1">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement/>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{OBSERVACION}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="151" width="29" height="48"/>
				<box topPadding="1" leftPadding="1" bottomPadding="1">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement>
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[SON:]]></text>
			</staticText>
			<textField pattern="#,##0.00">
				<reportElement mode="Opaque" x="472" y="174" width="100" height="13" backcolor="#D2D0D0"/>
				<box rightPadding="3">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_ICA}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement mode="Opaque" x="472" y="151" width="100" height="12" backcolor="#D2D0D0"/>
				<box rightPadding="3">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_PAGAR}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement mode="Opaque" x="457" y="186" width="15" height="13" backcolor="#D2D0D0"/>
				<box leftPadding="2">
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["\$"]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="387" y="186" width="70" height="13"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement>
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[NETO A PAGAR]]></text>
			</staticText>
			<textField>
				<reportElement mode="Opaque" x="457" y="151" width="15" height="12" backcolor="#D2D0D0"/>
				<box leftPadding="2">
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["\$"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="29" y="151" width="358" height="48"/>
				<box topPadding="1" leftPadding="1">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement>
					<font size="10" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{TOTAL_TEXTO_T}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="387" y="174" width="70" height="12"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement>
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[RETE ICA]]></text>
			</staticText>
			<textField pattern="#,##0.00">
				<reportElement mode="Opaque" x="472" y="186" width="100" height="13" backcolor="#D2D0D0"/>
				<box rightPadding="3">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{TOTAL_NETO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement mode="Opaque" x="457" y="175" width="15" height="11" backcolor="#D2D0D0"/>
				<box leftPadding="2">
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["\$"]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement mode="Opaque" x="472" y="163" width="100" height="12" backcolor="#D2D0D0"/>
				<box rightPadding="3">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_RETEFUENTE}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="387" y="163" width="70" height="11"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement>
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[RETEFUENTE]]></text>
			</staticText>
		</band>
	</columnHeader>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="60" splitType="Stretch">
			<staticText>
				<reportElement x="29" y="41" width="129" height="12"/>
				<box leftPadding="2"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[ELABORADO POR]]></text>
			</staticText>
			<textField>
				<reportElement x="29" y="29" width="129" height="12"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.0"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""+$F{NOMBRE_ELA}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="396" y="41" width="140" height="12"/>
				<box leftPadding="2"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[APROBADO POR]]></text>
			</staticText>
			<textField>
				<reportElement x="396" y="29" width="140" height="12"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.0"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[( $F{NOMBRE_APR} == "NULL"
    ? ""
    : $F{NOMBRE_APR}
)]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="20">
			<staticText>
				<reportElement x="0" y="0" width="572" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[No hay objetos a mostrar.]]></text>
			</staticText>
		</band>
	</noData>
</jasperReport>
