1 \documentclass[paper=a4]{scrartcl}
2 \usepackage[reffields,backaddress=false]{kiviletter}
4 % Variablen, die in settings verwendet werden
5 \newcommand{\lxlangcode} {<%template_meta.language.template_code%>}
6 \newcommand{\lxmedia} {<%media%>}
7 \newcommand{\lxcurrency} {<%currency%>}
8 \newcommand{\kivicompany} {<%employee_company%>}
10 % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
11 \input{insettings.tex}
13 \KOMAoptions{fontsize=9pt}
16 \setplength{firstheadvpos}{4cm}
18 \setkomavar{firsthead}{
19 \noindent\begin{tabular}[t]{@{}l@{}}
26 <%text\_amount%> \dotfill <%decimal%>/100 \par\smallskip
27 \hfill <%datepaid%> \hspace{2cm}\strut<%amount%>
35 <%street%>\ifhmode\\\fi
36 <%zipcode%> <%city%>\ifhmode\\\fi
43 <%name%> \hfill <%datepaid%> \hfill <%source%>%
45 \begin{SimpleTabular}[colspec=lXrr,headline={\bfseries\rechnung&\bfseries\ausgestellt&\bfseries\faellig&\bfseries\verrechnet}]
46 <%foreach invnumber%>%
47 <%invnumber%> & <%invdate%> & <%due%> & <%paid%> \\