<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="RelatorioFolioRmd" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="2903c33e-d004-46d3-99c9-7dfec3f64338">
	<property name="ireport.zoom" value="1.3310000000000004"/>
	<property name="ireport.x" value="167"/>
	<property name="ireport.y" value="0"/>
	<field name="foliormd" class="java.lang.String"/>
	<field name="status" class="java.lang.String"/>
	<field name="empresa" class="java.lang.String"/>
	<field name="uf" class="java.lang.String"/>
	<field name="estado" class="java.lang.String"/>
	<field name="tipo" class="java.lang.String"/>
	<field name="fechorfolioDate" class="java.util.Date"/>
	<field name="doc" class="java.lang.String"/>
	<field name="valorContabil" class="java.math.BigDecimal"/>
	<field name="baseCalculo" class="java.math.BigDecimal"/>
	<field name="aliquota" class="java.math.BigDecimal"/>
	<field name="isentos" class="java.math.BigDecimal"/>
	<field name="outros" class="java.math.BigDecimal"/>
	<field name="icms" class="java.math.BigDecimal"/>
	<variable name="valorContabil" class="java.math.BigDecimal" resetType="Group" resetGroup="tipo_gr" calculation="Sum">
		<variableExpression><![CDATA[$F{valorContabil}]]></variableExpression>
	</variable>
	<variable name="baseCalculo" class="java.math.BigDecimal" resetType="Group" resetGroup="tipo_gr" calculation="Sum">
		<variableExpression><![CDATA[$F{baseCalculo}]]></variableExpression>
	</variable>
	<variable name="isentos" class="java.math.BigDecimal" resetType="Group" resetGroup="tipo_gr" calculation="Sum">
		<variableExpression><![CDATA[$F{isentos}]]></variableExpression>
	</variable>
	<variable name="outros" class="java.math.BigDecimal" resetType="Group" resetGroup="tipo_gr" calculation="Sum">
		<variableExpression><![CDATA[$F{outros}]]></variableExpression>
	</variable>
	<variable name="icms" class="java.math.BigDecimal" resetType="Group" resetGroup="tipo_gr" calculation="Sum">
		<variableExpression><![CDATA[$F{icms}]]></variableExpression>
	</variable>
	<group name="tipo_gr">
		<groupExpression><![CDATA[$F{tipo}]]></groupExpression>
		<groupFooter>
			<band height="17">
				<line>
					<reportElement x="0" y="0" width="802" height="1" uuid="d269f449-5afd-4518-998c-8cc3c9b2756c"/>
				</line>
				<textField pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement x="435" y="1" width="86" height="15" uuid="b45829aa-aa5e-4cd3-91aa-e45fef519c2e"/>
					<textElement textAlignment="Right">
						<font size="9"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{valorContabil}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement x="694" y="1" width="46" height="15" uuid="f7856fef-fb83-4e9b-809e-6773bedcbe85"/>
					<textElement textAlignment="Right">
						<font size="9"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{outros}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement x="648" y="1" width="46" height="15" uuid="595cef70-5020-4147-88f3-958048124ede"/>
					<textElement textAlignment="Right">
						<font size="9"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{isentos}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement x="521" y="1" width="87" height="15" uuid="f459d5b3-ddb4-48e8-a9ad-2ee903a78693"/>
					<textElement textAlignment="Right">
						<font size="9"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{baseCalculo}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="0" y="0" width="435" height="15" uuid="0a0926d0-297d-4333-9deb-b865c4f981fd"/>
					<textElement>
						<font isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA["Total: "]]></textFieldExpression>
				</textField>
				<line>
					<reportElement x="0" y="15" width="802" height="1" uuid="b056f86d-4b35-4671-b936-ec7dbefbd7ff"/>
				</line>
				<textField pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement x="740" y="1" width="62" height="15" uuid="2a276df5-68f0-4fab-bbf2-eabb5f18f3e9"/>
					<textElement textAlignment="Right">
						<font size="9"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{icms}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band splitType="Stretch"/>
	</title>
	<pageHeader>
		<band height="22" splitType="Stretch">
			<textField>
				<reportElement x="55" y="0" width="145" height="20" uuid="08211bcb-938a-45dc-bc8d-f7949cba2b40"/>
				<textFieldExpression><![CDATA[$F{empresa}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="253" y="0" width="205" height="20" uuid="11a38e24-adf7-460b-9317-84a2bb20a807"/>
				<textFieldExpression><![CDATA[$F{estado}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="0" width="55" height="20" uuid="42c3227b-dd03-4608-9782-444f00f86c9e"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Empresa: "]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement x="715" y="0" width="87" height="20" uuid="d9ec9e88-51cb-49ee-b6e9-d9c609ad4003"/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="20" width="802" height="1" uuid="11aeccc9-f124-4217-8368-84051bd902cb"/>
			</line>
			<textField>
				<reportElement x="200" y="0" width="53" height="20" uuid="2582c65d-c581-4ac0-8d79-0b281dcb80eb"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Estado: "]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="24" splitType="Stretch">
			<staticText>
				<reportElement x="0" y="1" width="77" height="20" uuid="a5929d31-7b3e-4257-838b-7916384c27a6"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[AIDF]]></text>
			</staticText>
			<staticText>
				<reportElement x="200" y="1" width="104" height="20" uuid="09d68628-bd69-424c-9eb1-f769cc8b4ae9"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Formulário]]></text>
			</staticText>
			<staticText>
				<reportElement x="77" y="1" width="67" height="20" uuid="41a7f367-2a10-4f2b-8910-58a4f8727d42"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Status]]></text>
			</staticText>
			<staticText>
				<reportElement x="304" y="1" width="80" height="20" uuid="114387e1-aeef-4899-bf1c-fa8c9718ba6d"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Data de Movimentação]]></text>
			</staticText>
			<staticText>
				<reportElement x="144" y="1" width="56" height="20" uuid="26a3ec90-6fc3-4c59-abf3-d6af29f30f34"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Tipo]]></text>
			</staticText>
			<staticText>
				<reportElement x="384" y="1" width="51" height="20" uuid="b1aa1ffb-686e-443e-9cbf-dd533a06af13"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[UF]]></text>
			</staticText>
			<line>
				<reportElement x="0" y="22" width="802" height="1" uuid="34e35420-09fa-4350-a88c-920e34c524a7"/>
			</line>
			<staticText>
				<reportElement x="435" y="1" width="86" height="20" uuid="60fa3604-9bbf-40e4-8492-6ba55537846e"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Valor Contábil]]></text>
			</staticText>
			<staticText>
				<reportElement x="521" y="1" width="87" height="20" uuid="d680f6d1-6ba8-48ed-be14-45c3c20960bc"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Base Cálculo]]></text>
			</staticText>
			<staticText>
				<reportElement x="608" y="1" width="40" height="20" uuid="359fa980-1282-4802-868d-b72dc7eb3cf6"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Alíquota]]></text>
			</staticText>
			<staticText>
				<reportElement x="648" y="1" width="46" height="20" uuid="bf5d37cc-12af-464c-9b6a-99ae821ccc93"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Isentos]]></text>
			</staticText>
			<staticText>
				<reportElement x="694" y="1" width="46" height="20" uuid="f9d63538-c3e1-43e1-af46-eaee055aeca6"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Outros]]></text>
			</staticText>
			<staticText>
				<reportElement x="740" y="1" width="62" height="20" uuid="b6ac5c1a-6708-4738-b740-e9cdff0f96f6"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[ICMS]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="16" splitType="Stretch">
			<textField>
				<reportElement x="0" y="0" width="77" height="15" uuid="ca492969-41b6-4fd1-9f1c-77282109fad9"/>
				<textElement>
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{doc}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="200" y="0" width="104" height="15" uuid="90541675-b80e-4c3f-aee9-3091b3e7aba6"/>
				<textElement>
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{foliormd}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="77" y="0" width="67" height="15" uuid="a88bd2ed-cd2f-4550-b0f0-0222bb063a6f"/>
				<textElement>
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{status}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement x="304" y="0" width="80" height="15" uuid="1155c32f-88ba-4f22-980e-aa822e235e97"/>
				<textElement>
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{fechorfolioDate}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="144" y="0" width="56" height="15" uuid="ff342a7e-c811-4e9f-bbf2-af164535e72f"/>
				<textElement>
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{tipo}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="384" y="0" width="51" height="15" uuid="73ff2293-3998-48a6-9d4d-c5a10913bcac"/>
				<textElement>
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{uf}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement x="435" y="0" width="86" height="15" uuid="4c8a51cc-7f65-4706-96af-852ad18db351"/>
				<textElement textAlignment="Right">
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{valorContabil}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement x="521" y="0" width="87" height="15" uuid="d77ef07b-b0bc-4282-91ba-fbb404245ecb"/>
				<textElement textAlignment="Right">
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{baseCalculo}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement x="608" y="0" width="40" height="15" uuid="b8dc7a0c-084d-4011-b146-79603e86dc8a"/>
				<textElement textAlignment="Right">
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{aliquota}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement x="648" y="0" width="46" height="15" uuid="2a4b0c72-9501-403d-84b6-889e8a6e2c9d"/>
				<textElement textAlignment="Right">
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{isentos}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement x="694" y="0" width="46" height="15" uuid="9e9a88b9-0991-44f3-bbb1-0e6bcc2b7e00"/>
				<textElement textAlignment="Right">
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{outros}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement x="740" y="0" width="62" height="15" uuid="627754c7-dfcc-46a6-91be-078cc6aea758"/>
				<textElement textAlignment="Right">
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{icms}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band splitType="Stretch"/>
	</summary>
</jasperReport>
