| 1 |
%% |
| 2 |
%% This is file `factura-ejemplo-factura02.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% factura.dtx (with options: `factdos') |
| 8 |
%% |
| 9 |
%% Copyright 2022 Emilio Augusto Lazo Zaia <[email protected]> |
| 10 |
%% |
| 11 |
%% This work may be distributed and/or modified under the |
| 12 |
%% conditions of the LaTeX Project Public License, either |
| 13 |
%% version 1.3c of this license or (at your option) any later |
| 14 |
%% version. This version of this license is in |
| 15 |
%% http://www.latex-project.org/lppl/lppl-1-3c.{html|txt|tex|pdf} |
| 16 |
%% and the latest version of this license is in |
| 17 |
%% http://www.latex-project.org/lppl.txt |
| 18 |
%% and version 1.3c or later is part of all distributions of |
| 19 |
%% LaTeX version 2008/05/04 or later. |
| 20 |
%% |
| 21 |
%% This work has the LPPL maintenance status `maintained'. |
| 22 |
%% |
| 23 |
%% The Current Maintainer of this work is Emilio Augusto Lazo Zaia. |
| 24 |
%% |
| 25 |
%% This work consists of the files README and factura.dtx |
| 26 |
%% with its derived files factura.ins, factura.cls, factura.def, |
| 27 |
%% factura-ejemplo-aux.tex, factura-ejemplo-firma.tex, |
| 28 |
%% factura-ejemplo-fondo.tex, factura-ejemplo-membrete.tex, |
| 29 |
%% factura-ejemplo-notadecredito.tex, factura-ejemplo-notadedebito.tex, |
| 30 |
%% factura-ejemplo-cotizacion.tex, factura-ejemplo-prefactura.tex, |
| 31 |
%% factura-ejemplo-factura01.tex, factura-ejemplo-factura02.tex, |
| 32 |
%% factura-ejemplo-factura03.tex, factura-ejemplo-factura04.tex, |
| 33 |
%% factura-ejemplo-factura05.tex, factura-ejemplo-factura06.tex, |
| 34 |
%% factura-ejemplo-factura07.tex, factura-ejemplo-factura08.tex, |
| 35 |
%% factura-ejemplo-factura09.tex, factura-ejemplo-factura10.tex, |
| 36 |
%% factura-ejemplo-reporte1.tex, factura-ejemplo-reporte2.tex, |
| 37 |
%% factura-ejemplo-reporte3.tex, factura-ejemplo-reporte4.tex |
| 38 |
%% and factura-beispiel-rechnung.tex. |
| 39 |
%% |
| 40 |
%% Descripción de este ejemplo: |
| 41 |
%%<desc> |
| 42 |
%% Escribimos una factura |
| 43 |
%% (numitem) Con la columna para enumerar los ítems |
| 44 |
%% (descuentos) Con la columna para descuentos individuales |
| 45 |
%% (dcu) Primero la descripción, luego la cantidad, luego el precio unitario |
| 46 |
%% (sinlineasve) Sin líneas verticales externas |
| 47 |
%% (sinlineahtot) Sin línea horizontal interna después de los ítems y antes de los totales |
| 48 |
%% (descripcioncentrada) Centra la descripción en los elementos en la factura |
| 49 |
%% (unafirma) Sólo la firma del emisor |
| 50 |
%% Usando \Nombre y \CI en lugar de \RazonSocial y \RIF |
| 51 |
%% Sin especificar la persona de contacto |
| 52 |
%% (\SepVertical) Alterando la separación mínima vertical entre los elementos |
| 53 |
%% (\SepDatosResumen) Alterando la separación horizontal entre los datos del cliente y el resumen |
| 54 |
%% (\SepEncabezado) Alterando el margen interno desde el contorno hasta el texto en el encabezado |
| 55 |
%% (\SepDescripcion) Alterando la distancia desde el contorno hasta el texto en la descripción |
| 56 |
%% (\SepItemsExtra) Agregando una separación extra entre los ítems en la factura |
| 57 |
%% (\Resumen) Con resumen |
| 58 |
%% (\NotaFinal) Con nota final |
| 59 |
%% Con artículos gravados con todos los IVA |
| 60 |
%% (\ItemX) Agregando un ítem sin precio |
| 61 |
%% (\Descripcion) Con descripción larga |
| 62 |
%%</desc> |
| 63 |
%% |
| 64 |
\documentclass[ |
| 65 |
numitem, |
| 66 |
descuentos, |
| 67 |
dcu, |
| 68 |
sinlineasve, |
| 69 |
sinlineahtot, |
| 70 |
descripcioncentrada, |
| 71 |
unafirma, |
| 72 |
]{factura} |
| 73 |
|
| 74 |
\input{factura-ejemplo-aux.tex}% Se incluye para efectos del ejemplo, así tendremos disponible la macro \Ejemplo. |
| 75 |
\usepackage[utf8]{inputenc} |
| 76 |
|
| 77 |
\Num{1} |
| 78 |
\Nombre{Jacinto de Ayala y San Vicente} |
| 79 |
\CI{V-987.654.321} |
| 80 |
\Direccion{Av. Ayala, Galpón San Vicente, Sector Arauca, Apure, Venezuela} |
| 81 |
\Telefono{+58 (987) 654.32.10} |
| 82 |
\Email{[email protected]} |
| 83 |
|
| 84 |
\Fecha{02-07-2022} |
| 85 |
|
| 86 |
\SepVertical{0.75cm} |
| 87 |
\SepDatosResumen{1cm} |
| 88 |
\SepEncabezado{16pt} |
| 89 |
\SepItemsExtra{5pt} |
| 90 |
\SepDescripcion{16pt} |
| 91 |
|
| 92 |
\Resumen{Este es el resumen} |
| 93 |
\NotaFinal{Esta es la nota final} |
| 94 |
|
| 95 |
\begin{document} |
| 96 |
|
| 97 |
\begin{factura} |
| 98 |
\Item{1}{ítem con IVA general, viene con descuento}{1000}{12} |
| 99 |
\ItemR{1}{ítem con IVA reducido, viene con descuento}{1000}{5} |
| 100 |
\ItemA{1}{ítem con IVA adicional, viene con descuento}{1000}{10} |
| 101 |
\ItemE{1}{ítem exento de impuesto}{1000} |
| 102 |
\ItemX{1}{línea sin precio} |
| 103 |
\end{factura} |
| 104 |
|
| 105 |
\Descripcion{Esta es la descripción larga} |
| 106 |
|
| 107 |
%% Este es un comando auxiliar suministrado por factura-ejemplo-aux.tex para escribir el detalle del ejemplo en la última hoja. |
| 108 |
\Ejemplo |
| 109 |
|
| 110 |
\end{document} |
| 111 |
%% |
| 112 |
%% |
| 113 |
%% End of file `factura-ejemplo-factura02.tex'. |