<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass{scrartcl}
\usepackage[latin1]{inputenc}
\usepackage{tabularx}
\usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
\usepackage{graphicx}

\begin{document}

\pagestyle{myheadings}
\thispagestyle{empty}

\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont

&lt;?lsmb include letterhead.tex ?&gt;

\parbox[t]{.5\textwidth}{
&lt;?lsmb name ?&gt;

&lt;?lsmb address1 ?&gt;

&lt;?lsmb address2 ?&gt;

&lt;?lsmb city ?&gt;
&lt;?lsmb if state ?&gt;
\hspace{-0.1cm}, &lt;?lsmb state ?&gt;
&lt;?lsmb end state ?&gt;
&lt;?lsmb zipcode ?&gt;

&lt;?lsmb country ?&gt;
}
\parbox[t]{.5\textwidth}{
&lt;?lsmb if customerphone ?&gt;
Tel: &lt;?lsmb customerphone ?&gt;
&lt;?lsmb end customerphone ?&gt;

&lt;?lsmb if customerfax ?&gt;
Fax: &lt;?lsmb customerfax ?&gt;
&lt;?lsmb end customerfax ?&gt;

&lt;?lsmb email ?&gt;
}
\hfill

\vspace{1cm}

\textbf{S T A T E M E N T} \hfill \textbf{&lt;?lsmb statementdate ?&gt;}

\vspace{2cm}

\begin{tabular*}{\textwidth}{|ll@{\extracolsep\fill}ccrrrr|}
  \hline
  \textbf{Invoice \#} &amp; \textbf{Order \#} &amp; \textbf{Date} &amp; \textbf{Due} &amp;
  \textbf{Current} &amp; \textbf{30} &amp; \textbf{60} &amp; \textbf{90} \\
  \hline
&lt;?lsmb foreach invnumber ?&gt;
  &lt;?lsmb invnumber ?&gt; &amp; &lt;?lsmb ordnumber ?&gt; &amp; &lt;?lsmb invdate ?&gt; &amp; &lt;?lsmb duedate ?&gt; &amp;
  &lt;?lsmb c0 ?&gt; &amp; &lt;?lsmb c30 ?&gt; &amp; &lt;?lsmb c60 ?&gt; &amp; &lt;?lsmb c90 ?&gt; \\
&lt;?lsmb end invnumber ?&gt;
  \multicolumn{8}{|l|}{\mbox{}} \\
  \hline
  \textbf{Subtotal} &amp; &amp; &amp; &amp; &lt;?lsmb c0total ?&gt; &amp; &lt;?lsmb c30total ?&gt; &amp; &lt;?lsmb c60total ?&gt; &amp; &lt;?lsmb c90total ?&gt; \\
  \hline
\end{tabular*}

\vspace{0.5cm}

\hfill
\begin{tabularx}{\textwidth}{Xr@{\hspace{1cm}}r@{}}
  &amp; \textbf{Total outstanding} &amp; \textbf{&lt;?lsmb total ?&gt;}
\end{tabularx}

\vfill
All amounts in \textbf{&lt;?lsmb currency ?&gt;} funds.

Please make check payable to \textbf{&lt;?lsmb company ?&gt;}

\end{document}

</pre></body></html>