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


\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont

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

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

\vspace*{0.6cm}

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

\vspace{0.5cm}

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

\vspace{0.5cm}

&lt;%name%&gt;

&lt;%address1%&gt;

&lt;%if address2%&gt;
&lt;%address2%&gt;
&lt;%end address2%&gt;

&lt;%city%&gt; &lt;%state%&gt; &lt;%zipcode%&gt;

&lt;%if country%&gt;
&lt;%country%&gt;
&lt;%end country%&gt;

\vspace{2.8cm}

&lt;%company%&gt;

\vspace{0.5cm}

&lt;%name%&gt; \hfill &lt;%datepaid%&gt; \hfill &lt;%source%&gt;

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

\vfill
&lt;%message%&gt;
\end{document}

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