1 \documentclass[twoside]{scrartcl}
4 \usepackage[latin1]{inputenc}
5 \setlength{\voffset}{0.5cm}
6 \setlength{\hoffset}{-2.0cm}
7 \setlength{\topmargin}{0cm}
8 \setlength{\headheight}{0.5cm}
9 \setlength{\headsep}{1cm}
10 \setlength{\topskip}{0pt}
11 \setlength{\oddsidemargin}{1.0cm}
12 \setlength{\evensidemargin}{1.0cm}
13 \setlength{\textwidth}{18cm}
14 \setlength{\textheight}{24.5cm}
15 \setlength{\footskip}{1cm}
16 \setlength{\parindent}{0pt}
17 \renewcommand{\baselinestretch}{1}
20 \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
24 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
31 \begin{tabular}[b]{rr@{}}
36 \rule[1.5ex]{\textwidth}{0.5pt}
40 \fontfamily{cmss}\fontshape{n}\selectfont
42 \markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
44 \pagestyle{myheadings}
45 %\thispagestyle{empty} use this with letterhead paper
47 <%pagebreak 90 27 48%>
50 \rule{\textwidth}{2pt}
53 \begin{tabularx}{7cm}{Xr@{}}
54 \textbf{Totale riga} & \textbf{<%sumcarriedforward%>} \\
59 \markright{<%company%>\hfill <%invnumber%>}
63 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
64 \textbf{Codice} & \textbf{Descrizione} & \textbf{Quantita'} &
65 \textbf{Unita'} & \textbf{Prezzo} & \textbf{Sc.} & \textbf{Totale righe} \\
66 & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\
70 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
74 \parbox[t]{1cm}{\hfill}
87 <%city%> <%state%> <%zipcode%>
102 Telefono: <%customerphone%>
103 <%end customerphone%>
112 \textbf{Inviare fatttura a:}
119 <%if shiptoaddress2%>
121 <%end shiptoaddress2%>
123 <%shiptocity%> <%shiptostate%> <%shiptozipcode%>
127 <%end shiptocountry%>
134 Attn: <%shiptocontact%>
136 <%end shiptocontact%>
157 \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
158 \textbf{Data fattura} & <%invdate%> \\
159 \textbf{Numero fattura} & <%invnumber%> \\
160 \textbf{Ordine} & <%ordnumber%>
165 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
166 \textbf{Codice} & \textbf{Descrizione} & \textbf{Qt\`a} &
167 \textbf{Un.} & \textbf{Prezzo} & \textbf{Sc.} & \textbf{Tot. riga} \\
169 <%number%> & <%description%> & <%qty%> &
170 <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
176 \rule{\textwidth}{2pt}
181 \begin{tabularx}{7cm}{Xr@{}}
182 \textbf{Totale righe} & \textbf{<%subtotal%>} \\
184 <%taxdescription%>: <%taxrate%>\% & <%tax%>\\
187 \textbf{Pagato} & - <%paid%> \\
190 \textbf{Totale da pagare} & \textbf{<%total%>} \\
196 Tutti i prezzi sono espressi in valuta \textbf{<%currency%>}.
209 \begin{tabularx}{10cm}{@{}lXlr@{}}
210 \textbf{Pagamenti} & & & \\
212 \textbf{Data} & \textbf{Conto} & \textbf{Documento di riferimento} & \textbf{Importo} \\
215 <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\
223 %\centerline{\textbf{Grazie per averci scelto!}}
225 \renewcommand{\thefootnote}{\fnsymbol{footnote}}
227 \footnotetext[1]{\tiny
228 Per i pagamenti successivi alla scadenza della fattura sara'
229 addebitato l'interesse legale, aumentato di due punti percentuali, fino al