<?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_bip" language="groovy" pageWidth="612" pageHeight="792" columnWidth="572" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="2.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="759"/>
	<property name="ireport.jasperserver.reportUnit" value="/reports/cartera/nota_factura_bip_SGC"/>
	<property name="ireport.jasperserver.url" value="http://192.168.2.43:8090/jasperserver/services/repository"/>
	<parameter name="id_debito" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="numero_letras" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="hoja_copia" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[select distinct

'US$' as simbolo_dolar,
'$' as simbolo_pesos,
numero_a_texto(tab0.valor_total) || 'PESOS' as valor_total_debdet_text,

deb.id_interceros_contacto,
tercon.num_doc as num_doc_tercon,
tercon.nombre as nombre_tercon,
tercon.telefono_fijo as telefono_fijo_tercon,
tercon.telefono_fax as telefono_fax_tercon,

LPAD(tab0.sec_debito,3 , '0') as sec_debito_add,

dat.direccion as direccion_dat,
dat.telefono as telefono_dat,
dat.pagina_web,

tsgi.codigo as codigo_tipo_producto,
tsgi.descripcion as tipo_producto,
deb.orden_servicio,
to_char(deb.fecha_vencimiento, 'dd/mm/yyyy') as fecha_vencimiento,

to_char(tab0.fecha_anu, 'dd/mm/yyyy') as fecha_anu2,
tab0.*,
case when tab0.dv is null then tab0.num_doc else tab0.num_doc || '-' || tab0.dv end as num_doc_dv,
round(tab0.valor_unitario_debdet/tab0.trm_debito,2)*tab0.cantidad as val_total_debdet_factura,
tab2.direccion,
tab2.tel,
upper(nvl(Tab2.Ciudad,'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 ca_debito deb
on deb.id_debito = tab0.id_debito

left join interceros_contacto tercon
on tercon.id_interceros_contacto = deb.id_interceros_contacto

left join ca_producto prod
on prod.id_producto = tab0.id_producto

left join ts_gi tsgi
on prod.id_grupo = tsgi.id

--LEFT JOIN INTERCER_DU tab1 ON tab1.id_mae_ter=tab0.id_mae_ter
--LEFT JOIN INTERCER_DU_DIR tab2 ON tab2.ID_MT_UBI=tab1.ID_MT_UBI
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

left join datos_compania dat
on dat.id = 1

where
tab0.id_debito = $P{id_debito}]]>
	</queryString>
	<field name="SIMBOLO_DOLAR" class="java.lang.String"/>
	<field name="SIMBOLO_PESOS" class="java.lang.String"/>
	<field name="VALOR_TOTAL_DEBDET_TEXT" class="java.lang.String"/>
	<field name="ID_INTERCEROS_CONTACTO" class="java.math.BigDecimal"/>
	<field name="NUM_DOC_TERCON" class="java.lang.String"/>
	<field name="NOMBRE_TERCON" class="java.lang.String"/>
	<field name="TELEFONO_FIJO_TERCON" class="java.lang.String"/>
	<field name="TELEFONO_FAX_TERCON" class="java.lang.String"/>
	<field name="SEC_DEBITO_ADD" class="java.lang.String"/>
	<field name="DIRECCION_DAT" class="java.lang.String"/>
	<field name="TELEFONO_DAT" class="java.lang.String"/>
	<field name="PAGINA_WEB" class="java.lang.String"/>
	<field name="CODIGO_TIPO_PRODUCTO" class="java.lang.String"/>
	<field name="TIPO_PRODUCTO" class="java.lang.String"/>
	<field name="ORDEN_SERVICIO" class="java.lang.String"/>
	<field name="FECHA_VENCIMIENTO" class="java.lang.String"/>
	<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_PR_TIPO_INGRE" class="java.math.BigDecimal"/>
	<field name="ID_TIPO_FACTURA" class="java.math.BigDecimal"/>
	<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="DV" class="java.math.BigDecimal"/>
	<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="APLICA_AUTO_DEB" class="java.math.BigDecimal"/>
	<field name="NOMBRE" class="java.lang.String"/>
	<field name="APELLIDO" class="java.lang.String"/>
	<field name="USUARIO_ANU" class="java.lang.String"/>
	<field name="NOMBRE_ANU" class="java.lang.String"/>
	<field name="APELLIDO_ANU" class="java.lang.String"/>
	<field name="NUM_DOC_DV" class="java.lang.String"/>
	<field name="VAL_TOTAL_DEBDET_FACTURA" class="java.math.BigDecimal"/>
	<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>
	<variable name="sum_debdet" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{VAL_TOTAL_DEBDET_FACTURA}]]></variableExpression>
	</variable>
	<group name="Total">
		<groupExpression><![CDATA[$F{ID_DEBITO}]]></groupExpression>
		<groupHeader>
			<band height="26">
				<staticText>
					<reportElement mode="Transparent" x="100" y="0" width="267" 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="397" y="0" width="85" height="18" forecolor="#000000" backcolor="#FFFFFF"/>
					<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" 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="367" 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="482" y="0" width="90" height="18" forecolor="#000000" backcolor="#FFFFFF"/>
					<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" 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 TOTAL]]></text>
				</staticText>
				<textField>
					<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="397" y="18" width="85" height="8" backcolor="#FFFFFF"/>
					<box leftPadding="2">
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{SIMBOLO}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="482" y="18" width="90" height="8" backcolor="#FFFFFF"/>
					<box leftPadding="2">
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{SIMBOLO}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="138">
				<textField pattern="#,##0.00">
					<reportElement mode="Opaque" x="482" y="0" width="90" 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{TRM_DEBITO}.intValue() != 1
    ? $V{sum_debdet}
    : 0
)]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="367" y="0" width="100" height="12"/>
					<box leftPadding="2">
						<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 DOLARES]]></text>
				</staticText>
				<staticText>
					<reportElement x="367" y="36" width="100" height="12"/>
					<box leftPadding="2">
						<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[TRM]]></text>
				</staticText>
				<staticText>
					<reportElement x="367" y="48" width="100" height="12"/>
					<box leftPadding="2">
						<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 PESOS]]></text>
				</staticText>
				<textField pattern="#,##0.00">
					<reportElement mode="Opaque" x="482" y="36" width="90" 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{TRM_DEBITO}.intValue() != 1
    ? $F{TRM_DEBITO}
    : 0
)]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00">
					<reportElement mode="Opaque" x="482" y="48" width="90" 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_BRUTO}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="0" y="0" width="100" height="84"/>
					<box topPadding="1" leftPadding="2" 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 (Valor en letras):]]></text>
				</staticText>
				<textField>
					<reportElement x="100" y="0" width="267" height="84"/>
					<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}+" M/CTE."]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement mode="Opaque" x="467" 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_DOLAR}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement mode="Opaque" x="467" y="36" 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_PESOS}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement mode="Opaque" x="467" y="48" 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_PESOS}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00">
					<reportElement mode="Opaque" x="482" y="60" width="90" 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_IVA}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement mode="Opaque" x="467" y="60" 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_PESOS}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="367" y="72" width="100" height="12"/>
					<box leftPadding="2">
						<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[TOTAL PESOS]]></text>
				</staticText>
				<textField>
					<reportElement mode="Opaque" x="467" y="72" 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_PESOS}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="367" y="60" width="100" height="12"/>
					<box leftPadding="2">
						<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>
				<textField pattern="#,##0.00">
					<reportElement mode="Opaque" x="482" y="72" width="90" 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_TOTAL}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="401" y="113" width="129" height="12"/>
					<box leftPadding="2"/>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
						<font fontName="SansSerif" size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[RECIBI CONFORME]]></text>
				</staticText>
				<staticText>
					<reportElement x="201" y="113" 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>
				<staticText>
					<reportElement x="0" y="84" 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>
				<textField isBlankWhenNull="true">
					<reportElement x="201" y="101" 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>
				</textField>
				<staticText>
					<reportElement x="34" y="113" 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="34" y="101" 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="367" y="84" width="205" height="54"/>
					<box>
						<leftPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement/>
					<text><![CDATA[]]></text>
				</staticText>
				<textField>
					<reportElement x="401" y="101" 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="0" y="84" width="367" height="54"/>
					<box>
						<leftPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement/>
					<text><![CDATA[]]></text>
				</staticText>
				<textField pattern="#,##0.00">
					<reportElement mode="Opaque" x="482" y="12" width="90" 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{TRM_DEBITO}.intValue() != 1
    ? $F{VALOR_IVA}/$F{TRM_DEBITO}
    : 0
)]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="367" y="12" width="100" height="12"/>
					<box leftPadding="2">
						<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 DOLARES]]></text>
				</staticText>
				<textField>
					<reportElement mode="Opaque" x="467" 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_DOLAR}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00">
					<reportElement mode="Opaque" x="482" y="24" width="90" 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{TRM_DEBITO}.intValue() != 1
    ? $F{VALOR_TOTAL}/$F{TRM_DEBITO}
    : 0
)]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="367" y="24" width="100" height="12"/>
					<box leftPadding="2">
						<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[TOTAL DOLARES]]></text>
				</staticText>
				<textField>
					<reportElement mode="Opaque" x="467" 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_DOLAR}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<title>
		<band height="309" splitType="Stretch">
			<staticText>
				<reportElement x="0" y="157" width="572" height="100"/>
				<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="71" y="192" width="80" height="12"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NUM_DOC_DV}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="347" y="6" width="180" height="15"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[NIT 899.999.294-8]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="127" width="572" height="30"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[
NO CONTRIBUYENTE DEL IMPUESTO SOBRE LA RENTA. Art 22 E.T
EXENTO DE RETEICA]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="71" y="160" width="310" height="12"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{RAZON_SOC}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="71" y="222" width="80" height="12"/>
				<box leftPadding="0"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{TELEFONO_FIJO_TERCON}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Transparent" x="7" y="240" width="50" height="12" 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[Fax: ]]></text>
			</staticText>
			<staticText>
				<reportElement x="6" y="192" 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="71" y="176" width="310" height="12"/>
				<box leftPadding="0"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DIRECCION}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="6" y="160" width="65" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Cliente:]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="6" y="222" width="65" height="12" 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[Teléfono: ]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="102" width="572" height="25"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Decreto 2026/83 Somos Agentes Retenedores IVA Ley 223 de 1995 - Art 437 -2 E.T
Responsable  IVA Regimen Común]]></text>
			</staticText>
			<staticText>
				<reportElement x="6" y="176" width="65" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Dirección:]]></text>
			</staticText>
			<textField>
				<reportElement x="397" y="157" width="85" height="43"/>
				<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" markup="none">
					<font fontName="SansSerif" size="10" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["FACTURA DE VENTA No."]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="482" y="157" width="90" height="60"/>
				<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="10" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{ABREVIATURA} + " No. " + $F{SEC_DEBITO_ADD}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="397" y="217" width="85" height="25"/>
				<box leftPadding="3">
					<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 fontName="SansSerif" size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[FECHA EMISION]]></text>
			</staticText>
			<textField>
				<reportElement x="347" y="36" width="180" height="15"/>
				<textElement textAlignment="Center" markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Teléfono " + $F{TELEFONO_DAT}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="347" y="51" width="180" height="15"/>
				<textElement textAlignment="Center" markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{PAGINA_WEB}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="102" width="572" height="55"/>
				<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="57" y="240" width="130" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{TELEFONO_FAX_TERCON}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="347" y="66" width="180" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Colombia]]></text>
			</staticText>
			<staticText>
				<reportElement x="397" y="257" width="175" height="20"/>
				<box leftPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[ORDEN DE SERVICIO:]]></text>
			</staticText>
			<textField pattern="" isBlankWhenNull="true">
				<reportElement x="397" y="277" width="175" height="32"/>
				<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"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{ORDEN_SERVICIO}]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="true">
				<reportElement x="0" y="277" width="201" height="32"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.0"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{TIPO_PRODUCTO}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="257" width="201" height="20"/>
				<box leftPadding="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 fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[TIPO DE PRODUCTO:]]></text>
			</staticText>
			<textField pattern="" isBlankWhenNull="true">
				<reportElement x="201" y="277" width="196" height="32"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.0"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{TIPO_PRODUCTO}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="201" y="257" width="196" height="20"/>
				<box leftPadding="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 fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[ASUNTO:]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="397" y="200" width="85" height="17" isRemoveLineWhenBlank="true"/>
				<box leftPadding="2">
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{SEC_DEBITO_ADD}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement x="397" y="242" width="85" height="15"/>
				<box>
					<pen lineWidth="0.0"/>
					<topPen lineWidth="0.0"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Top">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{FECHA_PROCESO}]]></textFieldExpression>
			</textField>
			<image>
				<reportElement x="7" y="6" width="280" height="80"/>
				<imageExpression class="java.lang.String"><![CDATA["repo:LogoEmpresa003.jpg"]]></imageExpression>
			</image>
			<textField>
				<reportElement x="347" y="21" width="180" height="15"/>
				<textElement textAlignment="Center" markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DIRECCION_DAT}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement x="482" y="242" width="90" height="15"/>
				<box>
					<pen lineWidth="0.0"/>
					<topPen lineWidth="0.0"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Top">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{FECHA_VENCIMIENTO}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="482" y="217" width="90" height="25"/>
				<box leftPadding="3">
					<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 fontName="SansSerif" size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[FECHA VENCIMIENTO]]></text>
			</staticText>
			<staticText>
				<reportElement x="6" y="207" width="65" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Contacto:]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="71" y="207" width="310" height="12"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NOMBRE_TERCON}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Transparent" x="185" y="222" width="65" height="12" 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>
			<textField isBlankWhenNull="true">
				<reportElement x="250" y="222" width="131" height="12"/>
				<box leftPadding="0"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{CIUDAD} + " - " + $F{PAIS}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="15" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="100" y="0" width="267" height="15"/>
				<box topPadding="2" leftPadding="2" bottomPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.0"/>
					<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="482" y="0" width="90" height="15"/>
				<box rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.0"/>
					<leftPen lineWidth="0.75"/>
					<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{VAL_TOTAL_DEBDET_FACTURA}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="367" y="0" width="30" height="15"/>
				<box topPadding="2" leftPadding="2" bottomPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.0"/>
					<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>
			<textField pattern="#,##0.00">
				<reportElement stretchType="RelativeToTallestObject" x="397" y="0" width="85" height="15"/>
				<box rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.0"/>
					<leftPen lineWidth="0.75"/>
					<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>
				<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="100" height="15"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.0"/>
					<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>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="93" splitType="Stretch">
			<staticText>
				<reportElement positionType="FixRelativeToBottom" x="0" y="44" width="572" height="30"/>
				<box leftPadding="2"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Resolución 3878/96 art 3 No requiere autorización de facturación.
Código comercio Art 617
Decreto 2242 de 2015 Fact Electronica]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="0" y="0" width="572" height="21"/>
				<box topPadding="1">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="1.0" lineStyle="Solid"/>
					<leftPen lineWidth="1.0" lineStyle="Solid"/>
					<bottomPen lineWidth="1.0" lineStyle="Solid"/>
					<rightPen lineWidth="1.0" lineStyle="Solid"/>
				</box>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["OBSERVACIONES: "+$F{OBSERVACIONES}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="20" width="100" height="24" isRemoveLineWhenBlank="true">
					<printWhenExpression><![CDATA[$F{ESTADO} == 0]]></printWhenExpression>
				</reportElement>
				<box topPadding="1">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement>
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[ESTADO:]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="100" y="20" width="472" height="24" isRemoveLineWhenBlank="true">
					<printWhenExpression><![CDATA[$F{ESTADO} == 0]]></printWhenExpression>
				</reportElement>
				<box topPadding="1">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</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 isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" x="0" y="74" width="572" height="18" isRemoveLineWhenBlank="true"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{hoja_copia}]]></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>
