<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[twoside]{scrartcl}
\usepackage[frame]{xy}
\usepackage{tabularx}
\usepackage[latin1]{inputenc}
\setlength{\voffset}{0.5cm}
\setlength{\hoffset}{-2.0cm}
\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.5cm}
\setlength{\footskip}{1cm}
\setlength{\parindent}{0pt}
\renewcommand{\baselinestretch}{1}
\begin{document}

\newlength{\descrwidth}\setlength{\descrwidth}{10cm}

\newsavebox{\hdr}
\sbox{\hdr}{
  \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont

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

      &lt;?lsmb address ?&gt;}\hfill
    \begin{tabular}[b]{rrr@{}}
    Tel. &amp; &lt;?lsmb tel ?&gt;\\
    Faks &amp; &lt;?lsmb fax ?&gt;
    \end{tabular}

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

\fontfamily{cmss}\fontshape{n}\selectfont

\markboth{&lt;?lsmb company ?&gt;\hfill &lt;?lsmb statementdate ?&gt;}{\usebox{\hdr}}

\pagestyle{myheadings}
%\thispagestyle{empty}     use this with letterhead paper

&lt;?lsmb pagebreak 65 27 48 ?&gt;
\end{tabular*}

  \rule{\textwidth}{2pt}

  \hfill
  \begin{tabularx}{7cm}{Xr@{}}
  \textbf{Subtotal} &amp; \textbf{&lt;?lsmb sumcarriedforward ?&gt;} \\
  \end{tabularx}

\newpage

\markright{&lt;?lsmb company ?&gt;\hfill &lt;?lsmb statementdate ?&gt;}

\vspace*{-12pt}

\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
  \textbf{Invoice \#} &amp; \textbf{Date} &amp; \textbf{Due} &amp;
  \textbf{Current} &amp; \textbf{30} &amp; \textbf{60} &amp; \textbf{90+} \\
  carried forward from &lt;?lsmb lastpage ?&gt; &amp; &amp; &amp; &amp; &amp; &amp; &lt;?lsmb sumcarriedforward ?&gt; \\
&lt;?lsmb end pagebreak ?&gt;


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

\vspace*{1.5cm}

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

&lt;?lsmb address1 ?&gt;

&lt;?lsmb if address2 ?&gt;
&lt;?lsmb address2 ?&gt;
&lt;?lsmb end address2 ?&gt;

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

&lt;?lsmb if country ?&gt;
&lt;?lsmb country ?&gt;
&lt;?lsmb end country ?&gt;

}
\parbox[t]{7.5cm}{
&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{O V E R S I K T} \hfill

\hfill &lt;?lsmb statementdate ?&gt;

\vspace{2cm}

\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
  \textbf{Faktura \#} &amp; \textbf{Dato} &amp; \textbf{Frist} &amp;
  \textbf{Skyldig} &amp; \textbf{30} &amp; \textbf{60} &amp; \textbf{90+} \\
&lt;?lsmb foreach invnumber ?&gt;
  &lt;?lsmb invnumber ?&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;
\textbf{Subtotal} &amp; &amp; &amp; &lt;?lsmb c0total ?&gt; &amp; &lt;?lsmb c30total ?&gt; &amp; &lt;?lsmb c60total ?&gt; &amp; &lt;?lsmb c90total ?&gt;
\end{tabular*}
\rule{\textwidth}{1pt}

\vspace{1cm}

\hfill
\begin{tabularx}{7cm}{Xr@{}}
  \textbf{Totalt skyldig} &amp; &lt;?lsmb total ?&gt;
\end{tabularx}

\vfill

\renewcommand{\thefootnote}{\fnsymbol{footnote}}

\footnotetext[1]{\tiny
}

\end{document}

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