%% %% This is file `factura-ejemplo-factura6.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% factura.dtx (with options: `factseis') %% %% Copyright 2016 Emilio Lazo Zaia %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later %% version. This version of this license is in %% http://www.latex-project.org/lppl/lppl-1-3c.{html|txt|tex|pdf} %% and the latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of %% LaTeX version 2008/05/04 or later. %% %% This work has the LPPL maintenance status `maintained'. %% %% The Current Maintainer of this work is Emilio Lazo Zaia. %% %% This work consists of the files README and factura.dtx %% with its derived files factura.ins, factura.cls, factura.def, %% factura-ejemplo-firma.tex, factura-ejemplo-fondo.tex, %% factura-ejemplo-membrete.tex, factura-ejemplo-cotizacion.tex, %% factura-ejemplo-prefactura.tex, factura-ejemplo-factura1.tex %% factura-ejemplo-factura2.tex, factura-ejemplo-factura3.tex, %% factura-ejemplo-factura4.tex, factura-ejemplo-factura5.tex, %% factura-ejemplo-factura6.tex, factura-ejemplo-factura7.tex, %% factura-ejemplo-factura8.tex, factura-ejemplo-reporte1.tex, %% factura-ejemplo-reporte2.tex, factura-ejemplo-reporte3.tex, %% and factura-beispiel-rechnung.tex. %% %% Descripción de este ejemplo: %% Escribimos una factura, %% Escribe la denominación ("FACTURA") y el número (denom), %% Sin líneas verticales externas (sinlineasve), %% Sin líneas horizontales externas (sinlineashe), %% Obligando a especificar todos los IVA así no existan productos gravados con ellos (todosiva), %% Especificando 'G' en los ítems gravados con IVA general (G), %% Escribe un archivo CSV con la información numérica de la factura (csv), %% Redefiniendo el formato de la fecha (redefiniendo \@@Fecha y \@EstiloFecha), %% Especificando el nombre de quien firma la copia de la factura como recibida (\Conforme), %% Con etiquetas y referencias, %% Con descripción larga (\Descripcion). %% \documentclass[ denom, sinlineasve, % sinlineasv, % sin ninguna línea vertical sinlineashe, % sinlineash, % sin ninguna línea horizontal todosiva, G, csv, ]{factura} \usepackage[utf8]{inputenc} \makeatletter \renewcommand{\@@Fecha}{\slshape FECHA DE EMISIÓN:} \renewcommand{\@EstiloFecha}{\@LetraFecha\bfseries\@@Fecha\space{\color{blue}\@Fecha}} \makeatother \Fecha{05-11-2016} \Num{1} \RazonSocial{Ayala San Vicente Usureros} \RIF{Y-12.345.678-9} \Contacto{Jacinto de Ayala} \Direccion{Av. Ayala, Galpón San Vicente, Sector Arauca, Apure, Venezuela} \Telefono{+58 (987) 654.32.10} \Email{jacinto@ayala.sv} \Conforme{Ramela San Vicente} \Condiciones{Las condiciones del documento...} \begin{document} \begin{factura} \Item{2}{ítem con IVA general}{1000}\label{primeritem} \end{factura} \Descripcion{Descripción larga del servicio. Se facturaron \cantref{primeritem} \descref{primeritem} por un valor de \Moneda\puref{primeritem} cada uno, dando un total de \Moneda\ptref{primeritem}. El IVA es de \Moneda\AlicuotaG, y el total final es \Moneda\Total. % También podemos usar \itemref{primeritem}, \dctoref{primeritem}, y en cuanto a las totalizaciones: \BIE, \BIR, \BIA, \AlicuotaR, \AlicuotaA, \SubtG, \SubtE, \SubtR, \SubtA, \DescG, \DescE, \DescR, \DescA para los demás totales. } \end{document} %% %% %% End of file `factura-ejemplo-factura6.tex'.