<?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="Factura" pageWidth="235" pageHeight="400" whenNoDataType="BlankPage" columnWidth="202" leftMargin="15" rightMargin="18" topMargin="10" bottomMargin="20" isFloatColumnFooter="true" isIgnorePagination="true" uuid="75b63c28-3726-4e1d-894d-7c17cf086cff">
	<property name="ireport.zoom" value="2.200000000000002"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="192"/>
	<style name="Title" forecolor="#FFFFFF" fontName="Arial" fontSize="26" isBold="true" pdfFontName="Helvetica-Bold"/>
	<style name="SubTitle" forecolor="#666666" fontName="Arial" fontSize="18"/>
	<style name="Column header" forecolor="#666666" fontName="Arial" fontSize="12" isBold="true"/>
	<style name="Detail" fontName="Arial" fontSize="12"/>
	<parameter name="CLIENTE" class="java.lang.String"/>
	<parameter name="NIT" class="java.lang.String"/>
	<parameter name="DIRECCION" class="java.lang.String"/>
	<parameter name="TELEFONO" class="java.lang.String"/>
	<parameter name="DOCUMENTO" class="java.lang.String"/>
	<parameter name="NUMERO" class="java.lang.Long"/>
	<parameter name="FECHA" class="java.lang.String"/>
	<parameter name="TOTAL" class="java.lang.Double"/>
	<parameter name="TOTAL_EN_LETRAS" class="java.lang.String"/>
	<parameter name="USUARIO" class="java.lang.String"/>
	<parameter name="OBSERVACIONES" class="java.lang.String"/>
	<parameter name="USUARIO_OPERACION" class="java.lang.String"/>
	<parameter name="CODIGO" class="java.lang.String"/>
	<parameter name="FORMAPAGO" class="java.lang.String"/>
	<parameter name="FECHAVEN" class="java.util.Date"/>
	<parameter name="VENDEDOR" class="java.lang.String"/>
	<parameter name="RESOLUCION" class="java.lang.String"/>
	<parameter name="FECHA_RES" class="java.lang.String"/>
	<parameter name="RANGO" class="java.lang.String"/>
	<parameter name="REIMPRESION" class="java.lang.String"/>
	<parameter name="HORA" class="java.lang.String"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="codigo" class="java.lang.String"/>
	<field name="descripcion" class="java.lang.String"/>
	<field name="cantidad" class="java.lang.Double"/>
	<field name="precio" class="java.lang.Double"/>
	<field name="descuento" class="java.lang.Double"/>
	<field name="monto" class="java.lang.Double"/>
	<field name="observaciones" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band splitType="Stretch"/>
	</title>
	<pageHeader>
		<band height="225" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="41" y="165" width="159" height="12" uuid="7635a211-4810-4683-a3bd-091c763cd31f"/>
				<box leftPadding="2" rightPadding="2"/>
				<textElement>
					<font fontName="Courier New" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{CLIENTE}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="28" y="177" width="171" height="12" uuid="3156ca61-9f63-43bd-aeee-3709915741ec"/>
				<box leftPadding="2" rightPadding="2"/>
				<textElement>
					<font fontName="Courier New" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{NIT}]]></textFieldExpression>
			</textField>
			<textField pattern="dd-MMM-yyyy" isBlankWhenNull="true">
				<reportElement x="40" y="153" width="76" height="12" uuid="82674259-1308-44bc-924a-c8a9e8be009a"/>
				<box leftPadding="2" rightPadding="2"/>
				<textElement>
					<font fontName="Courier New" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{FECHA}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="0" width="200" height="12" uuid="6a9ed51b-9490-46d4-918d-e67cd1bc2ca6"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<text><![CDATA[NOMBRE COMERCIAL]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="12" width="200" height="12" uuid="3da81c4a-a53e-4d8f-9618-ecbb1728cecf"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<text><![CDATA[RAZON SOCIAL]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="34" width="200" height="12" uuid="62cbc0b8-42b2-4d17-b7c2-e7d8513e36b2"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<text><![CDATA[ NIT: 12345-6]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="57" y="189" width="142" height="12" uuid="05323f1a-abc3-487c-bd8c-22292a6c2c27"/>
				<box leftPadding="2" rightPadding="2"/>
				<textElement>
					<font fontName="Courier New" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{DIRECCION}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="11" y="130" width="178" height="12" uuid="9aeb654a-7574-4548-9956-3c84bdd973a2"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Courier New" size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{DOCUMENTO} + " No. " + $P{NUMERO}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="153" width="40" height="12" uuid="a9209be7-7e59-4465-9f7d-e6d1107f8e44"/>
				<textElement>
					<font fontName="Courier New" size="9"/>
				</textElement>
				<text><![CDATA[FECHA:]]></text>
			</staticText>
			<staticText>
				<reportElement stretchType="RelativeToTallestObject" x="0" y="165" width="41" height="12" uuid="221f90f6-32a9-4c79-afe9-dec14141f9b6"/>
				<textElement>
					<font fontName="Courier New" size="9"/>
				</textElement>
				<text><![CDATA[NOMBRE:]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="177" width="28" height="12" uuid="924ee6e7-eeaa-42f8-b432-a8761b87239d"/>
				<textElement>
					<font fontName="Courier New" size="9"/>
				</textElement>
				<text><![CDATA[NIT:]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="189" width="57" height="12" uuid="68db7e00-2892-4b9e-9687-ed04221702cb"/>
				<textElement>
					<font fontName="Courier New" size="9"/>
				</textElement>
				<text><![CDATA[DIRECCION:]]></text>
			</staticText>
			<staticText>
				<reportElement x="1" y="213" width="30" height="12" uuid="516cc09a-aa3f-431d-9cd1-77865bd6750f"/>
				<textElement textAlignment="Right">
					<font fontName="Courier New" size="9" isBold="false"/>
				</textElement>
				<text><![CDATA[CANT.]]></text>
			</staticText>
			<staticText>
				<reportElement x="31" y="213" width="75" height="12" uuid="ba75b08c-2f98-43fe-9b47-0edd08b8d15f"/>
				<textElement textAlignment="Center">
					<font fontName="Courier New" size="9" isBold="false"/>
				</textElement>
				<text><![CDATA[DESCRIPCION]]></text>
			</staticText>
			<staticText>
				<reportElement x="106" y="213" width="35" height="12" uuid="d304f4c7-f039-4d10-919a-620fa8b588a1"/>
				<textElement textAlignment="Justified">
					<font fontName="Courier New" size="9" isBold="false"/>
				</textElement>
				<text><![CDATA[PRECIO U.]]></text>
			</staticText>
			<staticText>
				<reportElement x="141" y="213" width="48" height="12" uuid="b5e1d12d-09fd-4107-93f0-69a1368c05bf"/>
				<textElement textAlignment="Center">
					<font fontName="Courier New" size="9" isBold="false"/>
				</textElement>
				<text><![CDATA[IMPORTE]]></text>
			</staticText>
			<line>
				<reportElement x="0" y="63" width="199" height="1" uuid="8d96e0f6-ab81-42d1-a05b-6998e4b452dc"/>
				<graphicElement>
					<pen lineWidth="0.5" lineStyle="Dashed"/>
				</graphicElement>
			</line>
			<line>
				<reportElement x="0" y="101" width="199" height="1" uuid="8cf75baa-e8f9-434c-8467-14954b8d76bf"/>
				<graphicElement>
					<pen lineWidth="0.5" lineStyle="Dashed"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement x="0" y="22" width="200" height="12" uuid="81e51a03-5374-4ca5-bf21-72742b811c0f"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<text><![CDATA[DIRECCION]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="46" width="200" height="12" uuid="cbbdb187-e7de-4643-b418-a80b00de2665"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<text><![CDATA[TELEFONO]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="76" width="73" height="12" uuid="75694127-7886-4e41-9593-155384d02606"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<text><![CDATA[DE FECHA ]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="85" y="64" width="114" height="12" uuid="bb255752-a7dc-4ca0-b281-5440a2557da7"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{RESOLUCION}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="64" width="85" height="12" uuid="4868cb2c-62a1-473b-ac73-940850acead4"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<text><![CDATA[RESOLUCION NO.]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="73" y="76" width="126" height="13" uuid="f31cc1a9-52cf-47ba-8228-ab700466e030"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{FECHA_RES}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="0" y="88" width="90" height="12" uuid="28aeb6cf-f4f5-4212-a0c6-07026f42a5de"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{DOCUMENTO}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="90" y="88" width="109" height="12" uuid="e24721f2-7e54-408d-85f6-9d931b0e7c57"/>
				<box leftPadding="3" rightPadding="2"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{RANGO}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="58" y="105" width="117" height="17" isRemoveLineWhenBlank="true" uuid="86ed2605-356e-443b-99e8-ae5c4b7798d9"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{REIMPRESION}]]></textFieldExpression>
			</textField>
			<textField pattern="h.mm a">
				<reportElement x="146" y="153" width="50" height="12" uuid="394f44d7-4418-4b2e-a8bf-5884cd190420"/>
				<textElement>
					<font fontName="Courier New" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{HORA}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="116" y="153" width="30" height="12" uuid="074e7425-6eef-4086-8b7e-4ce5f2f6ae56"/>
				<textElement>
					<font fontName="Courier New" size="9"/>
				</textElement>
				<text><![CDATA[HORA:]]></text>
			</staticText>
		</band>
	</pageHeader>
	<detail>
		<band height="13" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="13" y="1" width="105" height="12" uuid="c7ebd712-4cbf-458d-8d6a-5a62e212bc78"/>
				<box leftPadding="2" rightPadding="2"/>
				<textElement>
					<font fontName="Courier New" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{descripcion}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="118" y="0" width="27" height="12" uuid="040f9a8e-563c-493c-bdce-b987a841978d"/>
				<box leftPadding="2" rightPadding="2"/>
				<textElement>
					<font fontName="Courier New" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{precio}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="156" y="1" width="29" height="12" uuid="bcb0dffd-85c9-4c47-9d4c-e9f1d7f88444"/>
				<box leftPadding="2" rightPadding="2"/>
				<textElement textAlignment="Right">
					<font fontName="Courier New" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{monto}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="###0">
				<reportElement stretchType="RelativeToTallestObject" x="0" y="1" width="13" height="12" uuid="bdb8f01b-af1a-46f8-9770-4a48fd65d10f"/>
				<box leftPadding="2" rightPadding="2"/>
				<textElement textAlignment="Right">
					<font fontName="Courier New" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{cantidad}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="0" width="199" height="1" uuid="64bb7713-8d7e-430c-932f-a6c25a3028e2"/>
				<graphicElement>
					<pen lineWidth="0.5" lineStyle="Dashed"/>
				</graphicElement>
			</line>
		</band>
	</detail>
	<pageFooter>
		<band height="63">
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement x="168" y="3" width="25" height="12" uuid="ec555f76-2f13-46c0-955d-bd3e7165b1ea"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{TOTAL}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="1" y="15" width="137" height="12" uuid="77629ceb-4266-4249-80e6-50d639a49b60"/>
				<box leftPadding="2" rightPadding="2"/>
				<textElement>
					<font fontName="Courier New" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{TOTAL_EN_LETRAS}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="2" width="199" height="1" uuid="56b5853c-3a92-431c-877b-8b57b7675554"/>
				<graphicElement>
					<pen lineWidth="0.5" lineStyle="Solid"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement x="138" y="3" width="30" height="12" uuid="7b7ef3c2-f5ff-4458-8220-6f4e0c075dcb"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<text><![CDATA[TOTAL]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="43" width="199" height="12" uuid="faf020a0-3b8b-488c-b555-b4d5cee451e6"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Courier New" size="9"/>
				</textElement>
				<text><![CDATA[¡GRACIAS POR VISITARNOS!]]></text>
			</staticText>
		</band>
	</pageFooter>
</jasperReport>
