<?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_credito_sgc" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="1.6105100000000077"/>
	<property name="ireport.x" value="163"/>
	<property name="ireport.y" value="32"/>
	<parameter name="id_credito" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="numero_letras" class="java.lang.String"/>
	<parameter name="tag_contab" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[0]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[Select

to_char(tab0.fecha_anu_cre, 'dd/mm/yyyy') as fecha_anu2,
Tab0.ID_CREDITO,
Tab0.ID_ANHOS,
Tab0.ID_PUNTO_VENTA,
Tab0.NOMBRE_PV,
Tab0.ABREV_PV,
Tab0.ID_TIPO_CREDITO,
Tab0.DESCRIPCION_TIPCRE,
Tab0.DESC_CORTA_TIPCRE,
Tab0.SEC_CREDITO,
Tab0.ID_CON_CREDITO,
Tab0.DESCRIPCION_CONCRE,
Tab0.DESC_CORTA_CONCRE,
Tab0.FECHA_PROCESO_CRE,
Tab0.ID_BN,
nvl(Tab0.CODIGIO_BN,' ') as CODIGIO_BN,
nvl(Tab0.DSCRIPCION_BN,' ') as DSCRIPCION_BN,
Tab0.ID_CB,
Tab0.NUMERO_CUENTA,
Tab0.NUM_DOC,
Tab0.OFICINA,
Tab0.VALOR,
Tab0.OBSERVACIONES,
Tab0.ESTADO_CRE,
Tab0.FECHA_ANU_CRE,
Tab0.MOTIVO_ANU,
Tab0.FECHA,
Tab0.ID_TS_TD,
Tab0.USUARIOLOG,
Tab0.ID_MAE_TER_CRE,
Tab0.DESCRIPCION,
Tab0.ID_CREDITO_DETALLE,
Tab0.VALOR_BRUTO_CREDET,
Tab0.VALOR_RETENCIONES,
Tab0.VALOR_ABONO,
Tab0.ID_TIP_MON_CREDET,
Tab0.VALOR_TOTAL_MONEDA,
Tab0.TRM_CREDITO,
Tab0.DIFERENCIA_CAMBIO,
Tab0.OBSERVACIONES_CREDET,
Tab0.ID_VENCIMIENTO,
Tab0.ID_DEBITO,
Tab0.VALOR_VEN,
Tab0.FECHA_VENCE,
Tab0.ESTADO_VEN,
Tab0.FECHA_ANU_VEN,
Tab0.CANCELADO,
Tab1.Sec_Debito,
Tab1.Id_Tipo_Debito,
Tab1.fecha_proceso as fecha_debito,
tab1.periodo_ini as periodo_ini,
Tab1.periodo_fin as periodo_fin,
Tab2.Desc_Corta As Desc_Corta_Tipdeb,
Tab2.Descripcion As Descripcion_Tipdeb,
Ter.Num_Doc As Nitocc,
Ter.Razon_Soc,
Ter.Num_Doc || ' - ' || Ter.Razon_Soc AS tercero,
tab4.direccion,
Tab4.Tel,
Tab4.Ciudad,
tab5.nombre||' '||tab5.apellido AS USUARIO_NAME,
exce.id_excedente,
exce.valor as valor_exce,
migra.vradicion,
UPPER(tab9.ABREV_FAC) AS MONEDA,
tab9.simbolo as SIMBOLO,
debref.id_referencia1,
debref.id_referencia2,
prod.codigo as codigo_prod,
prod.descripcion as descripcion_prod,
case when TAB1.VALOR_TOTAL = tab0.valor_abono then TAB1.VALOR_bruto else 0 end as VALOR_bruto_deb,
case when TAB1.VALOR_TOTAL = tab0.valor_abono then TAB1.VALOR_IVA else 0 end as VALOR_IVA

From Ca_Credito_Vencimientos tab0

Join Ca_Debito Tab1
On Tab1.Id_Debito = Tab0.Id_Debito

Join Ca_Tipo_Debito Tab2
on Tab2.Id_Tipo_Debito = Tab1.Id_Tipo_Debito

left join ca_debito_ref debref
on debref.id_debito = Tab0.id_debito

left join (
  SELECT
   aut.*,
   ROW_NUMBER() OVER (
    partition by aut.id_debito
    ORDER BY aut.id_debito DESC
   ) AS rn
  from ca_debito_detalle aut
)debdet
on debdet.id_debito = Tab0.id_debito
and debdet.rn = 1

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

Join Interceros_v Ter
on Ter.Id_Mae_Ter = Tab1.Id_Mae_Ter

--LEFT JOIN INTERCER_DU tab3 ON tab3.id_mae_ter = Tab1.id_mae_ter
--LEFT JOIN INTERCER_DU_DIR tab4 ON tab4.ID_MT_UBI = tab3.ID_MT_UBI
LEFT JOIN interceros_du_dir_v tab4 ON tab4.id_mae_ter = Tab1.id_mae_ter

LEFT JOIN USUARIO tab5 ON tab5.username = Tab0.Usuariolog

LEFT JOIN ca_excedentes_v exce
on exce.id_credito = tab0.id_credito

LEFT JOIN ca_migra_cre migra
on migra.id_credito = tab0.id_credito

LEFT JOIN CA_TIP_MON tab9 ON tab9.id_tip_mon = tab0.id_tip_mon_credet

Where
Tab0.Id_Credito = $P{id_credito}]]>
	</queryString>
	<field name="FECHA_ANU2" class="java.lang.String"/>
	<field name="ID_CREDITO" class="java.math.BigDecimal"/>
	<field name="ID_ANHOS" class="java.math.BigDecimal"/>
	<field name="ID_PUNTO_VENTA" class="java.math.BigDecimal"/>
	<field name="NOMBRE_PV" class="java.lang.String"/>
	<field name="ABREV_PV" class="java.lang.String"/>
	<field name="ID_TIPO_CREDITO" class="java.math.BigDecimal"/>
	<field name="DESCRIPCION_TIPCRE" class="java.lang.String"/>
	<field name="DESC_CORTA_TIPCRE" class="java.lang.String"/>
	<field name="SEC_CREDITO" class="java.math.BigDecimal"/>
	<field name="ID_CON_CREDITO" class="java.math.BigDecimal"/>
	<field name="DESCRIPCION_CONCRE" class="java.lang.String"/>
	<field name="DESC_CORTA_CONCRE" class="java.lang.String"/>
	<field name="FECHA_PROCESO_CRE" class="java.sql.Timestamp"/>
	<field name="ID_BN" class="java.math.BigDecimal"/>
	<field name="CODIGIO_BN" class="java.lang.String"/>
	<field name="DSCRIPCION_BN" class="java.lang.String"/>
	<field name="ID_CB" class="java.math.BigDecimal"/>
	<field name="NUMERO_CUENTA" class="java.lang.String"/>
	<field name="NUM_DOC" class="java.math.BigDecimal"/>
	<field name="OFICINA" class="java.lang.String"/>
	<field name="VALOR" class="java.math.BigDecimal"/>
	<field name="OBSERVACIONES" class="java.lang.String"/>
	<field name="ESTADO_CRE" class="java.math.BigDecimal"/>
	<field name="FECHA_ANU_CRE" class="java.sql.Timestamp"/>
	<field name="MOTIVO_ANU" class="java.lang.String"/>
	<field name="FECHA" class="java.sql.Timestamp"/>
	<field name="ID_TS_TD" class="java.math.BigDecimal"/>
	<field name="USUARIOLOG" class="java.lang.String"/>
	<field name="ID_MAE_TER_CRE" class="java.math.BigDecimal"/>
	<field name="DESCRIPCION" class="java.lang.String"/>
	<field name="ID_CREDITO_DETALLE" class="java.math.BigDecimal"/>
	<field name="VALOR_BRUTO_CREDET" class="java.math.BigDecimal"/>
	<field name="VALOR_RETENCIONES" class="java.math.BigDecimal"/>
	<field name="VALOR_ABONO" class="java.math.BigDecimal"/>
	<field name="ID_TIP_MON_CREDET" class="java.math.BigDecimal"/>
	<field name="VALOR_TOTAL_MONEDA" class="java.math.BigDecimal"/>
	<field name="TRM_CREDITO" class="java.math.BigDecimal"/>
	<field name="DIFERENCIA_CAMBIO" class="java.math.BigDecimal"/>
	<field name="OBSERVACIONES_CREDET" class="java.lang.String"/>
	<field name="ID_VENCIMIENTO" class="java.math.BigDecimal"/>
	<field name="ID_DEBITO" class="java.math.BigDecimal"/>
	<field name="VALOR_VEN" class="java.math.BigDecimal"/>
	<field name="FECHA_VENCE" class="java.sql.Timestamp"/>
	<field name="ESTADO_VEN" class="java.math.BigDecimal"/>
	<field name="FECHA_ANU_VEN" class="java.sql.Timestamp"/>
	<field name="CANCELADO" class="java.math.BigDecimal"/>
	<field name="SEC_DEBITO" class="java.math.BigDecimal"/>
	<field name="ID_TIPO_DEBITO" class="java.math.BigDecimal"/>
	<field name="FECHA_DEBITO" class="java.sql.Timestamp"/>
	<field name="PERIODO_INI" class="java.sql.Timestamp"/>
	<field name="PERIODO_FIN" class="java.sql.Timestamp"/>
	<field name="DESC_CORTA_TIPDEB" class="java.lang.String"/>
	<field name="DESCRIPCION_TIPDEB" class="java.lang.String"/>
	<field name="NITOCC" class="java.lang.String"/>
	<field name="RAZON_SOC" class="java.lang.String"/>
	<field name="TERCERO" 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="ID_EXCEDENTE" class="java.math.BigDecimal"/>
	<field name="VALOR_EXCE" class="java.math.BigDecimal"/>
	<field name="VRADICION" class="java.math.BigDecimal"/>
	<field name="MONEDA" class="java.lang.String"/>
	<field name="SIMBOLO" class="java.lang.String"/>
	<field name="ID_REFERENCIA1" class="java.math.BigDecimal"/>
	<field name="ID_REFERENCIA2" class="java.lang.String"/>
	<field name="CODIGO_PROD" class="java.lang.String"/>
	<field name="DESCRIPCION_PROD" class="java.lang.String"/>
	<field name="VALOR_BRUTO_DEB" class="java.math.BigDecimal"/>
	<field name="VALOR_IVA" class="java.math.BigDecimal"/>
	<variable name="valor_bruto" class="java.math.BigDecimal" resetType="Group" resetGroup="Credito" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_BRUTO_CREDET}]]></variableExpression>
	</variable>
	<variable name="valor_retenciones" class="java.math.BigDecimal" resetType="Group" resetGroup="Credito" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_RETENCIONES}]]></variableExpression>
	</variable>
	<variable name="valor_abono" class="java.math.BigDecimal" resetType="Group" resetGroup="Credito" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_ABONO}]]></variableExpression>
	</variable>
	<variable name="diferencia_cambio" class="java.math.BigDecimal" resetType="Group" resetGroup="Credito" calculation="Sum">
		<variableExpression><![CDATA[$F{DIFERENCIA_CAMBIO}]]></variableExpression>
	</variable>
	<group name="Credito">
		<groupExpression><![CDATA[$F{ID_CREDITO}]]></groupExpression>
		<groupHeader>
			<band height="12">
				<staticText>
					<reportElement mode="Opaque" x="0" y="0" width="60" height="12" forecolor="#000000" backcolor="#A4CFF6"/>
					<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[No. Debito]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="130" y="0" width="142" height="12" forecolor="#000000" backcolor="#A4CFF6"/>
					<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[Concepto]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="452" y="0" width="70" height="12" forecolor="#000000" backcolor="#A4CFF6"/>
					<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 Bruto]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="522" y="0" width="70" height="12" forecolor="#000000" backcolor="#A4CFF6"/>
					<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[Retenciones]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="592" y="0" width="70" height="12" forecolor="#000000" backcolor="#A4CFF6"/>
					<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 Abono]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="662" y="0" width="90" height="12" forecolor="#000000" backcolor="#A4CFF6"/>
					<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[Diferencia - Cambio]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="60" y="0" width="70" height="12" forecolor="#000000" backcolor="#A4CFF6"/>
					<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[Fecha Débito]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="272" y="0" width="90" height="12" forecolor="#000000" backcolor="#A4CFF6"/>
					<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 Base]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="362" y="0" width="90" height="12" forecolor="#000000" backcolor="#A4CFF6"/>
					<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 Iva]]></text>
				</staticText>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="131">
				<staticText>
					<reportElement stretchType="RelativeToTallestObject" x="0" y="44" width="80" height="25"/>
					<box leftPadding="2"/>
					<textElement verticalAlignment="Middle" markup="none">
						<font fontName="SansSerif" size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[Observaciones:]]></text>
				</staticText>
				<staticText>
					<reportElement x="450" y="119" width="150" height="12"/>
					<box>
						<topPen lineWidth="0.75"/>
					</box>
					<textElement>
						<font size="8"/>
					</textElement>
					<text><![CDATA[]]></text>
				</staticText>
				<textField>
					<reportElement x="160" y="119" width="150" height="12"/>
					<box>
						<topPen lineWidth="0.75"/>
						<bottomPen 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="110" y="107" width="50" height="12"/>
					<box leftPadding="2"/>
					<textElement verticalAlignment="Middle" markup="none">
						<font fontName="SansSerif" size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[Elaboró: ]]></text>
				</staticText>
				<staticText>
					<reportElement x="400" y="107" width="50" height="12"/>
					<box leftPadding="2"/>
					<textElement verticalAlignment="Middle" markup="none">
						<font fontName="SansSerif" size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[Revisó: ]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="80" y="44" width="672" height="25"/>
					<box leftPadding="2" rightPadding="2"/>
					<textElement verticalAlignment="Middle">
						<font size="8"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{OBSERVACIONES}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="0" y="0" width="452" height="12" backcolor="#D2D0D0"/>
					<box leftPadding="3" rightPadding="9">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font size="6" isBold="true"/>
					</textElement>
					<text><![CDATA[TOTAL]]></text>
				</staticText>
				<textField pattern="$#,##0.00">
					<reportElement mode="Opaque" x="452" y="0" width="70" height="12" backcolor="#D2D0D0"/>
					<box rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{valor_bruto}]]></textFieldExpression>
				</textField>
				<textField pattern="$#,##0.00">
					<reportElement mode="Opaque" x="522" y="0" width="70" height="12" backcolor="#D2D0D0"/>
					<box rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{valor_retenciones}]]></textFieldExpression>
				</textField>
				<textField pattern="$#,##0.00">
					<reportElement mode="Opaque" x="592" y="0" width="70" height="12" backcolor="#D2D0D0"/>
					<box rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{valor_abono}]]></textFieldExpression>
				</textField>
				<textField pattern="$#,##0.00">
					<reportElement mode="Opaque" x="662" y="0" width="90" height="12" backcolor="#D2D0D0"/>
					<box rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{diferencia_cambio}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="80" y="74" width="672" height="14">
						<printWhenExpression><![CDATA[$F{ESTADO_CRE} == 0]]></printWhenExpression>
					</reportElement>
					<box topPadding="0" leftPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font size="8"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA["Se anulo el " + $F{FECHA_ANU2} + " por motivo de: " + $F{MOTIVO_ANU}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement stretchType="RelativeToTallestObject" x="0" y="74" width="80" height="14">
						<printWhenExpression><![CDATA[$F{ESTADO_CRE} == 0]]></printWhenExpression>
					</reportElement>
					<box topPadding="1" leftPadding="1" bottomPadding="1">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.0"/>
						<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 isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="0" y="12" width="210" height="12" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[$F{ID_EXCEDENTE} != null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="2"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" isItalic="true"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA["* Valor constituido con excedente No." + $F{ID_EXCEDENTE} + " por:"]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00">
					<reportElement x="210" y="12" width="242" height="12" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[$F{ID_EXCEDENTE} != null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="2"/>
					<textElement verticalAlignment="Middle">
						<font size="8" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_EXCE}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="0" y="24" width="210" height="12" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[$F{VRADICION} != null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="2"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" isItalic="true"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA["* Valor constituido con una adición por:"]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00">
					<reportElement x="210" y="24" width="242" height="12" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[$F{VRADICION} != null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="2"/>
					<textElement verticalAlignment="Middle">
						<font size="8" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VRADICION}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="76" splitType="Stretch">
			<staticText>
				<reportElement x="140" y="0" width="460" height="50"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Sistema de Cartera y Facturación]]></text>
			</staticText>
			<image>
				<reportElement x="0" y="10" width="140" height="40"/>
				<imageExpression class="java.lang.String"><![CDATA["repo:LogoEmpresa003.jpg"]]></imageExpression>
			</image>
			<staticText>
				<reportElement x="600" y="30" width="80" height="20"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Fecha: ]]></text>
			</staticText>
			<staticText>
				<reportElement x="600" y="10" width="80" height="20"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Nota Crédito No.]]></text>
			</staticText>
			<textField pattern="dd/MM/yyyy">
				<reportElement mode="Transparent" x="680" y="30" width="72" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
				<box rightPadding="2"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{FECHA_PROCESO_CRE}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement mode="Transparent" x="680" y="10" width="72" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
				<box rightPadding="2"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{SEC_CREDITO}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band height="172" splitType="Stretch">
			<textField isBlankWhenNull="true">
				<reportElement x="80" y="12" width="282" height="12" isRemoveLineWhenBlank="true"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DIRECCION}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="80" y="0" width="282" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{TERCERO}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="12" width="80" 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>
			<textField isBlankWhenNull="true">
				<reportElement x="80" y="24" width="90" 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 x="0" y="0" width="80" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Acreditado a: ]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="0" y="24" width="80" 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 mode="Transparent" x="170" y="24" width="80" 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[Ciudad: ]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="250" y="24" width="112" height="12" isRemoveLineWhenBlank="true"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{CIUDAD}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="80" y="118" width="472" height="12"/>
				<box leftPadding="2" rightPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{numero_letras}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement stretchType="RelativeToTallestObject" x="0" y="118" width="80" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[La suma de : ]]></text>
			</staticText>
			<staticText>
				<reportElement stretchType="RelativeToTallestObject" x="552" y="118" width="80" height="12"/>
				<box leftPadding="0" rightPadding="2"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Valor :]]></text>
			</staticText>
			<textField pattern="#,##0.00">
				<reportElement stretchType="RelativeToTallestObject" x="632" y="118" width="120" height="12"/>
				<box rightPadding="2"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="46" width="80" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Banco:]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="58" width="80" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Cuenta: ]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="82" width="80" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Documento: ]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="70" width="80" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Oficina: ]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="94" width="80" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Fecha: ]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="80" y="46" width="282" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{CODIGIO_BN}+" - "+$F{DSCRIPCION_BN}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="80" y="58" width="282" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NUMERO_CUENTA}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="80" y="82" width="282" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NUM_DOC}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="80" y="70" width="282" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{OFICINA}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement x="80" y="94" width="282" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{FECHA}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="143" width="80" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Por concepto de: ]]></text>
			</staticText>
			<textField>
				<reportElement x="80" y="143" width="282" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DESCRIPCION_CONCRE}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="452" y="143" width="140" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DESCRIPCION_TIPCRE}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="362" y="143" width="90" height="12"/>
				<box leftPadding="2"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Tipo Crédito: ]]></text>
			</staticText>
		</band>
	</pageHeader>
	<detail>
		<band height="10" splitType="Stretch">
			<textField>
				<reportElement x="0" y="0" width="60" height="10"/>
				<box rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DESC_CORTA_TIPDEB} + "-" + $F{SEC_DEBITO}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="130" y="0" width="142" height="10"/>
				<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">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DESCRIPCION_PROD}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement x="452" y="0" width="70" height="10"/>
				<box rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_BRUTO_CREDET}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement x="522" y="0" width="70" height="10"/>
				<box rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_RETENCIONES}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement x="592" y="0" width="70" height="10"/>
				<box rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_ABONO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement x="662" y="0" width="90" height="10"/>
				<box rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{DIFERENCIA_CAMBIO}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement x="60" y="0" width="70" height="10"/>
				<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="6"/>
				</textElement>
				<textFieldExpression class="java.sql.Timestamp"><![CDATA[$F{FECHA_DEBITO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement x="362" y="0" width="90" height="10"/>
				<box rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_IVA}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement x="272" y="0" width="90" height="10"/>
				<box rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_BRUTO_DEB}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<pageFooter>
		<band height="13" splitType="Stretch">
			<staticText>
				<reportElement mode="Opaque" x="299" y="0" width="150" height="12" forecolor="#575757"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<text><![CDATA[Websafi - Cartera y Facturación]]></text>
			</staticText>
			<textField pattern="dd/MM/yyyy  hh:mm aaa">
				<reportElement x="80" y="0" width="150" height="13"/>
				<box rightPadding="3"/>
				<textElement verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
				<reportElement mode="Opaque" x="692" y="0" width="60" height="12" forecolor="#575757" backcolor="#FFFFFF"/>
				<textElement verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement mode="Opaque" x="600" y="0" width="89" height="12" forecolor="#575757" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Página "+$V{PAGE_NUMBER}+" de "]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Opaque" x="0" y="0" width="80" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Fecha de Impresion:]]></text>
			</staticText>
		</band>
	</pageFooter>
	<summary>
		<band height="76">
			<subreport>
				<reportElement x="60" y="10" width="610" height="30" isRemoveLineWhenBlank="true">
					<printWhenExpression><![CDATA[$P{tag_contab}.intValue() != 0 && $F{ID_ANHOS} >= 2019]]></printWhenExpression>
				</reportElement>
				<subreportParameter name="id_credito">
					<subreportParameterExpression><![CDATA[$P{id_credito}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression class="java.lang.String"><![CDATA["repo:nota_credito_subreport1"]]></subreportExpression>
			</subreport>
			<subreport>
				<reportElement x="60" y="40" width="610" height="30" isRemoveLineWhenBlank="true">
					<printWhenExpression><![CDATA[$P{tag_contab}.intValue() != 0 && $F{ID_ANHOS} < 2019]]></printWhenExpression>
				</reportElement>
				<subreportParameter name="id_credito">
					<subreportParameterExpression><![CDATA[$P{id_credito}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression class="java.lang.String"><![CDATA["repo:nota_credito_subreport3"]]></subreportExpression>
			</subreport>
		</band>
	</summary>
	<noData>
		<band height="20">
			<staticText>
				<reportElement x="0" y="0" width="752" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[No hay objetos a mostrar.]]></text>
			</staticText>
		</band>
	</noData>
</jasperReport>
