<?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.100000000000005"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<parameter name="id_debito" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="numero_letras" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[select

to_char(tab0.fecha_anu, 'dd/mm/yyyy') as fecha_anu2,
tab0.*,
tab2.direccion,
tab2.tel,
upper(nvl(Tab2.Ciudad_dir,'BOGOTA')) as ciudad,
tab3.nombre||' '||tab3.apellido AS USUARIO_NAME,
UPPER(tab4.abrev_fac) AS MONEDA,tab4.simbolo as SIMBOLO,
tab2.id_pais,
upper(nvl(pais.descripcion,'COLOMBIA')) as pais

from CA_DEBITO_PRODUCTO tab0

LEFT JOIN interceros_du_dir_v tab2 ON tab2.id_mae_ter = tab0.id_mae_ter

LEFT JOIN USUARIO tab3 ON tab3.username=tab0.usuario

LEFT JOIN CA_TIP_MON tab4 ON tab4.id_tip_mon=tab0.id_tip_mon

left join pais pais
on tab2.id_pais = pais.id_pais

where
tab0.id_debito = $P{id_debito}]]>
	</queryString>
	<field name="FECHA_ANU2" class="java.lang.String"/>
	<field name="ID_DEBITO" class="java.math.BigDecimal"/>
	<field name="ID_ANHOS" class="java.math.BigDecimal"/>
	<field name="ID_PUNTO_VENTA" class="java.math.BigDecimal"/>
	<field name="ID_TIPO_DEBITO" class="java.math.BigDecimal"/>
	<field name="SEC_DEBITO" class="java.math.BigDecimal"/>
	<field name="ID_MAE_TER" class="java.math.BigDecimal"/>
	<field name="FECHA_PROCESO" class="java.sql.Timestamp"/>
	<field name="DIAS_PAGO" class="java.math.BigDecimal"/>
	<field name="VALOR_BRUTO" class="java.math.BigDecimal"/>
	<field name="VALOR_IVA" class="java.math.BigDecimal"/>
	<field name="VALOR_DCTO" class="java.math.BigDecimal"/>
	<field name="PORCEN_DCTO" class="java.math.BigDecimal"/>
	<field name="VALOR_TOTAL" class="java.math.BigDecimal"/>
	<field name="ID_MAE_TER_VEN" class="java.math.BigDecimal"/>
	<field name="OBSERVACIONES" class="java.lang.String"/>
	<field name="ID_TIP_MON" class="java.math.BigDecimal"/>
	<field name="VALOR_MONEDA" class="java.math.BigDecimal"/>
	<field name="TRM_DEBITO" class="java.math.BigDecimal"/>
	<field name="ESTADO" class="java.math.BigDecimal"/>
	<field name="FECHA_ANU" class="java.sql.Timestamp"/>
	<field name="MOTIVO_ANU" class="java.lang.String"/>
	<field name="PERIODO_INI" class="java.sql.Timestamp"/>
	<field name="PERIODO_FIN" class="java.sql.Timestamp"/>
	<field name="USUARIO" class="java.lang.String"/>
	<field name="ID_REFERENCIA1" class="java.math.BigDecimal"/>
	<field name="ID_REFERENCIA2" class="java.lang.String"/>
	<field name="TITULO_MINERO" class="java.lang.String"/>
	<field name="PUNTO_VENTA" class="java.lang.String"/>
	<field name="ABREVIATURA" class="java.lang.String"/>
	<field name="NUM_DOC_VEN" class="java.lang.String"/>
	<field name="RAZON_SOC_VEN" class="java.lang.String"/>
	<field name="VENDEDOR" class="java.lang.String"/>
	<field name="TIPO_DEBITO" class="java.lang.String"/>
	<field name="MINERAL" class="java.lang.String"/>
	<field name="NUM_DOC" class="java.lang.String"/>
	<field name="RAZON_SOC" class="java.lang.String"/>
	<field name="TERCERO" class="java.lang.String"/>
	<field name="CODIGO_TM" class="java.lang.String"/>
	<field name="TIPO_MONEDA" class="java.lang.String"/>
	<field name="ID_DEBITO_DETALLE" class="java.math.BigDecimal"/>
	<field name="ID_PRODUCTO" class="java.math.BigDecimal"/>
	<field name="CANTIDAD" class="java.math.BigDecimal"/>
	<field name="VALOR_UNITARIO_DEBDET" class="java.math.BigDecimal"/>
	<field name="VALOR_IVA_DEBDET" class="java.math.BigDecimal"/>
	<field name="POR_IVA_DEBDET" class="java.math.BigDecimal"/>
	<field name="VALOR_DCTO_DEBDET" class="java.math.BigDecimal"/>
	<field name="PORCEN_DCT_DEBDET" class="java.math.BigDecimal"/>
	<field name="VALOR_TOTAL_DEBDET" class="java.math.BigDecimal"/>
	<field name="OBSERVACIONES_DEBDET" class="java.lang.String"/>
	<field name="CODIGO_PRO" class="java.lang.String"/>
	<field name="DESCRIPCION_PRO" class="java.lang.String"/>
	<field name="PRECIO_VEN_PUB" class="java.math.BigDecimal"/>
	<field name="VALOR_UNITARIO_PRO" class="java.math.BigDecimal"/>
	<field name="NOMBRE" class="java.lang.String"/>
	<field name="APELLIDO" class="java.lang.String"/>
	<field name="DIRECCION" class="java.lang.String"/>
	<field name="TEL" class="java.lang.String"/>
	<field name="CIUDAD" class="java.lang.String"/>
	<field name="USUARIO_NAME" class="java.lang.String"/>
	<field name="MONEDA" class="java.lang.String"/>
	<field name="SIMBOLO" class="java.lang.String"/>
	<field name="ID_PAIS" class="java.math.BigDecimal"/>
	<field name="PAIS" class="java.lang.String"/>
	<variable name="SUM_VALOR_UNI" class="java.math.BigDecimal" resetType="Group" resetGroup="Total" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_UNITARIO_DEBDET}]]></variableExpression>
	</variable>
	<variable name="SUM_VALOR_TOTAL" class="java.math.BigDecimal" resetType="Group" resetGroup="Total" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_TOTAL_DEBDET}]]></variableExpression>
	</variable>
	<variable name="SUM_VALOR_IVA" class="java.math.BigDecimal" resetType="Group" resetGroup="Total" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_IVA_DEBDET}]]></variableExpression>
	</variable>
	<variable name="SUM_CANTIDAD" class="java.math.BigDecimal" resetType="Group" resetGroup="Total" calculation="Sum">
		<variableExpression><![CDATA[$F{CANTIDAD}]]></variableExpression>
	</variable>
	<group name="Total">
		<groupExpression><![CDATA[$F{ID_DEBITO}]]></groupExpression>
		<groupHeader>
			<band height="26">
				<staticText>
					<reportElement mode="Transparent" x="100" y="0" width="327" 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 UNITARIO]]></text>
				</staticText>
				<staticText>
					<reportElement x="0" y="0" width="100" height="26"/>
					<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">
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[CODIGO
PRODUCTO]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Transparent" x="427" 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>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="162">
				<textField pattern="#,##0.00">
					<reportElement mode="Opaque" x="472" y="0" 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[( $V{SUM_VALOR_TOTAL} / $F{TRM_DEBITO} ) - ( $V{SUM_VALOR_IVA} / $F{TRM_DEBITO} )]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="0" y="0" width="457" 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>
				<staticText>
					<reportElement x="0" y="12" width="457" 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[IVA]]></text>
				</staticText>
				<staticText>
					<reportElement x="0" y="24" width="457" 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[VALOR TOTAL]]></text>
				</staticText>
				<textField pattern="#,##0.00">
					<reportElement mode="Opaque" x="472" y="12" 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[$V{SUM_VALOR_IVA} / $F{TRM_DEBITO}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00">
					<reportElement mode="Opaque" x="472" y="24" 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[$V{SUM_VALOR_TOTAL} / $F{TRM_DEBITO}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="0" y="36" 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="0.75"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<textElement>
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[SON:]]></text>
				</staticText>
				<textField>
					<reportElement x="100" y="36" width="472" height="34"/>
					<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[$P{numero_letras}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="0" y="70" width="100" height="68"/>
					<box topPadding="1" leftPadding="1" bottomPadding="1">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.0"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<textElement>
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[OBSERVACIONES:]]></text>
				</staticText>
				<textField isBlankWhenNull="true">
					<reportElement x="100" y="70" width="472" height="68"/>
					<box topPadding="1" leftPadding="1">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement/>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{OBSERVACIONES}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="0" y="138" width="100" height="24" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[$F{ESTADO} == 0]]></printWhenExpression>
					</reportElement>
					<box topPadding="1" leftPadding="1" bottomPadding="1">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<textElement>
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[ESTADO:]]></text>
				</staticText>
				<textField isBlankWhenNull="true">
					<reportElement x="100" y="138" width="472" height="24" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[$F{ESTADO} == 0]]></printWhenExpression>
					</reportElement>
					<box topPadding="1" leftPadding="1">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement>
						<font size="8"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA["Se anulo el " + $F{FECHA_ANU2} + " por motivo de: " + $F{MOTIVO_ANU}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement mode="Opaque" x="457" y="0" 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[$F{SIMBOLO}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement mode="Opaque" x="457" y="12" 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[$F{SIMBOLO}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement mode="Opaque" x="457" y="24" 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[$F{SIMBOLO}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<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="0" y="133" width="572" 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="149" width="110" height="23" isRemoveLineWhenBlank="true"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{CIUDAD} + " - " + $F{PAIS}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="73" y="161" width="81" height="12"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NUM_DOC}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="238" y="26" width="122" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[NIT 899.999.294-8]]></text>
			</staticText>
			<staticText>
				<reportElement x="10" y="57" width="320" height="47"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[
EXENTO DE RETENCIÓN EN LA FUENTE
EXENTO DE RETEICA]]></text>
			</staticText>
			<staticText>
				<reportElement x="154" y="0" width="281" height="26"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font fontName="SansSerif" size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[SERVICIO GEOLOGICO COLOMBIANO]]></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_SOC}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="346" y="186" width="71" height="12" isRemoveLineWhenBlank="true"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{TEL}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Transparent" x="396" y="149" 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="63" 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="186" width="185" 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="281" y="186" width="65" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF">
					<printWhenExpression><![CDATA[$F{TEL}!=null]]></printWhenExpression>
				</reportElement>
				<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="105" width="320" height="12"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Decreto 2026/83 Somos Agentes Retenedores IVA Ley 223 de 1995]]></text>
			</staticText>
			<staticText>
				<reportElement x="10" y="186" 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[FACTURA No.]]></text>
			</staticText>
			<textField>
				<reportElement x="472" y="74" width="84" height="30"/>
				<textElement verticalAlignment="Middle">
					<font size="10" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{ABREVIATURA} + " - 00" +$F{SEC_DEBITO}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="396" y="172" 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="dd/MM/yyyy  hh:mm aaa">
				<reportElement x="446" y="172" width="110" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{FECHA_PROCESO}]]></textFieldExpression>
			</textField>
			<image>
				<reportElement x="6" y="6" width="140" height="40"/>
				<imageExpression class="java.lang.String"><![CDATA["repo:Logo100.jpg"]]></imageExpression>
			</image>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="99" splitType="Stretch">
			<rectangle>
				<reportElement stretchType="RelativeToTallestObject" x="457" y="0" width="115" height="99"/>
			</rectangle>
			<rectangle>
				<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="100" height="99"/>
			</rectangle>
			<rectangle>
				<reportElement stretchType="RelativeToTallestObject" x="100" y="0" width="357" height="99"/>
			</rectangle>
			<textField>
				<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="100" height="99"/>
				<box>
					<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"/>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{CODIGO_PRO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="457" y="0" width="15" height="99" 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[$F{SIMBOLO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="100" y="0" width="327" height="99"/>
				<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 verticalAlignment="Middle" markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DESCRIPCION_PRO} + "\n" + $F{OBSERVACIONES_DEBDET}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement stretchType="RelativeToTallestObject" x="472" y="0" width="100" height="99"/>
				<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_UNITARIO_DEBDET} / $F{TRM_DEBITO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="427" y="0" width="30" height="99"/>
				<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{CANTIDAD}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band height="1" splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="54" splitType="Stretch">
			<staticText>
				<reportElement x="0" y="0" width="572" height="54"/>
				<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="0" y="0" width="194" height="54"/>
				<box>
					<leftPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement/>
				<text><![CDATA[]]></text>
			</staticText>
			<staticText>
				<reportElement x="25" y="29" 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="25" y="17" 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{USUARIO_NAME}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="238" y="29" width="129" 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="238" y="17" 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[" "]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="417" y="17" 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[" "]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="387" y="0" width="185" height="54"/>
				<box>
					<leftPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement/>
				<text><![CDATA[]]></text>
			</staticText>
		</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>
