<?xml version="1.0" encoding="UTF-8"  ?>
<!-- Created with iReport - A designer for JasperReports -->
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport
		 name="OUTROS_RESUMO_APURACAO_IMPOSTO_ICMS"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Portrait"
		 pageWidth="595"
		 pageHeight="842"
		 columnWidth="535"
		 columnSpacing="0"
		 leftMargin="30"
		 rightMargin="30"
		 topMargin="20"
		 bottomMargin="20"
		 whenNoDataType="NoPages"
		 isTitleNewPage="false"
		 isSummaryNewPage="false">
	<property name="ireport.scriptlethandling" value="0" />
	<property name="ireport.encoding" value="UTF-8" />
	<import value="java.util.*" />
	<import value="net.sf.jasperreports.engine.*" />
	<import value="net.sf.jasperreports.engine.data.*" />

	<parameter name="LOGO" isForPrompting="false" class="java.lang.String"/>
	<parameter name="NOME_EMPRESA" isForPrompting="false" class="java.lang.String"/>
	<parameter name="CNPJ_NOME" isForPrompting="false" class="java.lang.String"/>
	<parameter name="INSCRICAO" isForPrompting="false" class="java.lang.String"/>
	<parameter name="INSCRICAO_ESTADUAL_NOME" isForPrompting="false" class="java.lang.String"/>
	<parameter name="FOLHA" isForPrompting="false" class="java.lang.Integer"/>
	<parameter name="LOGO_RELATORIO" isForPrompting="false" class="net.sf.jasperreports.engine.JRImageRenderer"/>
	<parameter name="SUB_DIR_OTHERS" isForPrompting="true" class="java.lang.String">
		<defaultValueExpression ><![CDATA["D:\\Projetos\\Mentor\\relatorios\\"]]></defaultValueExpression>
	</parameter>
	<parameter name="ID_EMPRESA" isForPrompting="true" class="java.lang.Integer"/>
	<parameter name="ID_APURACAO_ICMS" isForPrompting="false" class="java.lang.Long"/>
	<parameter name="SIGLA" isForPrompting="false" class="java.lang.String"/>
	<queryString><![CDATA[SELECT
coalesce(A.vr_debito,0) as vr_debito,
coalesce(A.vr_outro_debito,0) as vr_outro_debito,
coalesce(A.vr_estorno_credito,0) as vr_estorno_credito,
coalesce(A.vr_estorno_debito,0) as vr_estorno_debito,
coalesce(A.vr_credito,0) as vr_credito,
coalesce(A.vr_outro_credito,0) as vr_outro_credito,
coalesce(A.vr_estorno_credito,0) as vr_estorno_credito,
coalesce(a.saldo_credOR_anterior,0) as saldo_credOR_anterior,
coalesce(a.vr_deducoes,0) as vr_deducoes,
A.OBSERVACOES,
coalesce(a.saldo_devedor,0) as saldo_devedor,
coalesce(a.saldo_credor,0) as saldo_credor,
A.ID_APURACAO_ICMS,
u.sigla,
A.ANO_MES,
A.TIPO_APURACAO,
U.SIGLA,
coalesce(a.VR_ICMS_ST_DEV,0) as VR_ICMS_ST_DEV,
coalesce(a.VR_RESSARCIMENTO_ST,0) as VR_RESSARCIMENTO_ST
FROM
apuracao_ICMS A
LEFT join
    uf  u on (u.id_uf=a.id_unidade_federativa)
 where
 A.ID_APURACAO_ICMS = $P{ID_APURACAO_ICMS}
AND A.ID_EMPRESA=$P{ID_EMPRESA}]]></queryString>

	<field name="VR_DEBITO" class="java.math.BigDecimal"/>
	<field name="VR_OUTRO_DEBITO" class="java.math.BigDecimal"/>
	<field name="VR_ESTORNO_CREDITO" class="java.math.BigDecimal"/>
	<field name="VR_ESTORNO_DEBITO" class="java.math.BigDecimal"/>
	<field name="VR_CREDITO" class="java.math.BigDecimal"/>
	<field name="VR_OUTRO_CREDITO" class="java.math.BigDecimal"/>
	<field name="SALDO_CREDOR_ANTERIOR" class="java.math.BigDecimal"/>
	<field name="VR_DEDUCOES" class="java.math.BigDecimal"/>
	<field name="OBSERVACOES" class="java.lang.String"/>
	<field name="SALDO_DEVEDOR" class="java.math.BigDecimal"/>
	<field name="SALDO_CREDOR" class="java.math.BigDecimal"/>
	<field name="ID_APURACAO_ICMS" class="java.lang.Integer"/>
	<field name="SIGLA" class="java.lang.String"/>
	<field name="ANO_MES" class="java.sql.Date"/>
	<field name="TIPO_APURACAO" class="java.lang.Integer"/>
	<field name="VR_ICMS_ST_DEV" class="java.math.BigDecimal"/>
	<field name="VR_RESSARCIMENTO_ST" class="java.math.BigDecimal"/>

	<variable name="dataRel" class="java.util.Date" resetType="Page" calculation="Nothing">
		<initialValueExpression><![CDATA[new java.util.Date()]]></initialValueExpression>
	</variable>
	<variable name="TOTAL_DEBITO" class="java.lang.Double" resetType="Report" calculation="Sum">
		<variableExpression><![CDATA[new Double($F{VR_DEBITO}.doubleValue()
    +$F{VR_OUTRO_DEBITO}.doubleValue()
    +$F{VR_ESTORNO_CREDITO}.doubleValue())]]></variableExpression>
		<initialValueExpression><![CDATA[new Double("0.00")]]></initialValueExpression>
	</variable>
	<variable name="TOTAL_CREDITO" class="java.lang.Double" resetType="Report" calculation="Sum">
		<variableExpression><![CDATA[new Double($F{VR_CREDITO}.doubleValue()
+$F{VR_OUTRO_CREDITO}.doubleValue()
+$F{VR_ESTORNO_DEBITO}.doubleValue()
+$F{VR_ICMS_ST_DEV}.doubleValue()
+$F{VR_RESSARCIMENTO_ST}.doubleValue())]]></variableExpression>
		<initialValueExpression><![CDATA[new Double("0.00")]]></initialValueExpression>
	</variable>
	<variable name="CALCULO_SALDO_DEVEDOR" class="java.lang.Double" resetType="Report" calculation="Sum">
		<variableExpression><![CDATA[new Double(($F{VR_DEBITO}.doubleValue()+$F{VR_OUTRO_DEBITO}.doubleValue()+$F{VR_ESTORNO_CREDITO}.doubleValue())-($F{VR_CREDITO}.doubleValue()+$F{VR_OUTRO_CREDITO}.doubleValue()+$F{VR_ESTORNO_DEBITO}.doubleValue()+$F{SALDO_CREDOR_ANTERIOR}.doubleValue()))]]></variableExpression>
		<initialValueExpression><![CDATA[new Double("0.00")]]></initialValueExpression>
	</variable>
	<variable name="TOTAL_CREDITO_2" class="java.lang.Double" resetType="Report" calculation="Sum">
		<variableExpression><![CDATA[new Double($V{TOTAL_CREDITO}.doubleValue()+$F{SALDO_CREDOR_ANTERIOR}.doubleValue())]]></variableExpression>
		<initialValueExpression><![CDATA[new Double("0.00")]]></initialValueExpression>
	</variable>
	<variable name="CALCULO_SALDO_CREDOR" class="java.lang.Double" resetType="Report" calculation="Sum">
		<variableExpression><![CDATA[new Double(($F{VR_CREDITO}.doubleValue()+$F{VR_OUTRO_CREDITO}.doubleValue()+$F{VR_ESTORNO_DEBITO}.doubleValue()+$F{SALDO_CREDOR_ANTERIOR}.doubleValue())-($F{VR_DEBITO}.doubleValue()+$F{VR_OUTRO_DEBITO}.doubleValue()+$F{VR_ESTORNO_CREDITO}.doubleValue()))]]></variableExpression>
		<initialValueExpression><![CDATA[new Double("0.00")]]></initialValueExpression>
	</variable>
		<background>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</background>
		<title>
			<band height="52"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="154"
						y="8"
						width="279"
						height="17"
						key="textField-12"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{NOME_EMPRESA}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="158"
						y="32"
						width="27"
						height="12"
						key="staticText-16"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement>
						<font pdfFontName="Helvetica-BoldOblique" size="8" isBold="true" isItalic="true"/>
					</textElement>
				<text><![CDATA[CNPJ :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="267"
						y="32"
						width="77"
						height="12"
						key="staticText-17"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement>
						<font pdfFontName="Helvetica-BoldOblique" size="8" isBold="true" isItalic="true"/>
					</textElement>
				<text><![CDATA[Inscrição Estadual :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="186"
						y="32"
						width="80"
						height="12"
						key="textField-15"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement verticalAlignment="Middle">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{CNPJ_NOME}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="345"
						y="32"
						width="85"
						height="12"
						key="textField-16"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement verticalAlignment="Middle">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{INSCRICAO_ESTADUAL_NOME}]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="50"
						width="535"
						height="1"
						key="line-4"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.25" lineStyle="Solid"/>
</graphicElement>
				</line>
				<image  onErrorType="Blank" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="1"
						y="0"
						width="154"
						height="52"
						key="image-1"/>
					<box></box>
					<graphicElement stretchType="NoStretch"/>
					<imageExpression class="net.sf.jasperreports.engine.JRRenderable"><![CDATA[$P{LOGO_RELATORIO}]]></imageExpression>
				</image>
			</band>
		</title>
		<pageHeader>
			<band height="14"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						mode="Opaque"
						x="0"
						y="0"
						width="535"
						height="14"
						backcolor="#CCCCCC"
						key="staticText-5"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[RESUMO DA APURAÇAO DO IMPOSTO ICMS MENSAL]]></text>
				</staticText>
			</band>
		</pageHeader>
		<columnHeader>
			<band height="15"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="0"
						y="3"
						width="28"
						height="12"
						key="staticText-18"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[Folha:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="78"
						y="3"
						width="38"
						height="12"
						key="staticText-19"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[Período:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="27"
						y="3"
						width="28"
						height="12"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$P{FOLHA}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="MM/yyyy" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="116"
						y="3"
						width="52"
						height="12"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Center">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{ANO_MES}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="168"
						y="3"
						width="86"
						height="12"
						key="staticText-62"/>
					<box></box>
					<textElement textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[Tipo de Apuração:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="254"
						y="3"
						width="89"
						height="12"
						key="textField"/>
					<box></box>
					<textElement>
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{TIPO_APURACAO}.intValue()==0?"Normal":
$F{TIPO_APURACAO}.intValue()==1?"ICMS ST":
"Frete ST"]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="343"
						y="3"
						width="27"
						height="12"
						key="staticText-65"
						positionType="Float">
							<printWhenExpression><![CDATA[new Boolean($F{SIGLA}!=null)]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[U.F:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="370"
						y="3"
						width="27"
						height="12"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Center">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{SIGLA}]]></textFieldExpression>
				</textField>
			</band>
		</columnHeader>
		<detail>
			<band height="467"  isSplitAllowed="true" >
				<rectangle radius="5" >
					<reportElement
						x="207"
						y="389"
						width="322"
						height="45"
						key="rectangle-20"
						positionType="Float"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.25" lineStyle="Solid"/>
</graphicElement>
				</rectangle>
				<rectangle radius="5" >
					<reportElement
						x="17"
						y="389"
						width="181"
						height="45"
						key="rectangle-19"
						positionType="Float"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.25" lineStyle="Solid"/>
</graphicElement>
				</rectangle>
				<rectangle radius="5" >
					<reportElement
						x="340"
						y="19"
						width="160"
						height="31"
						key="rectangle-3"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.25" lineStyle="Solid"/>
</graphicElement>
				</rectangle>
				<rectangle radius="5" >
					<reportElement
						x="452"
						y="32"
						width="39"
						height="14"
						key="rectangle-2"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.25" lineStyle="Solid"/>
</graphicElement>
				</rectangle>
				<rectangle radius="5" >
					<reportElement
						x="343"
						y="31"
						width="94"
						height="14"
						key="rectangle-1"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.25" lineStyle="Solid"/>
</graphicElement>
				</rectangle>
				<staticText>
					<reportElement
						x="0"
						y="3"
						width="535"
						height="14"
						key="staticText-20"/>
					<box>					<pen lineWidth="1.0" lineStyle="Solid"/>
					<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 textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<text><![CDATA[DEBITO DO IMPOSTO]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="378"
						y="19"
						width="91"
						height="14"
						key="staticText-21"/>
					<box></box>
					<textElement textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<text><![CDATA[VALORES]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="344"
						y="31"
						width="91"
						height="14"
						key="staticText-22"/>
					<box></box>
					<textElement textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<text><![CDATA[COLUNA AUXILIAR]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="452"
						y="31"
						width="49"
						height="14"
						key="staticText-23"/>
					<box></box>
					<textElement textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<text><![CDATA[SOMAS]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="7"
						y="51"
						width="210"
						height="12"
						key="staticText-24"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[001 - Por Saídas/Prestações Com Débito do Imposto]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="7"
						y="64"
						width="210"
						height="12"
						key="staticText-25"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[002 - Outros Débitos (Discriminar Abaixo)]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="7"
						y="79"
						width="210"
						height="12"
						key="staticText-26"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[003 - Estorno de Créditos]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="7"
						y="96"
						width="210"
						height="12"
						key="staticText-27"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[004 - SUB TOTAL]]></text>
				</staticText>
				<rectangle radius="5" >
					<reportElement
						x="340"
						y="142"
						width="160"
						height="31"
						key="rectangle-6"
						positionType="Float"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.25" lineStyle="Solid"/>
</graphicElement>
				</rectangle>
				<rectangle radius="5" >
					<reportElement
						x="452"
						y="155"
						width="39"
						height="14"
						key="rectangle-7"
						positionType="Float"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.25" lineStyle="Solid"/>
</graphicElement>
				</rectangle>
				<rectangle radius="5" >
					<reportElement
						x="343"
						y="153"
						width="94"
						height="14"
						key="rectangle-8"
						positionType="Float"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.25" lineStyle="Solid"/>
</graphicElement>
				</rectangle>
				<staticText>
					<reportElement
						x="0"
						y="126"
						width="535"
						height="14"
						key="staticText-28"
						positionType="Float"/>
					<box>					<pen lineWidth="1.0" lineStyle="Solid"/>
					<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 textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<text><![CDATA[CREDITO DO IMPOSTO]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="378"
						y="142"
						width="91"
						height="14"
						key="staticText-29"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<text><![CDATA[VALORES]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="344"
						y="154"
						width="91"
						height="14"
						key="staticText-30"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<text><![CDATA[COLUNA AUXILIAR]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="446"
						y="154"
						width="49"
						height="14"
						key="staticText-31"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<text><![CDATA[SOMAS]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="7"
						y="175"
						width="210"
						height="12"
						key="staticText-32"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[005 - Por Entrada / Aquisições Com Credito do Imposto]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="7"
						y="188"
						width="210"
						height="12"
						key="staticText-33"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[006 - Outros Creditos (Discriminar Abaixo)]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="7"
						y="205"
						width="210"
						height="12"
						key="staticText-34"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[007 - Estorno de Débitos]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="7"
						y="221"
						width="210"
						height="12"
						key="staticText-35"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[008 - SUB TOTAL]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="7"
						y="249"
						width="210"
						height="12"
						key="staticText-37"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[010 - TOTAL]]></text>
				</staticText>
				<rectangle radius="5" >
					<reportElement
						x="339"
						y="282"
						width="160"
						height="31"
						key="rectangle-10"
						positionType="Float"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.25" lineStyle="Solid"/>
</graphicElement>
				</rectangle>
				<rectangle radius="5" >
					<reportElement
						x="451"
						y="294"
						width="39"
						height="14"
						key="rectangle-11"
						positionType="Float"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.25" lineStyle="Solid"/>
</graphicElement>
				</rectangle>
				<rectangle radius="5" >
					<reportElement
						x="342"
						y="294"
						width="94"
						height="14"
						key="rectangle-12"
						positionType="Float"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.25" lineStyle="Solid"/>
</graphicElement>
				</rectangle>
				<staticText>
					<reportElement
						x="0"
						y="265"
						width="535"
						height="14"
						key="staticText-38"
						positionType="Float"/>
					<box>					<pen lineWidth="1.0" lineStyle="Solid"/>
					<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 textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<text><![CDATA[APURAÇÃO DO SALDO]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="377"
						y="282"
						width="91"
						height="14"
						key="staticText-39"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<text><![CDATA[VALORES]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="343"
						y="294"
						width="91"
						height="14"
						key="staticText-40"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<text><![CDATA[COLUNA AUXILIAR]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="445"
						y="294"
						width="49"
						height="14"
						key="staticText-41"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<text><![CDATA[SOMAS]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="6"
						y="314"
						width="210"
						height="12"
						key="staticText-42"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[011 - Saldo Devedor]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="6"
						y="328"
						width="210"
						height="12"
						key="staticText-43"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[012 - Deduções]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="6"
						y="343"
						width="210"
						height="12"
						key="staticText-44"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[013 - Imposto a Recolher]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="6"
						y="358"
						width="210"
						height="12"
						key="staticText-45"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[014 - Saldo Credor]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="0"
						y="373"
						width="535"
						height="14"
						key="staticText-46"
						positionType="Float"/>
					<box>					<pen lineWidth="1.0" lineStyle="Solid"/>
					<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 textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<text><![CDATA[INFORMAÇÕES COMPLEMENTARES]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="28"
						y="389"
						width="114"
						height="12"
						key="staticText-47"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[Guias de Recolhimento(DAE)]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="24"
						y="404"
						width="34"
						height="12"
						key="staticText-48"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[Numero]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="100"
						y="402"
						width="22"
						height="12"
						key="staticText-49"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[Data]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="162"
						y="402"
						width="28"
						height="12"
						key="staticText-50"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[Valor]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="309"
						y="390"
						width="103"
						height="12"
						key="staticText-51"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[Gui de Informação (DAPI)]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="217"
						y="402"
						width="83"
						height="12"
						key="staticText-52"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[Orgão Arrecadador]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="309"
						y="402"
						width="64"
						height="12"
						key="staticText-53"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[Data da Entrega]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="397"
						y="402"
						width="83"
						height="12"
						key="staticText-54"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[Local Entrega]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="7"
						y="444"
						width="53"
						height="12"
						key="staticText-55"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[Observações:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="430"
						y="51"
						width="61"
						height="12"
						key="textField"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{VR_DEBITO}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="430"
						y="64"
						width="61"
						height="12"
						key="textField"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{VR_OUTRO_DEBITO}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="430"
						y="79"
						width="61"
						height="12"
						key="textField"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{VR_ESTORNO_CREDITO}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="431"
						y="175"
						width="61"
						height="12"
						key="textField"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[new Double($F{VR_CREDITO}.doubleValue()+$F{VR_ICMS_ST_DEV}.doubleValue()+
$F{VR_RESSARCIMENTO_ST}.doubleValue())]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="431"
						y="205"
						width="61"
						height="12"
						key="textField"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{VR_ESTORNO_DEBITO}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="430"
						y="329"
						width="61"
						height="12"
						key="textField"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{VR_DEDUCOES}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="430"
						y="343"
						width="61"
						height="12"
						key="textField"
						positionType="Float">
							<printWhenExpression><![CDATA[new Boolean($F{SALDO_DEVEDOR}.doubleValue()>0d && ($V{TOTAL_CREDITO}.doubleValue()<$V{TOTAL_DEBITO}.doubleValue()))]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{SALDO_DEVEDOR}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="430"
						y="96"
						width="61"
						height="12"
						key="textField"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$V{TOTAL_DEBITO}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="431"
						y="221"
						width="61"
						height="12"
						key="textField"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$V{TOTAL_CREDITO}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="430"
						y="314"
						width="61"
						height="12"
						key="textField"
						positionType="Float">
							<printWhenExpression><![CDATA[new Boolean($V{CALCULO_SALDO_DEVEDOR}.doubleValue()>=0d)]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$V{CALCULO_SALDO_DEVEDOR}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="431"
						y="249"
						width="61"
						height="12"
						key="textField"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$V{TOTAL_CREDITO_2}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="430"
						y="359"
						width="61"
						height="12"
						key="textField"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[new Double($V{CALCULO_SALDO_CREDOR}.doubleValue() >0d?$V{CALCULO_SALDO_CREDOR}.doubleValue() :+0d)]]></textFieldExpression>
				</textField>
				<subreport  isUsingCache="true">
					<reportElement
						x="3"
						y="456"
						width="531"
						height="11"
						key="subreport-1"
						positionType="Float"/>
					<subreportParameter  name="ID_APURACAO">
						<subreportParameterExpression><![CDATA[$F{ID_APURACAO_ICMS}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression  class="java.lang.String"><![CDATA[$P{SUB_DIR_OTHERS} + "SUB_OUTR_APURACAO_ICMS_OBRIGACOES.jasper"]]></subreportExpression>
				</subreport>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="62"
						y="444"
						width="472"
						height="12"
						key="textField"
						positionType="Float"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{OBSERVACOES}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="7"
						y="235"
						width="210"
						height="12"
						key="staticText-64"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[009 - Saldo Credor Anterior]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="431"
						y="235"
						width="61"
						height="12"
						key="textField"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{SALDO_CREDOR_ANTERIOR}]]></textFieldExpression>
				</textField>
				<subreport  isUsingCache="true">
					<reportElement
						x="1"
						y="201"
						width="534"
						height="1"
						key="subreport-2"
						positionType="Float"
						isRemoveLineWhenBlank="true"/>
					<subreportParameter  name="UTILIZACAO">
						<subreportParameterExpression><![CDATA[new Short("2")]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="TIPO">
						<subreportParameterExpression><![CDATA[$F{TIPO_APURACAO}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="ID_APURACAO_ICMS">
						<subreportParameterExpression><![CDATA[$F{ID_APURACAO_ICMS}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression  class="java.lang.String"><![CDATA[$P{SUB_DIR_OTHERS} + "SUB_OUTR_RESUMO_APURACAO_ICMS.jasper"]]></subreportExpression>
				</subreport>
				<subreport  isUsingCache="true">
					<reportElement
						x="0"
						y="91"
						width="534"
						height="1"
						key="subreport-3"
						positionType="Float"
						isRemoveLineWhenBlank="true"/>
					<subreportParameter  name="UTILIZACAO">
						<subreportParameterExpression><![CDATA[new Short("1")]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="TIPO">
						<subreportParameterExpression><![CDATA[$F{TIPO_APURACAO}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="ID_APURACAO_ICMS">
						<subreportParameterExpression><![CDATA[$F{ID_APURACAO_ICMS}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression  class="java.lang.String"><![CDATA[$P{SUB_DIR_OTHERS} + "SUB_OUTR_RESUMO_APURACAO_ICMS.jasper"]]></subreportExpression>
				</subreport>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="431"
						y="188"
						width="61"
						height="12"
						key="textField-22"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{VR_OUTRO_CREDITO}]]></textFieldExpression>
				</textField>
				<subreport  isUsingCache="true">
					<reportElement
						x="1"
						y="77"
						width="534"
						height="1"
						key="subreport-4"
						isRemoveLineWhenBlank="true"/>
					<subreportParameter  name="UTILIZACAO">
						<subreportParameterExpression><![CDATA[new Short("0")]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="TIPO">
						<subreportParameterExpression><![CDATA[$F{TIPO_APURACAO}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="ID_APURACAO_ICMS">
						<subreportParameterExpression><![CDATA[$F{ID_APURACAO_ICMS}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression  class="java.lang.String"><![CDATA[$P{SUB_DIR_OTHERS} + "SUB_OUTR_RESUMO_APURACAO_ICMS.jasper"]]></subreportExpression>
				</subreport>
				<subreport  isUsingCache="true">
					<reportElement
						x="0"
						y="218"
						width="534"
						height="1"
						key="subreport-5"
						positionType="Float"
						isRemoveLineWhenBlank="true"/>
					<subreportParameter  name="UTILIZACAO">
						<subreportParameterExpression><![CDATA[new Short("3")]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="TIPO">
						<subreportParameterExpression><![CDATA[$F{TIPO_APURACAO}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="ID_APURACAO_ICMS">
						<subreportParameterExpression><![CDATA[$F{ID_APURACAO_ICMS}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression  class="java.lang.String"><![CDATA[$P{SUB_DIR_OTHERS} + "SUB_OUTR_RESUMO_APURACAO_ICMS.jasper"]]></subreportExpression>
				</subreport>
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="27"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="505"
						y="6"
						width="11"
						height="15"
						key="textField-8"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="524"
						y="6"
						width="11"
						height="15"
						key="textField-9"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="516"
						y="6"
						width="8"
						height="15"
						key="staticText-8"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font pdfFontName="Helvetica-Bold" isBold="true"/>
					</textElement>
				<text><![CDATA[/]]></text>
				</staticText>
			</band>
		</pageFooter>
		<summary>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</summary>
</jasperReport>
