1 \documentclass[twoside]{scrartcl}
4 \usepackage[utf8]{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}{19.2cm}
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 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
63 \textbf{I N V O I C E}
65 \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
66 \textbf{Date} & <%invdate%> \\
67 \textbf{Number} & <%invnumber%> \\
68 \textbf{Customer} & <%customer_id%>
73 \begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rlrr@{}}
74 \textbf{Description} & \textbf{Qt'y} &
75 \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
77 <%description%> & <%qty%> &
78 <%unit%> & <%sellprice%> & <%linetotal%> \\
84 \rule{\textwidth}{2pt}
89 \begin{tabularx}{7cm}{Xr@{}}
90 \textbf{Subtotal} & \textbf{<%subtotal%>} \\
92 <%taxdescription%> on <%taxbase%> & <%tax%> \\
95 \textbf{Paid} & - <%paid%> \\
98 \textbf{Balance Owing} & \textbf{<%total%>} \\
105 All prices in \textbf{<%currency%>} funds.
116 \centerline{\textbf{Thank You for your valued business!}}
118 \renewcommand{\thefootnote}{\fnsymbol{footnote}}
120 \footnotetext[1]{\tiny
121 Payment due NET <%terms%> Days from date of Invoice. Interest on overdue
122 amounts will acrue at the rate of 1.5\% per month starting <%duedate%>