| 1 |
%% |
| 2 |
%% This is file `factura-ejemplo-notadedebito.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% factura.dtx (with options: `notadedebito') |
| 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 |
%% (notadedebito) Escribimos una nota de débito |
| 43 |
%% (\FechaNota y \NumNota) Especificando la fecha y el número de la factura a corregir |
| 44 |
%% Anulando la nota interna establecida de manera predeterminada por usar la opción de la nota de débito |
| 45 |
%% (\NotaExterna) Con nota externa para el texto referencial de la factura a corregir, en lugar de colocarlo como nota interna |
| 46 |
%% (\NotaFinal) Con nota final |
| 47 |
%% (\Descripcion) Con descripción larga |
| 48 |
%% Haciendo mención en el documento a valores establecidos en el preámbulo |
| 49 |
%%</desc> |
| 50 |
%% |
| 51 |
\documentclass[ |
| 52 |
notadedebito, |
| 53 |
]{factura} |
| 54 |
|
| 55 |
\input{factura-ejemplo-aux.tex}% Se incluye para efectos del ejemplo, así tendremos disponible la macro \Ejemplo. |
| 56 |
\usepackage[utf8]{inputenc} |
| 57 |
|
| 58 |
\Num{2} |
| 59 |
\RazonSocial{Ayala San Vicente Usureros} |
| 60 |
\RIF{Y-12.345.678-9} |
| 61 |
\Contacto{Jacinto de Ayala} |
| 62 |
\Direccion{Av. Ayala, Galpón San Vicente, Sector Arauca, Apure, Venezuela} |
| 63 |
\Telefono{+58 (987) 654.32.10} |
| 64 |
\Email{[email protected]} |
| 65 |
|
| 66 |
\Fecha{02-07-2022} |
| 67 |
\FechaNota{01-07-2022} |
| 68 |
\NumNota{1} |
| 69 |
|
| 70 |
\AtEndPreamble{\NotaInterna{}} |
| 71 |
\NotaExterna{\TextoNotaDeDebito} |
| 72 |
\NotaFinal{Esta es la nota final} |
| 73 |
|
| 74 |
\begin{document} |
| 75 |
|
| 76 |
\begin{factura} |
| 77 |
\Item{1}{Diferencia por error en factura}{1000} |
| 78 |
\end{factura} |
| 79 |
|
| 80 |
\Descripcion{Con esta nota queda saldado el error cometido en la factura número \NumNota{} de fecha \FechaNota.} |
| 81 |
|
| 82 |
%% Este es un comando auxiliar suministrado por factura-ejemplo-aux.tex para escribir el detalle del ejemplo en la última hoja. |
| 83 |
\Ejemplo |
| 84 |
|
| 85 |
\end{document} |
| 86 |
%% |
| 87 |
%% |
| 88 |
%% End of file `factura-ejemplo-notadedebito.tex'. |