\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}{%
    <?lsmb company ?>

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

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

  
\vspace*{0.5cm}

\parbox[t]{1cm}{\hfill}
\parbox[t]{.45\textwidth}{
<?lsmb name ?>

<?lsmb address1 ?>

<?lsmb address2 ?>

<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>

<?lsmb country ?>
}
\parbox[t]{.45\textwidth}{
<?lsmb if customerphone ?>
Tel: <?lsmb customerphone ?>
<?lsmb end customerphone ?>

<?lsmb if customerfax ?>
Fax: <?lsmb customerfax ?>
<?lsmb end customerfax ?>

<?lsmb email ?>
}
\hfill

\vspace{1cm}

\textbf{S T A T E M E N T} \hfill \textbf{<?lsmb statementdate ?>}

\vspace{2cm}

\begin{tabularx}{\textwidth}{|llXccrrrr|}
  \hline
  \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Notes} &
  \textbf{Date} & \textbf{Due} &
  \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
  \hline
<?lsmb foreach invnumber ?>
  <?lsmb invnumber ?> & <?lsmb ordnumber ?> & <?lsmb notes ?> & <?lsmb invdate ?> & <?lsmb duedate ?> &
  <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\
<?lsmb end invnumber ?>
  \multicolumn{9}{|l|}{\mbox{}} \\
  \hline
  \textbf{Subtotal} & & & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \\
  \hline
\end{tabularx}

\vspace{0.5cm}

\hfill
\begin{tabularx}{.4\textwidth}{Xr@{}}
  \textbf{Total outstanding} & \textbf{<?lsmb total ?>}
\end{tabularx}

\vfill

Please make check payable to <?lsmb company ?>

\end{document}


tags/f5/b3?h=master'>b3</a>/<a href='/notmuch/commit/tags/f5/b3/E1mhP69-0007Ud-Lb@respighi.debian.org?h=master'>E1mhP69-0007Ud-Lb@respighi.debian.org</a>/<a href='/notmuch/commit/tags/f5/b3/E1mhP69-0007Ud-Lb@respighi.debian.org/killed?h=master'>killed</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='h' value='master'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'>
<tr><th>author</th><td>Jonas Smedegaard &lt;dr@jones.dk&gt;</td><td class='right'>2023-06-27 09:35:08 +0200</td></tr>
<tr><th>committer</th><td>Jonas Smedegaard &lt;dr@jones.dk&gt;</td><td class='right'>2023-06-27 09:35:08 +0200</td></tr>
<tr><th>commit</th><td colspan='2' class='oid'><a href='/notmuch/commit/tags/f5/b3/E1mhP69-0007Ud-Lb@respighi.debian.org/killed?h=master&amp;id=fd54908da2b05c526dd3bee9b6dcd093214a220d'>fd54908da2b05c526dd3bee9b6dcd093214a220d</a> (<a href='/notmuch/patch/tags/f5/b3/E1mhP69-0007Ud-Lb@respighi.debian.org/killed?id=fd54908da2b05c526dd3bee9b6dcd093214a220d'>patch</a>)</td></tr>
<tr><th>tree</th><td colspan='2' class='oid'><a href='/notmuch/tree/?h=master'>c69c845069c99d1d01044f6fafda7c08433329c6</a> /<a href='/notmuch/tree/tags/f5/b3/E1mhP69-0007Ud-Lb@respighi.debian.org/killed?h=master'>tags/f5/b3/E1mhP69-0007Ud-Lb@respighi.debian.org/killed</a></td></tr>
<tr><th>parent</th><td colspan='2' class='oid'><a href='/notmuch/commit/tags/f5/b3/E1mhP69-0007Ud-Lb@respighi.debian.org/killed?h=master&amp;id=ba46132213560cf3335d53560d519c0ec0190da2'>ba46132213560cf3335d53560d519c0ec0190da2</a> (<a href='/notmuch/diff/tags/f5/b3/E1mhP69-0007Ud-Lb@respighi.debian.org/killed?h=master&amp;id2=ba46132213560cf3335d53560d519c0ec0190da2'>diff</a>)</td></tr></table>
<div class='commit-subject'><span class='decoration'><a class='branch-deco' href='/notmuch/log/tags/f5/b3/E1mhP69-0007Ud-Lb@respighi.debian.org/killed?h=master'>master</a></span></div><div class='commit-msg'></div><div class='diffstat-header'><a href='/notmuch/diff/?h=master'>Diffstat</a> (limited to 'tags/f5/b3/E1mhP69-0007Ud-Lb@respighi.debian.org/killed')</div><table summary='diffstat' class='diffstat'>