<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.10.0.final using JasperReports Library version 6.10.0-unknown  -->
<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="OUTROS_RESUMO_APURACAO_ICMS" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20" uuid="133f9d08-3bdf-4444-b64d-32b8b2a89769">
	<property name="ireport.scriptlethandling" value="0"/>
	<property name="ireport.encoding" value="UTF-8"/>
	<property name="ireport.zoom" value="1.5"/>
	<property name="ireport.x" value="174"/>
	<property name="ireport.y" value="636"/>
	<import value="net.sf.jasperreports.engine.*"/>
	<import value="java.util.*"/>
	<import value="net.sf.jasperreports.engine.data.*"/>
	<parameter name="LOGO" class="java.lang.String" isForPrompting="false"/>
	<parameter name="NOME_EMPRESA" class="java.lang.String" isForPrompting="false"/>
	<parameter name="CNPJ_NOME" class="java.lang.String" isForPrompting="false"/>
	<parameter name="INSCRICAO" class="java.lang.String" isForPrompting="false"/>
	<parameter name="INSCRICAO_ESTADUAL_NOME" class="java.lang.String" isForPrompting="false"/>
	<parameter name="FOLHA" class="java.lang.Integer" isForPrompting="false"/>
	<parameter name="LOGO_RELATORIO" class="net.sf.jasperreports.engine.JRImageRenderer" isForPrompting="false"/>
	<parameter name="SUB_DIR_OTHERS" class="java.lang.String">
		<defaultValueExpression><![CDATA["D:\\Projetos\\Mentor\\relatorios\\"]]></defaultValueExpression>
	</parameter>
	<parameter name="ID_EMPRESA" class="java.lang.Integer"/>
	<parameter name="ID_APURACAO_ICMS" class="java.lang.Integer" isForPrompting="false"/>
	<parameter name="SIGLA" class="java.lang.String" isForPrompting="false"/>
	<parameter name="DATA_INICIAL" class="java.util.Date" isForPrompting="false"/>
	<parameter name="DATA_FINAL" class="java.util.Date" isForPrompting="false"/>
	<parameter name="SUBREPORT_DIR" class="java.lang.String">
		<defaultValueExpression><![CDATA["D:\\Mentor Novo\\reports\\"]]></defaultValueExpression>
	</parameter>
	<parameter name="DATA_SALDO_ANT_INICIAL" class="java.util.Date" isForPrompting="false"/>
	<parameter name="DATA_SALDO_ANT_FINAL" class="java.util.Date" isForPrompting="false"/>
	<parameter name="TIPO_APURACAO" class="java.lang.Integer" isForPrompting="false"/>
	<parameter name="UF" class="java.lang.Integer" isForPrompting="false"/>
	<parameter name="IMPRIMIR_DADOS_SUB_APURACAO_ICMS" class="java.lang.Short"/>
	<parameter name="EXIBIR_DATA_IMPRESSAO" class="java.lang.Short"/>
	<queryString>
		<![CDATA[SELECT

    A.TIPO_APURACAO,
    coalesce(sum(A.vr_debito),0) as vr_debito,
    coalesce(sum(A.vr_outro_debito),0) as vr_outro_debito,
    coalesce(sum(A.vr_estorno_credito),0) as vr_estorno_credito,
    coalesce(sum(A.vr_estorno_debito),0) as vr_estorno_debito,
    coalesce(sum(A.vr_credito),0) as vr_credito,
    coalesce(sum(A.vr_outro_credito),0) as vr_outro_credito,
    coalesce(sum(A.vr_estorno_credito),0) as vr_estorno_credito,
    coalesce(sum(a.saldo_credOR_anterior),0) as saldo_credOR_anterior,
    coalesce(sum(a.vr_deducoes),0) as vr_deducoes,
    coalesce(sum(a.saldo_devedor),0) as saldo_devedor,
    coalesce(sum(a.saldo_credor),0) as saldo_credor,
    coalesce(sum(a.VR_ICMS_ST_DEV),0) as VR_ICMS_ST_DEV,
    coalesce(sum(a.VR_RESSARCIMENTO_ST),0) as VR_RESSARCIMENTO_ST,
    coalesce(sum(a.valor_ajuste_credito),0) as VR_AJUSTE_CREDITO,
    coalesce(sum(a.valor_ajuste_debito),0) as VR_AJUSTE_DEBITO,
    coalesce(sum(a.valor_icms_recolher),0) as VR_ICMS_RECOLHER

      FROM apuracao_ICMS A
LEFT  join uf  u on (u.id_uf=a.id_unidade_federativa)

where

    a.ano_mes between $P{DATA_INICIAL} AND $P{DATA_FINAL}
AND a.ID_EMPRESA = $P{ID_EMPRESA}
AND (a.TIPO_APURACAO = $P{TIPO_APURACAO})
AND (($P{TIPO_APURACAO} = 0 or $P{TIPO_APURACAO} = 2) or U.ID_UF = $P{UF})

group by

    A.TIPO_APURACAO]]>
	</queryString>
	<field name="TIPO_APURACAO" class="java.lang.Integer"/>
	<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="SALDO_DEVEDOR" class="java.math.BigDecimal"/>
	<field name="SALDO_CREDOR" class="java.math.BigDecimal"/>
	<field name="VR_ICMS_ST_DEV" class="java.math.BigDecimal"/>
	<field name="VR_RESSARCIMENTO_ST" class="java.math.BigDecimal"/>
	<field name="VR_AJUSTE_CREDITO" class="java.lang.Double"/>
	<field name="VR_AJUSTE_DEBITO" class="java.lang.Double"/>
	<field name="VR_ICMS_RECOLHER" class="java.math.BigDecimal"/>
	<variable name="dataRel" class="java.util.Date" resetType="Page">
		<initialValueExpression><![CDATA[new java.util.Date()]]></initialValueExpression>
	</variable>
	<variable name="TOTAL_DEBITO" class="java.lang.Double" calculation="Sum">
		<variableExpression><![CDATA[new Double($F{VR_DEBITO}.doubleValue()
    +$F{VR_OUTRO_DEBITO}.doubleValue()
    +$F{VR_ESTORNO_CREDITO}.doubleValue()
    +$F{VR_AJUSTE_DEBITO}.doubleValue())]]></variableExpression>
		<initialValueExpression><![CDATA[new Double("0.00")]]></initialValueExpression>
	</variable>
	<variable name="TOTAL_CREDITO" class="java.lang.Double" 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()
+$F{VR_AJUSTE_CREDITO}.doubleValue())]]></variableExpression>
		<initialValueExpression><![CDATA[new Double("0.00")]]></initialValueExpression>
	</variable>
	<variable name="CALCULO_SALDO_DEVEDOR" class="java.lang.Double" 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" 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" 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 splitType="Stretch"/>
	</background>
	<title>
		<band height="52" splitType="Stretch">
			<textField isBlankWhenNull="true">
				<reportElement key="textField-12" x="154" y="8" width="279" height="17" uuid="220930d2-2f55-4253-837b-3b94396e2be3"/>
				<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 size="10" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{NOME_EMPRESA}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-16" x="158" y="32" width="27" height="12" uuid="abd69024-1744-446f-ba3d-01315e1d11d4"/>
				<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 size="8" isBold="true" isItalic="true"/>
				</textElement>
				<text><![CDATA[CNPJ :]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-17" x="267" y="32" width="77" height="12" uuid="01b9c534-6e88-411e-8b64-7e7556778a24"/>
				<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 size="8" isBold="true" isItalic="true"/>
				</textElement>
				<text><![CDATA[Inscrição Estadual :]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement key="textField-15" x="186" y="32" width="80" height="12" uuid="9193a13f-1699-4cd6-a102-0a3f842290e2"/>
				<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><![CDATA[$P{CNPJ_NOME}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement key="textField-16" x="345" y="32" width="85" height="12" uuid="02d033a2-db6e-4e86-b104-958a13e78918"/>
				<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><![CDATA[$P{INSCRICAO_ESTADUAL_NOME}]]></textFieldExpression>
			</textField>
			<image onErrorType="Blank">
				<reportElement key="image-1" x="1" y="0" width="154" height="52" uuid="c319d993-1604-4b24-abe6-f8803bec3e9e"/>
				<imageExpression><![CDATA[$P{LOGO_RELATORIO}]]></imageExpression>
			</image>
		</band>
	</title>
	<pageHeader>
		<band height="14" splitType="Stretch">
			<staticText>
				<reportElement key="staticText-5" mode="Opaque" x="0" y="0" width="535" height="14" backcolor="#CCCCCC" uuid="dd40b917-a605-4f55-9c2b-ba2bf2cb8b87"/>
				<box>
					<pen lineWidth="0.5" lineStyle="Solid"/>
					<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Top">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[RESUMO DA APURAÇAO DO IMPOSTO ICMS]]></text>
			</staticText>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="12" splitType="Stretch">
			<staticText>
				<reportElement key="staticText-18" x="8" y="0" width="28" height="12" uuid="0b97df02-6c87-4c37-ad62-42af0db421a2"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Folha:]]></text>
			</staticText>
			<textField isBlankWhenNull="false">
				<reportElement key="textField" x="35" y="0" width="28" height="12" uuid="09619d47-7f29-4071-80a8-e6dd58fd5d19"/>
				<textElement textAlignment="Center">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{FOLHA}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-65" x="70" y="0" width="41" height="12" uuid="47d398d6-f356-4dfd-bdad-a14c374e63a8"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Período:]]></text>
			</staticText>
			<textField pattern="dd/MM/yy" isBlankWhenNull="false">
				<reportElement key="textField-23" x="111" y="0" width="41" height="12" uuid="a5be3c3a-8c02-4eb4-8b7e-a87f078c61ef"/>
				<textElement textAlignment="Center">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yy" isBlankWhenNull="false">
				<reportElement key="textField-24" x="160" y="0" width="41" height="12" uuid="867df351-217b-47b7-8e70-d6bc8ed0e2b8"/>
				<textElement textAlignment="Center">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-66" x="151" y="0" width="10" height="12" uuid="dc3d46b6-2e91-4331-b542-e232e7c37af1"/>
				<textElement textAlignment="Center">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[a]]></text>
			</staticText>
			<textField isBlankWhenNull="false">
				<reportElement key="textField" x="278" y="0" width="58" height="12" uuid="ddf85b05-301d-4926-a8ae-4b8af1a5c0ba"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{TIPO_APURACAO}.intValue() == 0 ? "ICMS" :
$P{TIPO_APURACAO}.intValue() == 1 ? "ICMS ST" : "Frete ST"]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="false">
				<reportElement key="textField" x="361" y="0" width="28" height="12" uuid="2061b2d5-c331-4374-90a2-1ae3f321d280"/>
				<textElement textAlignment="Center">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{SIGLA} == null ? "Todas" : $P{SIGLA}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-67" x="207" y="0" width="71" height="12" uuid="69aa9b35-f471-4cd5-9878-e8ce8210c7ca"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Tipo de Apuração:]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-68" x="340" y="0" width="22" height="12" uuid="b3505583-79be-438b-aa84-54a136782322"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[UF:]]></text>
			</staticText>
			<textField pattern="dd/MM/yyyy HH:mm " isBlankWhenNull="false">
				<reportElement key="textField" x="460" y="0" width="72" height="12" uuid="66419942-4857-4c2c-9723-795287fcb5f2">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[new Boolean ($P{EXIBIR_DATA_IMPRESSAO} == 1 )]]></printWhenExpression>
				</reportElement>
				<textElement textAlignment="Center">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[new Date()]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-28" x="393" y="0" width="65" height="12" uuid="b928f096-b68d-4b51-a671-5e4af3a9f632">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[new Boolean ($P{EXIBIR_DATA_IMPRESSAO} == 1 )]]></printWhenExpression>
				</reportElement>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Data empressão:]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="466" splitType="Stretch">
			<rectangle radius="5">
				<reportElement key="rectangle-20" positionType="Float" x="207" y="421" width="322" height="45" uuid="af453908-746a-4002-b845-64988e7e704b"/>
				<graphicElement>
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</rectangle>
			<rectangle radius="5">
				<reportElement key="rectangle-19" positionType="Float" x="17" y="421" width="181" height="45" uuid="d4d86fd3-bb15-47e2-b6fc-128e4ffb9145"/>
				<graphicElement>
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</rectangle>
			<rectangle radius="5">
				<reportElement key="rectangle-3" x="340" y="19" width="160" height="31" uuid="34076d4e-4135-4850-b3b7-3f10f6798a74"/>
				<graphicElement>
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</rectangle>
			<rectangle radius="5">
				<reportElement key="rectangle-2" x="452" y="32" width="39" height="14" uuid="2e812804-5fe0-43ec-a39f-4ffe356be137"/>
				<graphicElement>
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</rectangle>
			<rectangle radius="5">
				<reportElement key="rectangle-1" x="343" y="31" width="94" height="14" uuid="415345e0-33bc-482b-a159-ab701696e6c9"/>
				<graphicElement>
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</rectangle>
			<staticText>
				<reportElement key="staticText-20" x="0" y="3" width="535" height="14" uuid="d7dcad0f-f8c6-4092-b105-acb89adeff90"/>
				<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 size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[DEBITO DO IMPOSTO]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-21" x="378" y="19" width="91" height="14" uuid="bd65ec75-4042-46f1-a6a5-575334b1a4d6"/>
				<textElement textAlignment="Center">
					<font size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[VALORES]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-22" x="344" y="31" width="91" height="14" uuid="5b5cd7a8-db76-42c7-adee-232c5a57e3df"/>
				<textElement textAlignment="Center">
					<font size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[COLUNA AUXILIAR]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-23" x="447" y="31" width="49" height="14" uuid="c5bd4b6f-86a9-4279-8077-12fb87778fa3"/>
				<textElement textAlignment="Center">
					<font size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[SOMAS]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-24" x="7" y="51" width="235" height="12" uuid="9551a0ba-871b-4be7-89dd-34524b676edc"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[001 - Por Saídas/Prestações Com Débito do Imposto]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-25" x="7" y="81" width="235" height="12" uuid="12a73cad-3c08-48ad-bf2e-7bfac055e0c3"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[003 - Outros Débitos (decorrentes da apuração)]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-26" positionType="Float" x="7" y="96" width="235" height="12" uuid="bb0e4278-0270-4cfa-8943-91eb697a342c"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[004 - Estorno de Créditos]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-27" positionType="Float" x="7" y="113" width="235" height="12" uuid="5b01311c-c9b4-4ffa-9d39-b08b59070033"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[005 - SUB TOTAL]]></text>
			</staticText>
			<rectangle radius="5">
				<reportElement key="rectangle-6" positionType="Float" x="340" y="158" width="160" height="31" uuid="044dcce3-4d59-43a8-a0d1-60bac123ee2a"/>
				<graphicElement>
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</rectangle>
			<rectangle radius="5">
				<reportElement key="rectangle-7" positionType="Float" x="452" y="171" width="39" height="14" uuid="f267664b-e072-406b-b6b0-87c2369ca98f"/>
				<graphicElement>
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</rectangle>
			<rectangle radius="5">
				<reportElement key="rectangle-8" positionType="Float" x="343" y="171" width="94" height="14" uuid="eda4ac37-479f-42a1-979a-ea1c59a96f35"/>
				<graphicElement>
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</rectangle>
			<staticText>
				<reportElement key="staticText-28" positionType="Float" x="0" y="142" width="535" height="14" uuid="40ccc14b-532c-4a04-a036-df202ae879c4"/>
				<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 size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[CREDITO DO IMPOSTO]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-29" positionType="Float" x="378" y="158" width="91" height="12" uuid="19fa7e32-fee5-4d78-8835-7de7d2d3c5a2">
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<textElement textAlignment="Center">
					<font size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[VALORES]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-30" positionType="Float" x="343" y="171" width="94" height="14" uuid="a8b11480-f40d-43be-9192-b005a840e1f1"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[COLUNA AUXILIAR]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-31" positionType="Float" x="452" y="171" width="39" height="14" uuid="82a72eaf-313d-43fe-b36c-3e9ec41b1840"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[SOMAS]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-32" positionType="Float" x="7" y="191" width="235" height="12" uuid="c6598e8e-3768-4a33-82cc-84c68e3ce199"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[006 - Por Entrada / Aquisições Com Credito do Imposto]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-33" positionType="Float" x="7" y="220" width="235" height="12" uuid="a5210960-8c26-4015-a648-8590277ff4c9"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[008 - Outros Créditos (decorrentes da apuração)]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-34" positionType="Float" x="7" y="237" width="235" height="12" uuid="a96c8fff-bd54-4def-89ee-76c44e69af37"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[009 - Estorno de Débitos]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-35" positionType="Float" x="7" y="253" width="235" height="12" uuid="13407110-00ab-4df7-8524-172daf527edd"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[010 - SUB TOTAL]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-37" positionType="Float" x="7" y="281" width="235" height="12" uuid="0cbe7705-6989-4c04-8412-ebd9f6b7a2e8"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[012 - TOTAL]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-38" positionType="Float" x="0" y="297" width="535" height="14" uuid="d70a2edc-410d-4fe8-a62a-a1ce2071c798"/>
				<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 size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[APURAÇÃO DO SALDO]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-42" positionType="Float" x="6" y="346" width="210" height="12" uuid="337cc296-c125-4084-8004-ed8398295bb5"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[013 - Saldo Devedor]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-43" positionType="Float" x="6" y="360" width="210" height="12" uuid="c662ef15-4e1b-4ff5-8c95-bc912e621497"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[014 - Deduções]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-44" positionType="Float" x="6" y="375" width="210" height="12" uuid="aafe0f2b-2feb-476f-a9f7-4c18596e5e6c"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[015 - Imposto a Recolher]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-45" positionType="Float" x="6" y="390" width="210" height="12" uuid="ee73b4df-bfe9-4ff0-8fe2-507c11aba4e6"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[016 - Saldo Credor]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-46" positionType="Float" x="0" y="405" width="535" height="14" uuid="2c29f123-ae4d-49e0-b638-3adc3b1c3ea2"/>
				<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 size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[INFORMAÇÕES COMPLEMENTARES]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-47" positionType="Float" x="28" y="421" width="114" height="12" uuid="d9282647-a19a-427c-809e-8c2ae437628c"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Guias de Recolhimento(DAE)]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-48" positionType="Float" x="24" y="436" width="34" height="12" uuid="cd0e1bd7-9ce4-4e3d-bae5-da2b8f7d451e"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Numero]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-49" positionType="Float" x="100" y="434" width="22" height="12" uuid="46490cd9-3e96-45b2-94de-c5511ec0e73c"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Data]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-50" positionType="Float" x="162" y="434" width="28" height="12" uuid="16acc838-b806-4865-b1f4-353f2b983c3a"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Valor]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-51" positionType="Float" x="309" y="422" width="103" height="12" uuid="6f90c686-2430-4fe5-9e50-4c86862732d7"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Gui de Informação (DAPI)]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-52" positionType="Float" x="217" y="434" width="83" height="12" uuid="873e3fbe-b604-4bee-b162-d07e53dfc6c7"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Orgão Arrecadador]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-53" positionType="Float" x="309" y="434" width="64" height="12" uuid="d3b05795-5980-4660-b2c3-5e9c85f883b2"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Data da Entrega]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-54" positionType="Float" x="397" y="434" width="83" height="12" uuid="37ed61aa-a793-4cfb-872a-12619d1411c2"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Local Entrega]]></text>
			</staticText>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement key="textField" positionType="Float" x="430" y="51" width="61" height="12" uuid="f6fba726-bf60-47de-9b39-ef0eec8e204f"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{VR_DEBITO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement key="textField" positionType="Float" x="430" y="81" width="61" height="12" uuid="6191fd4d-8164-4209-a8b8-735ba0980558"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{VR_OUTRO_DEBITO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement key="textField" positionType="Float" x="430" y="96" width="61" height="12" uuid="d323f724-bfe8-4855-8ab2-1da1808183ce"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{VR_ESTORNO_CREDITO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement key="textField" positionType="Float" x="431" y="191" width="61" height="12" uuid="2a81b2c8-3f72-4c03-a8fb-fd8b332474cb"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[new Double($F{VR_CREDITO}.doubleValue()+$F{VR_ICMS_ST_DEV}.doubleValue()+
$F{VR_RESSARCIMENTO_ST}.doubleValue())]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement key="textField" positionType="Float" x="431" y="237" width="61" height="12" uuid="750da6a2-9d47-4a6d-82f8-df60988f743e"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{VR_ESTORNO_DEBITO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement key="textField" positionType="Float" x="430" y="361" width="61" height="12" uuid="9611d2a3-354f-48ac-b9df-18c23ed82b65"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{VR_DEDUCOES}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement key="textField" positionType="Float" x="430" y="375" width="61" height="12" uuid="3e89bdf1-efef-42fb-b1ad-969dcd68d5b4">
					<printWhenExpression><![CDATA[new Boolean($F{SALDO_DEVEDOR}.doubleValue()>0d && ($V{TOTAL_CREDITO}.doubleValue()<$V{TOTAL_DEBITO}.doubleValue()))]]></printWhenExpression>
				</reportElement>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{VR_ICMS_RECOLHER}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement key="textField" positionType="Float" x="430" y="113" width="61" height="12" uuid="81fc7b49-9d08-4402-b0b3-170a6336f3a5"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{TOTAL_DEBITO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement key="textField" positionType="Float" x="431" y="253" width="61" height="12" uuid="0bb547a6-b7e9-4732-85e2-2ed578b55668"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{TOTAL_CREDITO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement key="textField" positionType="Float" x="431" y="281" width="61" height="12" uuid="c34a8660-baf8-46cd-9958-d9f60d5c189a"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{TOTAL_CREDITO_2}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-64" positionType="Float" x="7" y="267" width="235" height="12" uuid="55d78073-24f6-4534-901a-a019d1a169ca"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[011 - Saldo Credor Anterior]]></text>
			</staticText>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement key="textField" positionType="Float" x="431" y="267" width="61" height="12" isRemoveLineWhenBlank="true" uuid="c5fa2299-355d-4de5-bc25-201b0617fb90">
					<printWhenExpression><![CDATA[new Boolean($P{TIPO_APURACAO}.intValue() == 0)]]></printWhenExpression>
				</reportElement>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{SALDO_CREDOR_ANTERIOR}]]></textFieldExpression>
			</textField>
			<subreport isUsingCache="true">
				<reportElement key="subreport-2" positionType="Float" x="1" y="233" width="534" height="1" isRemoveLineWhenBlank="true" uuid="a6a5b566-db8b-41a3-99ae-5b333bd4e29a"/>
				<subreportParameter name="UTILIZACAO">
					<subreportParameterExpression><![CDATA[new Short("2")]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="TIPO">
					<subreportParameterExpression><![CDATA[$F{TIPO_APURACAO}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_INICIAL">
					<subreportParameterExpression><![CDATA[$P{DATA_INICIAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_FINAL">
					<subreportParameterExpression><![CDATA[$P{DATA_FINAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="UF">
					<subreportParameterExpression><![CDATA[$P{UF}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="ID_EMPRESA">
					<subreportParameterExpression><![CDATA[$P{ID_EMPRESA}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression><![CDATA[$P{SUB_DIR_OTHERS} + "SUB_OUTR_RESUMO_APURACAO_ICMS.jasper"]]></subreportExpression>
			</subreport>
			<subreport isUsingCache="true">
				<reportElement key="subreport-3" positionType="Float" x="0" y="108" width="534" height="1" isRemoveLineWhenBlank="true" uuid="28161d33-fb86-4a10-a913-29a7d2d5396c"/>
				<subreportParameter name="UTILIZACAO">
					<subreportParameterExpression><![CDATA[new Short("1")]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="TIPO">
					<subreportParameterExpression><![CDATA[$F{TIPO_APURACAO}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_INICIAL">
					<subreportParameterExpression><![CDATA[$P{DATA_INICIAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_FINAL">
					<subreportParameterExpression><![CDATA[$P{DATA_FINAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="UF">
					<subreportParameterExpression><![CDATA[$P{UF}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="ID_EMPRESA">
					<subreportParameterExpression><![CDATA[$P{ID_EMPRESA}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression><![CDATA[$P{SUB_DIR_OTHERS} + "SUB_OUTR_RESUMO_APURACAO_ICMS.jasper"]]></subreportExpression>
			</subreport>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement key="textField-22" positionType="Float" x="431" y="220" width="61" height="12" uuid="7f467a40-2cf7-48e9-a222-8af63b58a240"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{VR_OUTRO_CREDITO}]]></textFieldExpression>
			</textField>
			<subreport isUsingCache="true">
				<reportElement key="subreport-4" x="1" y="94" width="534" height="1" isRemoveLineWhenBlank="true" uuid="93a08f05-e6e9-4d3c-aa0c-1680c27cd4d8"/>
				<subreportParameter name="UTILIZACAO">
					<subreportParameterExpression><![CDATA[new Short("0")]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="TIPO">
					<subreportParameterExpression><![CDATA[$F{TIPO_APURACAO}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_INICIAL">
					<subreportParameterExpression><![CDATA[$P{DATA_INICIAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_FINAL">
					<subreportParameterExpression><![CDATA[$P{DATA_FINAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="UF">
					<subreportParameterExpression><![CDATA[$P{UF}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="ID_EMPRESA">
					<subreportParameterExpression><![CDATA[$P{ID_EMPRESA}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression><![CDATA[$P{SUB_DIR_OTHERS} + "SUB_OUTR_RESUMO_APURACAO_ICMS.jasper"]]></subreportExpression>
			</subreport>
			<subreport isUsingCache="true">
				<reportElement key="subreport-5" positionType="Float" x="0" y="250" width="534" height="1" isRemoveLineWhenBlank="true" uuid="0a043175-ae1e-4a69-9a54-fc74b2e4fa01"/>
				<subreportParameter name="UTILIZACAO">
					<subreportParameterExpression><![CDATA[new Short("3")]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="TIPO">
					<subreportParameterExpression><![CDATA[$F{TIPO_APURACAO}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_INICIAL">
					<subreportParameterExpression><![CDATA[$P{DATA_INICIAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_FINAL">
					<subreportParameterExpression><![CDATA[$P{DATA_FINAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="UF">
					<subreportParameterExpression><![CDATA[$P{UF}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="ID_EMPRESA">
					<subreportParameterExpression><![CDATA[$P{ID_EMPRESA}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression><![CDATA[$P{SUB_DIR_OTHERS} + "SUB_OUTR_RESUMO_APURACAO_ICMS.jasper"]]></subreportExpression>
			</subreport>
			<subreport isUsingCache="true">
				<reportElement key="subreport-7" positionType="Float" x="431" y="267" width="61" height="12" isRemoveLineWhenBlank="true" uuid="c86b8a88-af89-41dd-b952-be1d36662f42">
					<printWhenExpression><![CDATA[new Boolean($P{TIPO_APURACAO}.intValue() == 1)]]></printWhenExpression>
				</reportElement>
				<subreportParameter name="DATA_SALDO_ANT_INICIAL">
					<subreportParameterExpression><![CDATA[$P{DATA_SALDO_ANT_INICIAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="ID_EMPRESA">
					<subreportParameterExpression><![CDATA[$P{ID_EMPRESA}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_SALDO_ANT_FINAL">
					<subreportParameterExpression><![CDATA[$P{DATA_SALDO_ANT_FINAL}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression><![CDATA[$P{SUB_DIR_OTHERS} + "SUB_OUTR_RESUMO_APURACAO_ICMS_SALDO_ANTERIOR.jasper"]]></subreportExpression>
			</subreport>
			<textField pattern="#,##0.00">
				<reportElement positionType="Float" x="430" y="390" width="61" height="12" uuid="e407b212-b445-4b3c-8834-2d31e35fbbc4">
					<printWhenExpression><![CDATA[new Boolean($F{SALDO_CREDOR}.doubleValue()>0d)]]></printWhenExpression>
				</reportElement>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{SALDO_CREDOR}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement positionType="Float" x="430" y="347" width="61" height="12" uuid="1e14a920-61b6-4ca3-9353-8d5b38bf572a">
					<printWhenExpression><![CDATA[new Boolean($F{SALDO_DEVEDOR}.doubleValue()>0d)]]></printWhenExpression>
				</reportElement>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{SALDO_DEVEDOR}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement positionType="Float" x="431" y="205" width="61" height="12" uuid="f8a9fe4f-6b2f-4120-9bb6-3f6bd2b08e0e"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{VR_AJUSTE_CREDITO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement x="430" y="66" width="61" height="12" uuid="318d9be4-edc3-4885-a179-36ebee654610"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{VR_AJUSTE_DEBITO}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-24" x="7" y="66" width="235" height="12" uuid="c6e24ef3-f79c-4665-ab14-2e4bcb182c31"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[002 - Outros Débitos (decorrentes do documento fiscal)]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-32" positionType="Float" x="7" y="205" width="235" height="12" uuid="21d9c975-96aa-44b4-94c0-2af1f87a1d68"/>
				<textElement textAlignment="Left">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[007 - Outros Créditos (decorrentes do documento fiscal)]]></text>
			</staticText>
			<rectangle radius="5">
				<reportElement key="rectangle-6" positionType="Float" x="345" y="313" width="160" height="31" uuid="6fabf2ec-2e0f-4ab7-8c4f-b5ff8de8cd93"/>
				<graphicElement>
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</rectangle>
			<rectangle radius="5">
				<reportElement key="rectangle-7" positionType="Float" x="457" y="326" width="39" height="14" uuid="a9e14d39-ed7a-41b4-81fa-e626d3b5aefb"/>
				<graphicElement>
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</rectangle>
			<rectangle radius="5">
				<reportElement key="rectangle-8" positionType="Float" x="348" y="326" width="94" height="14" uuid="3438f223-9673-4060-868e-d2c39a999118"/>
				<graphicElement>
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</rectangle>
			<staticText>
				<reportElement key="staticText-29" positionType="Float" x="383" y="313" width="91" height="12" uuid="cce8b30a-8c06-4bbc-93f7-4aca6ea21f2a">
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<textElement textAlignment="Center">
					<font size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[VALORES]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-30" positionType="Float" x="348" y="326" width="94" height="14" uuid="b8721d6a-5c57-44df-9b4e-02d7c582386e"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[COLUNA AUXILIAR]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-31" positionType="Float" x="457" y="326" width="39" height="14" uuid="3ba4f331-620a-4ff9-b8b2-a4df646676b0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[SOMAS]]></text>
			</staticText>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="15" splitType="Stretch">
			<textField isBlankWhenNull="true">
				<reportElement key="textField-8" x="505" y="0" width="11" height="15" uuid="c8c72756-79c2-421a-a06c-f29d8bffdb46"/>
				<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 size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" isBlankWhenNull="true">
				<reportElement key="textField-9" x="524" y="0" width="11" height="15" uuid="b47ebcf7-6180-46f2-90c1-b917652b7871"/>
				<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 size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-8" x="516" y="0" width="8" height="15" uuid="ec0ea758-7ef1-4e43-99ab-65669ac4769e"/>
				<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 isBold="true"/>
				</textElement>
				<text><![CDATA[/]]></text>
			</staticText>
		</band>
	</pageFooter>
	<summary>
		<band height="26" splitType="Stretch">
			<subreport isUsingCache="true">
				<reportElement key="subreport-1" positionType="Float" x="0" y="12" width="535" height="5" uuid="51fbfea2-d662-454a-8724-e1860c099dd4"/>
				<subreportParameter name="TIPO_APURACAO">
					<subreportParameterExpression><![CDATA[$F{TIPO_APURACAO}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_INICIAL">
					<subreportParameterExpression><![CDATA[$P{DATA_INICIAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_FINAL">
					<subreportParameterExpression><![CDATA[$P{DATA_FINAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="UF">
					<subreportParameterExpression><![CDATA[$P{UF}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="ID_EMPRESA">
					<subreportParameterExpression><![CDATA[$P{ID_EMPRESA}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression><![CDATA[$P{SUB_DIR_OTHERS} + "SUB_OUTR_APURACAO_ICMS_OBRIGACOES.jasper"]]></subreportExpression>
			</subreport>
			<subreport isUsingCache="true">
				<reportElement key="subreport-6" positionType="Float" x="0" y="3" width="535" height="5" uuid="50cbac30-58a7-4e60-b184-45b7a9984cef"/>
				<subreportParameter name="TIPO_APURACAO">
					<subreportParameterExpression><![CDATA[$F{TIPO_APURACAO}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_INICIAL">
					<subreportParameterExpression><![CDATA[$P{DATA_INICIAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_FINAL">
					<subreportParameterExpression><![CDATA[$P{DATA_FINAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="UF">
					<subreportParameterExpression><![CDATA[$P{UF}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="ID_EMPRESA">
					<subreportParameterExpression><![CDATA[$P{ID_EMPRESA}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression><![CDATA[$P{SUB_DIR_OTHERS} + "SUB_OUTR_APURACAO_ICMS_OBSERVACOES.jasper"]]></subreportExpression>
			</subreport>
			<subreport isUsingCache="true">
				<reportElement key="subreport-1" positionType="Float" x="0" y="21" width="535" height="5" uuid="071474e5-3033-4f96-9b49-e195bd037e7f">
					<printWhenExpression><![CDATA[new Boolean($P{IMPRIMIR_DADOS_SUB_APURACAO_ICMS}.intValue() == 1)]]></printWhenExpression>
				</reportElement>
				<subreportParameter name="TIPO_APURACAO">
					<subreportParameterExpression><![CDATA[$F{TIPO_APURACAO}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_INICIAL">
					<subreportParameterExpression><![CDATA[$P{DATA_INICIAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_FINAL">
					<subreportParameterExpression><![CDATA[$P{DATA_FINAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="UF">
					<subreportParameterExpression><![CDATA[$P{UF}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="ID_EMPRESA">
					<subreportParameterExpression><![CDATA[$P{ID_EMPRESA}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="SUB_DIR_OTHERS">
					<subreportParameterExpression><![CDATA[$P{SUB_DIR_OTHERS}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression><![CDATA[$P{SUB_DIR_OTHERS} + "SUB_OUTR_SUB_APURACAO_ICMS.jasper"]]></subreportExpression>
			</subreport>
		</band>
	</summary>
</jasperReport>
