<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{9pt}{9pt}\selectfont

\parbox[t]{12cm}{
  &lt;?lsmb company ?&gt;

  &lt;?lsmb address ?&gt;}
\hfill
\parbox[t]{6cm}{\hfill &lt;?lsmb source ?&gt;}

\vspace*{0.6cm}

&lt;?lsmb text_amount ?&gt; \dotfill &lt;?lsmb decimal ?&gt;/100 \makebox[0.5cm]{\hfill}

\vspace{0.5cm}

\hfill &lt;?lsmb datepaid ?&gt; \makebox[2cm]{\hfill} &lt;?lsmb amount ?&gt;

% different date format for datepaid
% &lt;?lsmb DD ?&gt;&lt;?lsmb MM ?&gt;&lt;?lsmb YYYY ?&gt;

\vspace{0.5cm}

&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;

\vspace{1.8cm}

&lt;?lsmb memo ?&gt;

\vspace{0.8cm}

&lt;?lsmb company ?&gt;

\vspace{0.5cm}

&lt;?lsmb name ?&gt; \hfill &lt;?lsmb datepaid ?&gt; \hfill &lt;?lsmb source ?&gt;

\vspace{0.5cm}
\begin{tabularx}{\textwidth}{lXrr@{}}
\textbf{Invoice No.} &amp; \textbf{Invoice Date}
  &amp; \textbf{Due} &amp; \textbf{Applied} \\
&lt;?lsmb foreach invnumber ?&gt;
&lt;?lsmb invnumber ?&gt; &amp; &lt;?lsmb invdate ?&gt; \dotfill
  &amp; &lt;?lsmb due ?&gt; &amp; &lt;?lsmb paid ?&gt; \\
&lt;?lsmb end invnumber ?&gt;
\end{tabularx}

\vspace{1cm}

&lt;?lsmb memo ?&gt;

\vfill

\end{document}

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