<?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="const_sup_pago_sp" language="groovy" pageWidth="660" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="525" leftMargin="68" rightMargin="67" topMargin="70" bottomMargin="20">
	<property name="ireport.zoom" value="1.2722928551174646"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<property name="ireport.jasperserver.reportUnit" value="/reports/radicacionvirtualcuentas/const_sup_pago_sp"/>
	<property name="ireport.jasperserver.url" value="http://3.22.202.200:8080/jasperserver/services/repository"/>
	<parameter name="vigencia" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="id_formato_factura" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[Select
  tab0.ID_FORMATO_FACTURA,
  tab0.ID_MAE_TER,
  tab0.nombre_proveedor,
  tab0.documento_proveedor,
  tab0.NO_FACTURA,
  tab0.FECHA_EMISION,
  to_char(tab0.FECHA_VENCIMIENTO,'dd/mm/yyyy') as FECHA_VENCIMIENTO_CAB,
	tab0.vencimiento,
	tab1.consumo_inicial as consumo_inicial,
	tab1.consumo_final as consumo_final,
  '$ ' || TO_CHAR( tab0.VALOR_total , 'FM9,999,999,999,999.99') as VALOR_PUNTOS,

tab0.valor_total,
tab0.saldo_anterior,
tab0.total_a_pagar,
tab0.valor_iva,
tab0.valor_int_mora,
tab0.total_ant_iva,

  tab0.NOMBRE_SUPERVISOR_SEDE as NOMBRE_SUPERVISOR,
  tab0.ID_TIPO_SERVICIO,
  tab0.ID_ESTADO,
  tab0.USUARIO_LOG,
  tab0.FECHA_LOG,
  tab0.ID_CEN_OP,
  tab0.SEDE_RECEPCION,
  tab0.FECHA_INI_PERIODO,
  tab0.FECHA_FIN_PERIODO,
  tab0.NO_REFERENCIA,
  tab0.ADJUNTO,
  tab0.NO_CLIENTE,
  tab0.estado_desc,
  tab0.nombre_sede,
  tab0.nombre_sede_recepcion,
  tab0.documento_supervisor_sede,
  tab0.nombre_supervisor_sede,
  tab0.fecha_autorizado,
  tab0.obs_autorizado,
  tab0.documento_autorizo,
  tab0.nombre_autorizo,
  tab0.fecha_firma,
  tab0.documento_firma,
  tab0.nombre_firma,
  lower(to_char(tab0.fecha_firma,'MONTH','nls_date_language=spanish')) as mes_texto_firma,
  to_char(tab0.fecha_firma,'dd') as dia_firma,
  to_char(tab0.fecha_firma,'yyyy') as ano_firma,
  tab0.valor_total as valor,
  lower(numero_a_texto(tab0.valor_total)) as valor_letras,
  tab2.razon_soc as proveedor_det,
  tab2.NUM_DOC as num_doc_det,
  tab3.DESCRIPCION as servicio_det,
  tab1.VALOR as VALOR_DET,
  tab1.SUBTOTAL_TOTAL_FACTURA as SUBTOTAL_TOTAL_FACTURA_DET,
  tab1.IVA_TOTAL_FACTURA as IVA_TOTAL_FACTURA_DET,
  tab1.VALOR_INTERESES as VALOR_INTERESES_DET,
  lower(tab5.municipio) as MUNICIPIO,
  tab0.radicado,
  tab0.rechazado,
  tab0.firmado,
  tab0.autorizado,
  tab0.tipo_recurso_sede,
  tab0.nombre_tipo_recurso_sede,
tab0.cdp_rvsp_sede,
  tab0.tipo_recurso_recepcion,
  tab0.nombre_tipo_recurso_recepcion,
tab0.cdp_rvsp_recepcion,
  tab0.numero_radicado,
  tab0.valor_vencido,
  tab0.tiene_detalles,
to_char(nvl(tab0.fecha_firma,''),'mm-dd-YYYY') as fecha_firma_for,
to_char(nvl(tab0.fecha_autorizado,''),'mm-dd-YYYY') as fecha_autorizado_for

from RVSP_FORMATO_FACTURA_V tab0

left join RVSP_FORMATO_FACTURA_DET tab1  on tab0.ID_FORMATO_FACTURA= tab1.ID_FORMATO_FACTURA
left join interceros tab2 on tab2.id_mae_ter=tab1.ID_MAE_TER
left join rvsp_tipo_servicio tab3 on tab3.id_tipo_servicio=tab1.ID_TIPO_SERVICIO
left join centro_operacion tab4 on tab4.id_cen_op = tab0.id_cen_op
left join municipios tab5 on tab5.codmun = tab4.codmun
where tab0.id_formato_factura = $P{id_formato_factura}]]>
	</queryString>
	<field name="ID_FORMATO_FACTURA" class="java.math.BigDecimal"/>
	<field name="ID_MAE_TER" class="java.math.BigDecimal"/>
	<field name="NOMBRE_PROVEEDOR" class="java.lang.String"/>
	<field name="DOCUMENTO_PROVEEDOR" class="java.lang.String"/>
	<field name="NO_FACTURA" class="java.lang.String"/>
	<field name="FECHA_EMISION" class="java.sql.Timestamp"/>
	<field name="FECHA_VENCIMIENTO_CAB" class="java.lang.String"/>
	<field name="VENCIMIENTO" class="java.math.BigDecimal"/>
	<field name="CONSUMO_INICIAL" class="java.math.BigDecimal"/>
	<field name="CONSUMO_FINAL" class="java.math.BigDecimal"/>
	<field name="VALOR_PUNTOS" class="java.lang.String"/>
	<field name="VALOR_TOTAL" class="java.math.BigDecimal"/>
	<field name="SALDO_ANTERIOR" class="java.math.BigDecimal"/>
	<field name="TOTAL_A_PAGAR" class="java.math.BigDecimal"/>
	<field name="VALOR_IVA" class="java.math.BigDecimal"/>
	<field name="VALOR_INT_MORA" class="java.math.BigDecimal"/>
	<field name="TOTAL_ANT_IVA" class="java.math.BigDecimal"/>
	<field name="NOMBRE_SUPERVISOR" class="java.lang.String"/>
	<field name="ID_TIPO_SERVICIO" class="java.math.BigDecimal"/>
	<field name="ID_ESTADO" class="java.math.BigDecimal"/>
	<field name="USUARIO_LOG" class="java.lang.String"/>
	<field name="FECHA_LOG" class="java.sql.Timestamp"/>
	<field name="ID_CEN_OP" class="java.math.BigDecimal"/>
	<field name="SEDE_RECEPCION" class="java.math.BigDecimal"/>
	<field name="FECHA_INI_PERIODO" class="java.sql.Timestamp"/>
	<field name="FECHA_FIN_PERIODO" class="java.sql.Timestamp"/>
	<field name="NO_REFERENCIA" class="java.lang.String"/>
	<field name="ADJUNTO" class="java.lang.String"/>
	<field name="NO_CLIENTE" class="java.lang.String"/>
	<field name="ESTADO_DESC" class="java.lang.String"/>
	<field name="NOMBRE_SEDE" class="java.lang.String"/>
	<field name="NOMBRE_SEDE_RECEPCION" class="java.lang.String"/>
	<field name="DOCUMENTO_SUPERVISOR_SEDE" class="java.lang.String"/>
	<field name="NOMBRE_SUPERVISOR_SEDE" class="java.lang.String"/>
	<field name="FECHA_AUTORIZADO" class="java.sql.Timestamp"/>
	<field name="OBS_AUTORIZADO" class="java.lang.String"/>
	<field name="DOCUMENTO_AUTORIZO" class="java.lang.String"/>
	<field name="NOMBRE_AUTORIZO" class="java.lang.String"/>
	<field name="FECHA_FIRMA" class="java.sql.Timestamp"/>
	<field name="DOCUMENTO_FIRMA" class="java.lang.String"/>
	<field name="NOMBRE_FIRMA" class="java.lang.String"/>
	<field name="MES_TEXTO_FIRMA" class="java.lang.String"/>
	<field name="DIA_FIRMA" class="java.lang.String"/>
	<field name="ANO_FIRMA" class="java.lang.String"/>
	<field name="VALOR" class="java.math.BigDecimal"/>
	<field name="VALOR_LETRAS" class="java.lang.String"/>
	<field name="PROVEEDOR_DET" class="java.lang.String"/>
	<field name="NUM_DOC_DET" class="java.lang.String"/>
	<field name="SERVICIO_DET" class="java.lang.String"/>
	<field name="VALOR_DET" class="java.math.BigDecimal"/>
	<field name="SUBTOTAL_TOTAL_FACTURA_DET" class="java.math.BigDecimal"/>
	<field name="IVA_TOTAL_FACTURA_DET" class="java.math.BigDecimal"/>
	<field name="VALOR_INTERESES_DET" class="java.math.BigDecimal"/>
	<field name="MUNICIPIO" class="java.lang.String"/>
	<field name="RADICADO" class="java.math.BigDecimal"/>
	<field name="RECHAZADO" class="java.math.BigDecimal"/>
	<field name="FIRMADO" class="java.math.BigDecimal"/>
	<field name="AUTORIZADO" class="java.math.BigDecimal"/>
	<field name="TIPO_RECURSO_SEDE" class="java.math.BigDecimal"/>
	<field name="NOMBRE_TIPO_RECURSO_SEDE" class="java.lang.String"/>
	<field name="CDP_RVSP_SEDE" class="java.lang.String"/>
	<field name="TIPO_RECURSO_RECEPCION" class="java.math.BigDecimal"/>
	<field name="NOMBRE_TIPO_RECURSO_RECEPCION" class="java.lang.String"/>
	<field name="CDP_RVSP_RECEPCION" class="java.lang.String"/>
	<field name="NUMERO_RADICADO" class="java.lang.String"/>
	<field name="VALOR_VENCIDO" class="java.math.BigDecimal"/>
	<field name="TIENE_DETALLES" class="java.math.BigDecimal"/>
	<field name="FECHA_FIRMA_FOR" class="java.lang.String"/>
	<field name="FECHA_AUTORIZADO_FOR" class="java.lang.String"/>
	<background>
		<band height="752" splitType="Stretch">
			<image>
				<reportElement x="37" y="0" width="464" height="722">
					<printWhenExpression><![CDATA[$F{ID_ESTADO}.toString()!="5" && $F{FIRMADO}.toString()=="0" && $F{AUTORIZADO}.toString()=="0" && $F{RECHAZADO}.toString()=="0" && $F{RADICADO}.toString()=="0"?Boolean.TRUE:Boolean.FALSE]]></printWhenExpression>
				</reportElement>
				<imageExpression class="java.lang.String"><![CDATA["repo:wmpendiente"]]></imageExpression>
			</image>
			<image>
				<reportElement x="10" y="0" width="481" height="739">
					<printWhenExpression><![CDATA[$F{ID_ESTADO}.toString()!="5" && $F{RECHAZADO}.toString()=="1"?Boolean.TRUE:Boolean.FALSE]]></printWhenExpression>
				</reportElement>
				<imageExpression class="java.lang.String"><![CDATA["repo:wmrechazado"]]></imageExpression>
			</image>
			<image>
				<reportElement x="20" y="0" width="471" height="739">
					<printWhenExpression><![CDATA[$F{RADICADO}.toString()=="1" && $F{RECHAZADO}.toString()=="0" && $F{ID_ESTADO}.toString()!="5"  ?Boolean.TRUE:Boolean.FALSE]]></printWhenExpression>
				</reportElement>
				<imageExpression class="java.lang.String"><![CDATA["repo:wmradicado"]]></imageExpression>
			</image>
			<image>
				<reportElement x="-13" y="0" width="464" height="752">
					<printWhenExpression><![CDATA[$F{ID_ESTADO}.toString()!="5" && $F{FIRMADO}.toString()=="1" && $F{AUTORIZADO}.toString()=="0" && $F{RECHAZADO}.toString()=="0" && $F{RADICADO}.toString()=="0"?Boolean.TRUE:Boolean.FALSE]]></printWhenExpression>
				</reportElement>
				<imageExpression class="java.lang.String"><![CDATA["repo:wmfirmado"]]></imageExpression>
			</image>
			<image>
				<reportElement x="11" y="0" width="502" height="739">
					<printWhenExpression><![CDATA[$F{FIRMADO}.toString()=="1" && $F{ID_ESTADO}.toString()!="5" && $F{AUTORIZADO}.toString()=="1" && $F{RECHAZADO}.toString()=="0" && $F{RADICADO}.toString()=="0"?Boolean.TRUE:Boolean.FALSE]]></printWhenExpression>
				</reportElement>
				<imageExpression class="java.lang.String"><![CDATA["repo:wmautorizado"]]></imageExpression>
			</image>
			<image>
				<reportElement x="0" y="0" width="481" height="752">
					<printWhenExpression><![CDATA[$F{ID_ESTADO}.toString()=="5" ?Boolean.TRUE:Boolean.FALSE]]></printWhenExpression>
				</reportElement>
				<imageExpression class="java.lang.String"><![CDATA["repo:wmaprobado"]]></imageExpression>
			</image>
		</band>
	</background>
	<title>
		<band height="60" splitType="Stretch">
			<image>
				<reportElement x="-1" y="0" width="140" height="50"/>
				<box>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<imageExpression class="java.lang.String"><![CDATA["repo:LogoEmpresa003.jpg"]]></imageExpression>
			</image>
			<textField isStretchWithOverflow="true">
				<reportElement mode="Transparent" x="140" y="0" width="384" height="50" forecolor="#000000"/>
				<box>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="14" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["CONSTANCIA SUPERVISOR PAGO SERVICIO PUBLICO RECURSO " +
( $F{NOMBRE_TIPO_RECURSO_SEDE}!=null
    ? $F{NOMBRE_TIPO_RECURSO_SEDE}
    : " "
)]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band height="18" splitType="Stretch">
			<textField isStretchWithOverflow="true">
				<reportElement mode="Transparent" x="0" y="0" width="525" height="15" forecolor="#000000"/>
				<box>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="10" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["CONSTANCIA PARA PAGO DE SERVICIO PÚBLICO DEL PAR " + $F{NOMBRE_SEDE}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="179" splitType="Stretch">
			<staticText>
				<reportElement mode="Transparent" x="0" y="70" width="120" height="25"/>
				<box>
					<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[Proveedor]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="120" y="70" width="50" height="25"/>
				<box>
					<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[No. de Cliente (Contrato)]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="0" y="95" width="120" height="20"/>
				<box leftPadding="2">
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NOMBRE_PROVEEDOR}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="120" y="95" width="50" height="20"/>
				<box leftPadding="2">
					<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{NO_CLIENTE}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToBandHeight" mode="Transparent" x="0" y="125" width="525" height="13" forecolor="#000000"/>
				<box>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="10"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Por lo tanto, se puede proceder al pago de la FACTURA:"]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Transparent" x="100" y="149" width="40" height="30"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Sede]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="140" y="149" width="40" height="30"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Tipo de Servicio]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="0" y="149" width="60" height="30"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Empresa]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="280" y="149" width="40" height="30"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[No. Factura]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="60" y="149" width="40" height="30"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[NIT]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="180" y="149" width="100" height="15"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Periodo de Facturación]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="180" y="164" width="50" height="15"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Desde]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="230" y="164" width="50" height="15"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Hasta]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Transparent" x="320" y="149" width="40" height="30"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[No. Referencia]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="220" y="70" width="50" height="25" 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[IVA]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="170" y="70" width="50" height="25" 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[Subtotal]]></text>
			</staticText>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="220" y="95" width="50" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
				<box leftPadding="2" 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" 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.math.BigDecimal"><![CDATA[$F{VALOR_IVA}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="170" y="95" width="50" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
				<box leftPadding="2" 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" 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.math.BigDecimal"><![CDATA[$F{VALOR_TOTAL}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Opaque" x="270" y="70" width="50" height="25" 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="5" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Valor por Intereses por Mora*]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="270" y="95" width="50" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
				<box leftPadding="2" 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" 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.math.BigDecimal"><![CDATA[$F{VALOR_INT_MORA}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToBandHeight" mode="Transparent" x="-1" y="-1" width="526" height="72" forecolor="#000000"/>
				<box>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Justified" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="10"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Yo, " +  $F{NOMBRE_SUPERVISOR} + ", en calidad supervisor (a) por parte de LA AGENCIA NACIONAL DE MINERIA hago constar que la empresa "+ $F{NOMBRE_PROVEEDOR} +", identificada con NIT "+$F{DOCUMENTO_PROVEEDOR}+", cumplió con la prestación del servicio público que a continuación se relaciona:"]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Opaque" x="320" y="70" width="50" height="25" 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[Total]]></text>
			</staticText>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="320" y="95" width="50" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
				<box leftPadding="2" 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" 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.math.BigDecimal"><![CDATA[$F{TOTAL_A_PAGAR}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Opaque" x="360" y="149" width="55" height="30" 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="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Subtotal]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="415" y="149" width="55" height="30" 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="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[IVA]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="470" y="149" width="55" height="30" 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="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Total]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="370" y="95" width="50" height="20"/>
				<box>
					<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.lang.String"><![CDATA[( $F{VENCIMIENTO}==0
    ? $F{FECHA_VENCIMIENTO_CAB}
    : "VENCIMIENTO INMEDIATO"
)]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Transparent" x="370" y="70" width="50" height="25"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Fecha Vencimiento]]></text>
			</staticText>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="420" y="95" width="50" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
				<box leftPadding="2" 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" 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.math.BigDecimal"><![CDATA[$F{CONSUMO_INICIAL}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Opaque" x="420" y="70" width="50" height="25" 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[Consumo Inicial]]></text>
			</staticText>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="470" y="95" width="55" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
				<box leftPadding="2" 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" 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.math.BigDecimal"><![CDATA[$F{CONSUMO_FINAL}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Opaque" x="470" y="70" width="55" height="25" 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[Consumo Final]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="18" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="100" y="0" width="40" height="18"/>
				<box leftPadding="2">
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NOMBRE_SEDE}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="280" y="0" width="40" height="18"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NO_FACTURA}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="140" y="0" width="40" height="18"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{SERVICIO_DET}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="0" y="0" width="60" height="18"/>
				<box leftPadding="2">
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{PROVEEDOR_DET}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="60" y="0" width="40" height="18"/>
				<box leftPadding="2">
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NUM_DOC_DET}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="180" y="0" width="50" height="18"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{FECHA_INI_PERIODO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="230" y="0" width="50" height="18"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{FECHA_FIN_PERIODO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="320" y="0" width="40" height="18"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NO_REFERENCIA}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="360" y="0" width="55" height="18" forecolor="#000000" backcolor="#FFFFFF"/>
				<box leftPadding="2" 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" 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.math.BigDecimal"><![CDATA[$F{SUBTOTAL_TOTAL_FACTURA_DET}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="415" y="0" width="55" height="18" forecolor="#000000" backcolor="#FFFFFF"/>
				<box leftPadding="2" 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" 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.math.BigDecimal"><![CDATA[$F{IVA_TOTAL_FACTURA_DET}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="470" y="0" width="55" height="18" forecolor="#000000" backcolor="#FFFFFF"/>
				<box leftPadding="2" 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" 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.math.BigDecimal"><![CDATA[$F{VALOR_DET}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="170" splitType="Stretch">
			<image>
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToBandHeight" x="250" y="12" width="50" height="80">
					<printWhenExpression><![CDATA[$F{AUTORIZADO}==1]]></printWhenExpression>
				</reportElement>
				<imageExpression class="java.lang.String"><![CDATA["repo:logo_firmaa"]]></imageExpression>
			</image>
			<image>
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToBandHeight" x="0" y="12" width="50" height="80">
					<printWhenExpression><![CDATA[$F{FIRMADO}==1]]></printWhenExpression>
				</reportElement>
				<imageExpression class="java.lang.String"><![CDATA["repo:logo_firmaa"]]></imageExpression>
			</image>
			<textField>
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToBandHeight" mode="Transparent" x="50" y="41" width="200" height="12" forecolor="#000000">
					<printWhenExpression><![CDATA[$F{FIRMADO}==1]]></printWhenExpression>
				</reportElement>
				<box>
					<pen lineWidth="0.75" lineStyle="Dotted"/>
					<topPen lineWidth="0.0" lineStyle="Solid"/>
					<leftPen lineWidth="0.0" lineStyle="Dotted"/>
					<bottomPen lineWidth="0.0" lineStyle="Dotted"/>
					<rightPen lineWidth="0.0" lineStyle="Dotted"/>
				</box>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Contratista Grupo Servicios Administrativos"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToBandHeight" mode="Transparent" x="300" y="41" width="224" height="12" forecolor="#000000">
					<printWhenExpression><![CDATA[$F{AUTORIZADO}==1]]></printWhenExpression>
				</reportElement>
				<box>
					<pen lineWidth="0.75" lineStyle="Dotted"/>
					<topPen lineWidth="0.0" lineStyle="Solid"/>
					<leftPen lineWidth="0.0" lineStyle="Dotted"/>
					<bottomPen lineWidth="0.0" lineStyle="Dotted"/>
					<rightPen lineWidth="0.0" lineStyle="Dotted"/>
				</box>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Coordinador Grupo de Servicios Administrativos"]]></textFieldExpression>
			</textField>
			<textField pattern="dd-MMM-yyyy   hh:mm aaa">
				<reportElement mode="Opaque" x="363" y="154" width="150" height="12" forecolor="#575757" backcolor="#FFFFFF">
					<printWhenExpression><![CDATA[$F{RADICADO}.toString()=="1" ? Boolean.TRUE:Boolean.FALSE]]></printWhenExpression>
				</reportElement>
				<box leftPadding="2"/>
				<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["Nº RADICADO: "+$F{NUMERO_RADICADO}.toString()]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToBandHeight" mode="Transparent" x="0" y="108" width="525" height="13" forecolor="#000000"/>
				<box>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="10"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["* Los intereses de mora deberán ser cubiertos por el responsable del proceso."]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToBandHeight" mode="Transparent" x="50" y="53" width="200" height="12" forecolor="#000000">
					<printWhenExpression><![CDATA[$F{FIRMADO}==1]]></printWhenExpression>
				</reportElement>
				<box>
					<pen lineWidth="0.75" lineStyle="Dotted"/>
					<topPen lineWidth="0.0" lineStyle="Solid"/>
					<leftPen lineWidth="0.0" lineStyle="Dotted"/>
					<bottomPen lineWidth="0.0" lineStyle="Dotted"/>
					<rightPen lineWidth="0.0" lineStyle="Dotted"/>
				</box>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Fecha: "+$F{FECHA_FIRMA_FOR}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToBandHeight" mode="Transparent" x="300" y="53" width="224" height="12" forecolor="#000000">
					<printWhenExpression><![CDATA[$F{AUTORIZADO}==1]]></printWhenExpression>
				</reportElement>
				<box>
					<pen lineWidth="0.75" lineStyle="Dotted"/>
					<topPen lineWidth="0.0" lineStyle="Solid"/>
					<leftPen lineWidth="0.0" lineStyle="Dotted"/>
					<bottomPen lineWidth="0.0" lineStyle="Dotted"/>
					<rightPen lineWidth="0.0" lineStyle="Dotted"/>
				</box>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Fecha: "+$F{FECHA_AUTORIZADO_FOR}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToBandHeight" mode="Transparent" x="50" y="29" width="200" height="12" forecolor="#000000">
					<printWhenExpression><![CDATA[$F{FIRMADO}==1]]></printWhenExpression>
				</reportElement>
				<box>
					<pen lineWidth="0.75" lineStyle="Dotted"/>
					<topPen lineWidth="0.0" lineStyle="Solid"/>
					<leftPen lineWidth="0.0" lineStyle="Dotted"/>
					<bottomPen lineWidth="0.0" lineStyle="Dotted"/>
					<rightPen lineWidth="0.0" lineStyle="Dotted"/>
				</box>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Firmado por: "+$F{NOMBRE_FIRMA}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToBandHeight" mode="Transparent" x="300" y="29" width="224" height="12" forecolor="#000000">
					<printWhenExpression><![CDATA[$F{AUTORIZADO}==1]]></printWhenExpression>
				</reportElement>
				<box>
					<pen lineWidth="0.75" lineStyle="Dotted"/>
					<topPen lineWidth="0.0" lineStyle="Solid"/>
					<leftPen lineWidth="0.0" lineStyle="Dotted"/>
					<bottomPen lineWidth="0.0" lineStyle="Dotted"/>
					<rightPen lineWidth="0.0" lineStyle="Dotted"/>
				</box>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Autorizado por: "+$F{NOMBRE_AUTORIZO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToBandHeight" mode="Transparent" x="0" y="121" width="525" height="33" forecolor="#000000"/>
				<box>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Justified" verticalAlignment="Top" markup="none">
					<font fontName="SansSerif" size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Nota: Se descuentan los valores de intereses de mora por valor ("+$F{VALOR_INT_MORA}.toString()+") y los valores vencidos por ("+$F{VALOR_VENCIDO}.toString()+"), toda vez que dichos valores ya fueron cancelados oportunamente."]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
	<summary>
		<band height="100" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToBandHeight" mode="Transparent" x="0" y="29" width="525" height="29" forecolor="#000000"/>
				<box>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Justified" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="10"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[( $F{DIA_FIRMA}!=null
    ? "\t     Esta constancia se firma en la ciudad de "+$F{MUNICIPIO}+" a los "+$F{DIA_FIRMA}+" dias del mes de "+$F{MES_TEXTO_FIRMA}+"de "+$F{ANO_FIRMA}+"."
    : ""
)]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToBandHeight" mode="Transparent" x="0" y="0" width="525" height="29" forecolor="#000000"/>
				<box>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Justified" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="10"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["\t     El valor autorizado es "+$F{VALOR_PUNTOS}+" "+$F{VALOR_LETRAS}+"pesos."+" Con cargo al CDP: " + $F{CDP_RVSP_SEDE}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="20">
			<staticText>
				<reportElement x="0" y="0" width="525" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="SansSerif" isBold="true"/>
				</textElement>
				<text><![CDATA[No hay objetos a mostrar.]]></text>
			</staticText>
		</band>
	</noData>
</jasperReport>
