Debian Codegraph @

texmf-dist/doc/latex/factura/factura-ejemplo-factura05.tex

raw
1 %%
2 %% This is file `factura-ejemplo-factura05.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% factura.dtx (with options: `factcinco')
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 %% Escribimos factura y reporte, pero sólo producimos la factura
44 %% (sincantidad) Cuadro de la factura sin la columna de cantidades
45 %% (iva) Con la columna para el IVA
46 %% (filas) Totalización en modo de filas
47 %% (conlineasha) Separado cada ítem con una línea horizontal
48 %% (sinexpandir) Sin expandir el cuadro de la factura ni la descripción
49 %% (todosiva) Forzando a totalizar todos los IVA así no existan productos gravados con ellos
50 %% Sin especificar el teléfono del cliente
51 %% (\Emisor) Especificando el nombre del emisor de la factura
52 %% (\Conforme) Especificando el nombre de quien firma la copia de la factura como recibida
53 %% (\FormatoFecha) Suministrando la fecha según el formato yyyymmdd pero que salga escrita dd.mm.yyyy
54 %% (\Resumen) Con resumen
55 %% (\NotaFinal) Con nota final
56 %% (\ItemX) Agregando un ítem sin precio
57 %% (\Descripcion) Con descripción larga
58 %%</desc>
59 %%
60 \documentclass[
61 sincantidad,
62 iva,
63 filas,
64 conlineasha,
65 sinexpandir,
66 todosiva,
67 ]{factura}
68
69 \input{factura-ejemplo-aux.tex}% Se incluye para efectos del ejemplo, así tendremos disponible la macro \Ejemplo.
70 \usepackage[utf8]{inputenc}
71
72 \Num{1}
73 \RazonSocial{Ayala San Vicente Usureros}
74 \RIF{Y-12.345.678-9}
75 \Contacto{Jacinto de Ayala}
76 \Direccion{Av. Ayala, Galpón San Vicente, Sector Arauca, Apure, Venezuela}
77 \Email{[email protected]}
78 \Emisor{Lázaro de la Vega}
79 \Conforme{\Contacto}
80
81 \FormatoFecha[yyyymmdd]{ddmmyyyy}{.}
82 \Fecha{20220702}
83
84 \Resumen{Este es el resumen}
85 \NotaFinal{Esta es la nota final}
86
87 \begin{document}
88
89 \begin{factura}
90 \Item{ítem sin cantidad, con IVA general}{1000}
91 \ItemA{ítem sin cantidad, con IVA adicional}{1000}
92 \ItemX{línea sin precio}
93 \end{factura}
94
95 \Descripcion{Esta es la descripción larga}
96
97 \begin{reporte}
98 El reporte - página 1\newpage El reporte - página 2 \newpage El reporte - página 3.
99 \end{reporte}
100
101 %% Este es un comando auxiliar suministrado por factura-ejemplo-aux.tex para escribir el detalle del ejemplo en la última hoja.
102 \Ejemplo
103
104 \end{document}
105 %%
106 %%
107 %% End of file `factura-ejemplo-factura05.tex'.