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
30 \parbox[b]{.42\textwidth}{%
35 \parbox[b]{.2\textwidth}{
36 \includegraphics[scale=0.3]{sql-ledger}
38 \begin{tabular}[b]{rr@{}}
43 \rule[1.5em]{\textwidth}{0.5pt}
46 \centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
50 \parbox[t]{.5\textwidth}{
57 <%city%> <%state%> <%zipcode%>
70 Tel: <%customerphone%>
80 \begin{tabular}[t]{ll}
81 \textbf{Invoice \#} & <%invnumber%> \\
82 \textbf{Date} & <%invdate%> \\
83 \textbf{Due} & <%duedate%> \\
84 \textbf{Order \#} & <%ordnumber%> \\
85 \textbf{Employee} & <%employee%> \\
90 \begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
92 <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
95 \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
97 \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
100 \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
107 <%text_amount%> ***** <%decimal%>/100 <%currency%>
112 \begin{tabular}{@{}llllr@{}}
113 \multicolumn{5}{c}{\textbf{Payments}} \\
115 \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
118 <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\