<?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="RelatorioOperacionalFinanceiro" pageWidth="950" pageHeight="595" orientation="Landscape" columnWidth="930" leftMargin="10" rightMargin="10" topMargin="20" bottomMargin="20" uuid="3ee05e26-199e-4ad2-a96b-dd421627aceb">
	<property name="ireport.zoom" value="1.239669421487605"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="11"/>
	<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="pageHeader"/>
	<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="columnHeader"/>
	<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/>
	<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/>
	<parameter name="USUARIO_ID" class="java.lang.String"/>
	<parameter name="linhas" class="java.lang.String"/>
	<parameter name="TITULO" class="java.lang.String"/>
	<parameter name="fecInicioVenda" class="java.lang.String"/>
	<parameter name="fecFinalVenda" class="java.lang.String"/>
	<parameter name="nomb_empresa" class="java.lang.String"/>
	<parameter name="tramos" class="java.lang.String"/>
	<parameter name="descMoeda" class="java.lang.String"/>
	<field name="tramoID" class="java.lang.String"/>
	<field name="descTramo" class="java.lang.String"/>
	<field name="descRuta" class="java.lang.String"/>
	<field name="qtde" class="java.lang.Integer"/>
	<field name="tarifa" class="java.math.BigDecimal"/>
	<field name="taxaembarque" class="java.math.BigDecimal"/>
	<field name="pedagio" class="java.math.BigDecimal"/>
	<field name="outros" class="java.math.BigDecimal"/>
	<field name="seguro" class="java.math.BigDecimal"/>
	<field name="tipo" class="java.lang.String"/>
	<field name="ruta" class="java.lang.Integer"/>
	<variable name="totalTrecho" class="java.math.BigDecimal" resetType="Group" resetGroup="groupTrecho" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
($F{tarifa}
.add( $F{taxaembarque} )
.add( $F{pedagio} )
.add( $F{outros} )
.add( $F{seguro} )).multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
($F{tarifa}
.add( $F{taxaembarque} )
.add( $F{pedagio} )
.add( $F{outros} )
.add( $F{seguro} ))]]></variableExpression>
		<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
	</variable>
	<variable name="totalTrechoQte" class="java.lang.Integer" resetType="Group" resetGroup="groupTrecho" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{qtde} * -1
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
0
:
$F{qtde}]]></variableExpression>
	</variable>
	<variable name="totalTrechoTarifa" class="java.math.BigDecimal" resetType="Group" resetGroup="groupTrecho" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{tarifa}.multiply( new java.math.BigDecimal("-1"))
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{tarifa}]]></variableExpression>
	</variable>
	<variable name="totalTrechoTaxaEmbarque" class="java.math.BigDecimal" resetType="Group" resetGroup="groupTrecho" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{taxaembarque}.multiply( new java.math.BigDecimal("-1"))
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{taxaembarque}]]></variableExpression>
	</variable>
	<variable name="totalTrechoPedagio" class="java.math.BigDecimal" resetType="Group" resetGroup="groupTrecho" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{pedagio}.multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{pedagio}]]></variableExpression>
	</variable>
	<variable name="totalTrechoOutros" class="java.math.BigDecimal" resetType="Group" resetGroup="groupTrecho" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{outros}.multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{outros}]]></variableExpression>
	</variable>
	<variable name="totalTrechoSeguro" class="java.math.BigDecimal" resetType="Group" resetGroup="groupTrecho" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{seguro}.multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{seguro}]]></variableExpression>
	</variable>
	<variable name="totalTrechoGeral" class="java.math.BigDecimal" resetType="Group" resetGroup="groupTrecho">
		<variableExpression><![CDATA[$V{totalTrecho}]]></variableExpression>
		<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
	</variable>
	<variable name="totalLinha" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
($F{tarifa}
.add( $F{taxaembarque} )
.add( $F{pedagio} )
.add( $F{outros} )
.add( $F{seguro} )).multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
($F{tarifa}
.add( $F{taxaembarque} )
.add( $F{pedagio} )
.add( $F{outros} )
.add( $F{seguro} ))]]></variableExpression>
		<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
	</variable>
	<variable name="totalLinhaQte" class="java.lang.Integer" resetType="Group" resetGroup="groupLinha" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{qtde}*-1
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
0
:
$F{qtde}]]></variableExpression>
	</variable>
	<variable name="totalLinhaTarifa" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{tarifa}.multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{tarifa}]]></variableExpression>
	</variable>
	<variable name="totalLinhaTaxaEmbarque" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{taxaembarque}.multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{taxaembarque}]]></variableExpression>
	</variable>
	<variable name="totalLinhaPedagio" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{pedagio}.multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{pedagio}]]></variableExpression>
	</variable>
	<variable name="totalLinhaOutros" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{outros}.multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{outros}]]></variableExpression>
	</variable>
	<variable name="totalLinhaSeguro" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{seguro}.multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{seguro}]]></variableExpression>
	</variable>
	<variable name="totalLinhaGeral" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha">
		<variableExpression><![CDATA[$V{totalLinha}]]></variableExpression>
		<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
	</variable>
	<variable name="soma" class="java.math.BigDecimal" resetType="None">
		<variableExpression><![CDATA[$F{tarifa}
.add( $F{taxaembarque} )
.add( $F{pedagio} )
.add( $F{outros} )
.add( $F{seguro} )]]></variableExpression>
	</variable>
	<variable name="total" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
($F{tarifa}
.add( $F{taxaembarque} )
.add( $F{pedagio} )
.add( $F{outros} )
.add( $F{seguro} )).multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
($F{tarifa}
.add( $F{taxaembarque} )
.add( $F{pedagio} )
.add( $F{outros} )
.add( $F{seguro} ))]]></variableExpression>
		<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
	</variable>
	<variable name="totalQte" class="java.lang.Integer" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{qtde}*-1
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
0
:
$F{qtde}]]></variableExpression>
	</variable>
	<variable name="totalTarifa" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{tarifa}.multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{tarifa}]]></variableExpression>
	</variable>
	<variable name="totalTaxaEmbarque" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{taxaembarque}.multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{taxaembarque}]]></variableExpression>
	</variable>
	<variable name="totalPedagio" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{pedagio}.multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{pedagio}]]></variableExpression>
	</variable>
	<variable name="totalOutros" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{outros}.multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{outros}]]></variableExpression>
	</variable>
	<variable name="totalSeguro" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO")
?
$F{seguro}.multiply( new java.math.BigDecimal("-1") )
:
$F{tipo}.equals("IMPRESSAO POSTERIOR")
?
new java.math.BigDecimal("0")
:
$F{seguro}]]></variableExpression>
	</variable>
	<variable name="totalGeral" class="java.math.BigDecimal">
		<variableExpression><![CDATA[$V{total}]]></variableExpression>
		<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
	</variable>
	<group name="groupLinha">
		<groupExpression><![CDATA[$F{descRuta}]]></groupExpression>
		<groupHeader>
			<band height="20">
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="b17c286b-b200-4718-9512-d804bd4d9d69" stretchType="RelativeToTallestObject" x="86" y="0" width="844" height="20"/>
					<box leftPadding="5">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{ruta} + " - " + $F{descRuta}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="6b1adbde-9a51-4c5e-b1c3-570f389db804" stretchType="RelativeToBandHeight" x="0" y="0" width="86" height="20"/>
					<box>
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.linha}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="20">
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="80a039a6-f791-4e3a-be58-5154fc917d04" stretchType="RelativeToTallestObject" x="0" y="0" width="240" height="20"/>
					<box leftPadding="0">
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{header.filtro.total.linha}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="7ac053bb-1883-4292-ad2c-020d22a4d35e" stretchType="RelativeToTallestObject" x="417" y="0" width="126" height="20"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalLinhaPedagio}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="338a967b-af06-4c03-809c-2c0d70a3b95f" stretchType="RelativeToTallestObject" x="841" y="0" width="89" height="20"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalLinhaGeral}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="7322a004-1807-46d6-acd3-fabdf1b54df7" stretchType="RelativeToTallestObject" x="543" y="0" width="126" height="20"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalLinhaSeguro}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="8d889f0e-3a61-4d6f-9786-460c8c334fa3" stretchType="RelativeToTallestObject" x="240" y="0" width="91" height="20"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalLinhaQte}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="40c07af6-4165-4761-ac70-bc145d0f4399" stretchType="RelativeToTallestObject" x="331" y="0" width="86" height="20"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalLinhaTarifa}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="ab046c7d-7177-4973-a564-829ea3d808e3" stretchType="RelativeToTallestObject" x="669" y="0" width="86" height="20"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalLinhaTaxaEmbarque}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="1eacb9ad-448a-4ffe-9ca5-dbd980e47d56" stretchType="RelativeToTallestObject" x="755" y="0" width="86" height="20"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalLinhaOutros}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<group name="groupTrecho">
		<groupExpression><![CDATA[$F{descTramo}]]></groupExpression>
		<groupHeader>
			<band height="20">
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="7d010e8b-f719-412a-9d83-8e4f39bfb42e" stretchType="RelativeToBandHeight" x="0" y="0" width="95" height="20"/>
					<box leftPadding="10">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.trecho}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="8f8ca4a1-bacc-4eed-9013-bf68dacc1818" stretchType="RelativeToTallestObject" x="95" y="0" width="836" height="20"/>
					<box leftPadding="5">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{descTramo}]]></textFieldExpression>
				</textField>
			</band>
			<band height="20">
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="f1fb4c10-0b23-48a3-ab44-ec9423860a3a" stretchType="RelativeToBandHeight" x="331" y="0" width="86" height="20"/>
					<box>
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.tarifa}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="aa6e1262-d10a-466f-9b10-736d01b43c08" stretchType="RelativeToBandHeight" x="0" y="0" width="240" height="20"/>
					<box leftPadding="20">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.tipo}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="9ef59886-6218-4cf5-8926-f7f2e1e95cc6" stretchType="RelativeToBandHeight" x="240" y="0" width="91" height="20"/>
					<box>
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.quantidade}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="86f8576e-d934-4f0d-9b87-4a40bef953ab" stretchType="RelativeToBandHeight" x="755" y="0" width="86" height="20"/>
					<box>
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.outros}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="a1aab05d-496e-4fe5-9c2e-760b7592a7fd" stretchType="RelativeToBandHeight" x="417" y="0" width="126" height="20"/>
					<box>
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.pedagio}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="7778d2ac-5f98-4955-9bbf-e474a1f16dad" stretchType="RelativeToBandHeight" x="543" y="0" width="126" height="20"/>
					<box>
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.seguro}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="3eb6f2e7-2aad-4354-8cff-3938c90800ee" stretchType="RelativeToBandHeight" x="841" y="0" width="89" height="20"/>
					<box>
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.valortotal}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="8aea1354-22f0-45a4-9382-21623ef9a45d" stretchType="RelativeToBandHeight" x="669" y="0" width="86" height="20"/>
					<box>
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.taxaembarque}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="20">
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="56a43e72-3b34-492f-814b-d4d91af9827a" stretchType="RelativeToTallestObject" x="417" y="0" width="126" height="20"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalTrechoPedagio}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="6a3f6820-eef8-4c4a-8fe8-99dffd4c0387" stretchType="RelativeToTallestObject" x="543" y="0" width="126" height="20"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalTrechoSeguro}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="6824eef6-a2aa-4fa8-94b0-51b752ed991b" stretchType="RelativeToTallestObject" x="669" y="0" width="86" height="20"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalTrechoTaxaEmbarque}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="701d1919-2074-4e36-9334-4b9867268fd7" stretchType="RelativeToTallestObject" x="755" y="0" width="86" height="20"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalTrechoOutros}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="16f4cb28-d52a-4906-87fc-119866b0216e" stretchType="RelativeToTallestObject" x="331" y="0" width="86" height="20"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalTrechoTarifa}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="51962a23-3050-4c64-8ef4-5200e9f89b24" stretchType="RelativeToTallestObject" x="240" y="0" width="91" height="20"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalTrechoQte}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="30f159f7-6b91-4978-bb6f-f9bdee08c0b1" stretchType="RelativeToTallestObject" x="841" y="0" width="89" height="20"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalTrechoGeral}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="c1d96c2e-a62c-4ffd-a9db-5a29ca226468" stretchType="RelativeToTallestObject" x="0" y="0" width="240" height="20"/>
					<box leftPadding="10">
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{header.filtro.total.trecho}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<pageHeader>
		<band height="40">
			<textField>
				<reportElement uuid="12b3d65f-d956-477d-8b65-5ea6f0d2b533" x="0" y="0" width="711" height="40"/>
				<textElement markup="styled">
					<font size="24" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy HH:mm">
				<reportElement uuid="52e12d24-5bb1-4fc1-af61-f420e798c66a" x="824" y="0" width="105" height="20"/>
				<textElement textAlignment="Left"/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="cfa42b69-85c9-4d48-9b1b-d8f2582879b0" x="883" y="20" width="24" height="20"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}+" de"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="c5f15e11-33dc-41c8-be0f-7f055efada1d" x="711" y="0" width="113" height="40"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="761f8d56-3236-45ff-a746-81ec2dc02d36" x="824" y="20" width="60" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement uuid="1180fadc-8df9-49ca-a2b4-4b4740dd9edd" x="907" y="20" width="22" height="20"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="80">
			<printWhenExpression><![CDATA[$V{PAGE_NUMBER} < 2]]></printWhenExpression>
			<textField>
				<reportElement uuid="033d8246-bdcb-4f51-99fb-9a7e1e040846" x="0" y="40" width="130" height="20" isRemoveLineWhenBlank="true"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{header.filtro.linha}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="bc4fb484-e5b9-4e00-a875-fa1a34fb1b5a" x="130" y="0" width="287" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[( $P{fecInicioVenda} != null ? ($P{fecInicioVenda} + " à " + $P{fecFinalVenda}) : "" )]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="0a122127-8dc3-48ee-8d8d-1996a5d48095" x="130" y="20" width="799" height="20" isRemoveLineWhenBlank="true"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{nomb_empresa}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="30cc417c-ec71-4991-9038-c22af291bcfa" x="130" y="40" width="799" height="20" isRemoveLineWhenBlank="true"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{linhas}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="e112c89a-df7d-48ce-b4f8-924b4d6a7b75" x="130" y="60" width="799" height="20" isRemoveLineWhenBlank="true"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{tramos}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="9cd4764a-478f-4eb1-9659-23f4e59706d6" x="0" y="0" width="130" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{header.periodo.corte}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="5b59df28-472e-4312-b332-5970a3abfca4" x="0" y="20" width="130" height="20" isRemoveLineWhenBlank="true"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="b08a215e-6d67-4a14-a4b1-4445c5e4d21f" x="0" y="60" width="130" height="20" isRemoveLineWhenBlank="true"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{header.trecho}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="5e1c0c95-5e71-4694-affb-a7dedd9583f5" x="417" y="0" width="126" height="20"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$R{header.moeda}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="b993e75c-8390-4a88-a94f-ff7547f79c68" x="543" y="0" width="387" height="20"/>
				<box leftPadding="2"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{descMoeda}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="20" splitType="Prevent">
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="e91ddf3d-5ee2-42d3-b8d4-01c92a2f462a" stretchType="RelativeToTallestObject" x="417" y="0" width="126" height="20"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{pedagio}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="d9ec1d06-efc7-4a65-96a2-e88e89f4ca91" stretchType="RelativeToTallestObject" x="543" y="0" width="126" height="20"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{seguro}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="aeca5093-6645-4f7d-814f-48abec2773bc" stretchType="RelativeToTallestObject" x="0" y="0" width="240" height="20"/>
				<box leftPadding="20">
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{tipo}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement uuid="6a5746f1-e112-4ea2-ac52-f3c4bf6f7c96" stretchType="RelativeToTallestObject" x="240" y="0" width="91" height="20"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{qtde}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="1ae38af7-3815-4fc0-ba8c-a87f6a26914a" stretchType="RelativeToTallestObject" x="331" y="0" width="86" height="20"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{tarifa}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="bde0e80b-872a-4b26-b882-83efc01c25b7" stretchType="RelativeToTallestObject" x="755" y="0" width="86" height="20"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{outros}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="7e10a3dc-7e63-49cf-ab5a-87bd2e7aa213" stretchType="RelativeToTallestObject" x="669" y="0" width="86" height="20"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{taxaembarque}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="e4dc6a7f-049d-45e1-9c6d-231303fb288c" stretchType="RelativeToTallestObject" x="841" y="0" width="89" height="20"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{soma}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<summary>
		<band height="20">
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="5476b82a-2529-4b0f-baca-6f68e9a5f3bc" stretchType="RelativeToTallestObject" x="417" y="0" width="126" height="20"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalPedagio}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="6430a76b-5907-4783-9efc-08f108b1a19b" stretchType="RelativeToTallestObject" x="0" y="0" width="240" height="20"/>
				<box leftPadding="0">
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.filtro.total}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="45b3533b-d863-423d-b6a0-682d2336d6ca" stretchType="RelativeToTallestObject" x="841" y="0" width="89" height="20"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalGeral}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="40caa383-bae0-43f5-9a2a-b93264740668" stretchType="RelativeToTallestObject" x="240" y="0" width="91" height="20"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalQte}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="892dea7f-0a9d-40ab-8f69-7e950fefd73b" stretchType="RelativeToTallestObject" x="669" y="0" width="86" height="20"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalTaxaEmbarque}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="8dbbd30a-18f8-4c7d-bf8a-e526b28971fa" stretchType="RelativeToTallestObject" x="331" y="0" width="86" height="20"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalTarifa}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="e423dc37-408c-4d74-bcb2-cd0e199b37aa" stretchType="RelativeToTallestObject" x="755" y="0" width="86" height="20"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalOutros}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="df545e3c-3cd3-40e2-a440-c3ae45c27a5d" stretchType="RelativeToTallestObject" x="543" y="0" width="126" height="20"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalSeguro}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="22">
			<textField>
				<reportElement uuid="254c9278-71b2-4ffa-926c-5b0055e02cda" x="1" y="0" width="930" height="22"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
