<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[english,twoside]{scrartcl}
\usepackage[frame]{xy}
\usepackage{tabularx}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{graphicx}
\setlength{\voffset}{0.5cm}
\setlength{\hoffset}{-1.9cm}
\setlength{\topmargin}{0cm}
\setlength{\headheight}{0.5cm}
\setlength{\headsep}{1cm}
\setlength{\topskip}{0pt}
\setlength{\oddsidemargin}{1.0cm}
\setlength{\evensidemargin}{1.0cm}
\setlength{\textwidth}{19.2cm}
\setlength{\textheight}{24.7cm}
\setlength{\footskip}{1cm}
\setlength{\parindent}{0pt}
\renewcommand{\baselinestretch}{1}
\begin{document}

\pagestyle{myheadings}
\thispagestyle{empty}

\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont

\vspace*{-1.3cm}

\parbox{\textwidth}{%
  \parbox[b]{.42\textwidth}{%
    &lt;?lsmb company ?&gt;

    &lt;?lsmb address ?&gt;
  }
  \parbox[b]{.2\textwidth}{
    \includegraphics[scale=0.3]{ledger-smb}
  }\hfill
  \begin{tabular}[b]{rr@{}}
  Telephone &amp; &lt;?lsmb tel ?&gt;\\
  Facsimile &amp; &lt;?lsmb fax ?&gt;
  \end{tabular}

  \rule[1.5em]{\textwidth}{0.5pt}
}

  
\vspace*{0.5cm}

\parbox[t]{1cm}{\hfill}
\parbox[t]{.45\textwidth}{
&lt;?lsmb name ?&gt;

&lt;?lsmb address1 ?&gt;

&lt;?lsmb address2 ?&gt;

&lt;?lsmb city ?&gt; &lt;?lsmb state ?&gt; &lt;?lsmb zipcode ?&gt;

&lt;?lsmb country ?&gt;
}
\parbox[t]{.45\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{tabularx}{\textwidth}{|llXccrrrr|}
  \hline
  \textbf{Invoice \#} &amp; \textbf{Order \#} &amp; \textbf{Notes} &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 notes ?&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{9}{|l|}{\mbox{}} \\
  \hline
  \textbf{Subtotal} &amp; &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{tabularx}

\vspace{0.5cm}

\hfill
\begin{tabularx}{.4\textwidth}{Xr@{}}
  \textbf{Total outstanding} &amp; \textbf{&lt;?lsmb total ?&gt;}
\end{tabularx}

\vfill

Please make check payable to &lt;?lsmb company ?&gt;

\end{document}


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