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]{rrr@{}}
 
  36     \rule[1.5ex]{\textwidth}{0.5pt}
 
  40 \fontfamily{cmss}\fontshape{n}\selectfont
 
  42 \markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}}
 
  44 \pagestyle{myheadings}
 
  45 %\thispagestyle{empty}     use this with letterhead paper
 
  47 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
 
  51 \parbox[t]{1cm}{\hfill}
 
  67 Tel: <%customerphone%>
 
  80 \textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>}
 
  84 \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
 
  85   \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
 
  86   \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
 
  88   <%invnumber%> & <%invdate%> & <%duedate%> &
 
  89   <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
 
  91 \textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
 
  93 \rule{\textwidth}{1pt}
 
  98 \begin{tabularx}{7cm}{Xr@{}}
 
  99   \textbf{Total outstanding} & <%total%>
 
 104 Please make check payable to <%company%>