MT940-Import: AQBanking-Unterstützung entfernt
[kivitendo-erp.git] / templates / print / marei / zahlungserinnerung_invoice.tex
1 \documentclass[paper=a4,fontsize=10pt]{scrartcl}
2 \usepackage{kiviletter}
3
4
5 % Variablen, die in settings verwendet werden
6 \newcommand{\lxlangcode} {<%template_meta.language.template_code%>}
7 \newcommand{\lxmedia} {<%media%>}
8 \newcommand{\lxcurrency} {<%currency%>}
9 \newcommand{\kivicompany} {<%employee_company%>}
10
11 % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
12 \input{insettings.tex}
13
14
15 % laufende Kopfzeile:
16 \ourhead{\kundennummer}{<%customernumber%>}{\rechnung}{<%invnumber%>}{<%invdate%>}
17
18 \setkomavar*{date}{\rechnungsdatum}
19 \setkomavar{date}{<%invdate%>}
20 \setkomavar{customer}{<%customernumber%>}
21 \setkomavar{fromname}{<%employee_name%>}
22 \setkomavar{fromphone}{<%employee_tel%>}
23 \setkomavar{fromemail}{<%employee_email%>}
24 \setkomavar{title}{
25         \rechnung~
26         \nr ~<%invnumber%>%
27 }
28 \setkomavar*{myref}{\mahnung~\nr}
29 \setkomavar{myref}{<%dunning_id%>}
30 <%if globalprojectnumber%>%
31         \setkomavar{projectID}{<%globalprojectnumber%>}
32 <%end globalprojectnumber%>%
33 \setkomavar{transaction}{<%transaction_description%>}
34
35 \begin{document}
36
37
38 \begin{letter}{
39                 <%name%>\strut\\
40                 <%if department_1%><%department_1%>\\<%end if%>%
41                 <%if department_2%><%department_2%>\\<%end if%>%
42                 <%cp_givenname%> <%cp_name%>\strut\\
43                 <%street%>\strut\\
44                 <%zipcode%> <%city%>\strut\\
45                 <%country%> \strut
46         }
47
48 % Bei Kontaktperson Anrede nach Geschlecht unterscheiden.
49 % Bei natürlichen Personen persönliche Anrede, sonst allgemeine Anrede.
50 \opening{
51         \Ifstr{<%cp_name%>}{}
52                 {<%if natural_person%><%greeting%> <%name%>,<%else%>\anrede<%end if%>}
53                 {
54                         \Ifstr{<%cp_gender%>}{f}
55                                 {\anredefrau}
56                                 {\anredeherr}
57                                 <%cp_title%> <%cp_name%>,
58                 }
59 }
60 \thispagestyle{kivitendo.letter.first}
61
62 \mahnungsrechnungsformel
63
64 \begin{SimpleTabular}[colspec=Xr<{\tabcurrency},headline={\bfseries\posten& \bfseries\betrag}]
65         Mahngebühren & <%fee%> \\
66         Zinsen & <%interest%> \\
67         \midrule[\heavyrulewidth]
68         \multicolumn{1}{@{}l}{\schlussbetrag}& <%invamount%>\\
69 \end{SimpleTabular}
70
71 \smallskip
72
73 \bitteZahlenBis~<%duedate%>.
74
75 \closing{\gruesse}
76
77 \end{letter}
78
79 \end{document}