1 \documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
4 \usepackage[latin1]{inputenc}
6 \setlength{\voffset}{0.5cm}
7 \setlength{\hoffset}{-1.9cm}
8 \setlength{\topmargin}{0cm}
9 \setlength{\headheight}{0.5cm}
10 \setlength{\headsep}{1cm}
11 \setlength{\topskip}{0pt}
12 \setlength{\oddsidemargin}{1.0cm}
13 \setlength{\evensidemargin}{1.0cm}
14 \setlength{\textwidth}{19.2cm}
15 \setlength{\textheight}{24.7cm}
16 \setlength{\footskip}{1cm}
17 \setlength{\parindent}{0pt}
18 \renewcommand{\baselinestretch}{1}
22 \pagestyle{myheadings}
25 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
31 \rule[1.5em]{\textwidth}{0.5pt}
32 Payment due NET <%terms%> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from <%duedate%> until paid in full. Items returned are subject to a 10\% restocking charge.
33 A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured.
34 <%company%> will not be responsible for damages during transit.
41 \parbox[b]{.42\textwidth}{%
46 \parbox[b]{.2\textwidth}{
47 \includegraphics[scale=0.3]{sql-ledger}
49 \begin{tabular}[b]{rr@{}}
54 \rule[1.5em]{\textwidth}{0.5pt}
58 <%pagebreak 90 27 37%>
61 \rule{\textwidth}{2pt}
64 \begin{tabularx}{7cm}{Xr@{}}
65 \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
70 \markboth{<%company%>\hfill <%invnumber%>}{<%company%>\hfill <%invnumber%>}
74 \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}}
75 \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} &
76 \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em]
77 & carried forward from page <%lastpage%> & & & & & & <%sumcarriedforward%> \\ [0.5em]
83 \parbox[t]{1cm}{\hfill}
84 \parbox[t]{.6\textwidth}{
94 <%city%> <%state%> <%zipcode%>
106 Tel: <%customerphone%>
107 <%end customerphone%>
115 \parbox[t]{.4\textwidth}{
125 <%shiptocity%> <%shiptostate%> <%shiptozipcode%>
134 <%end shiptocontact%>
150 \textbf{I N V O I C E}
155 \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
156 \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & \textbf{Order \#}
157 & \textbf{Salesperson} & \textbf{Shipping Point} &
158 \textbf{Ship via} \\ [0.5em]
160 <%invnumber%> & <%invdate%> & <%duedate%> & <%ordnumber%> & <%employee%>
161 & <%shippingpoint%> & <%shipvia%> \\
167 \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}}
168 \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} &
169 \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em]
171 <%runningnumber%> & <%number%> & <%description%> & <%deliverydate%> &
172 <%qty%> & <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\
178 \rule{\textwidth}{2pt}
183 \begin{tabularx}{7cm}{Xr@{}}
184 Subtotal & <%subtotal%> \\
186 <%taxdescription%> on <%taxbase%> & <%tax%> \\
193 Balance Due & <%total%>
199 <%text_amount%> ***** <%decimal%>/100
201 All prices in \textbf{<%currency%>}.
214 \begin{tabularx}{10cm}{@{}lXlr@{}}
215 \textbf{Payments} & & & \\
217 \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\
220 <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\
228 \centerline{\textbf{Thank You for your valued business!}}
230 \rule{\textwidth}{0.5pt}