forked from monai/latex-invoice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmwe.tex
155 lines (121 loc) · 6.04 KB
/
mwe.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
\documentclass[
paper=a4,
fontsize=10pt,
parskip=full,
DIV=21,
BCOR=8mm,
headinclude=true,
% footinclude=true,
headheight=7cm,
footheight=-0.5cm,
% headsepline=true,
footsepline=true
]{scrartcl}
\usepackage{latex-invoice-lt}
\begin{document}
\include{defaults}
% accounting information
\setproperty{invoice}{Sum}{89,67}
\setproperty{invoice}{VAT}{18,83}
\setproperty{invoice}{Total}{108,50}
\setproperty{POS}{Number}{00012345}
\setproperty{invoice}{Series}{ABC}
\setproperty{invoice}{Number}{0000011}
\setproperty{invoice}{ID}{\getproperty{invoice}{Series}\getproperty{invoice}{Number}}
\setproperty{invoice}{Date}{2016-01-01}
\setproperty{invoice}{Due}{2016-02-30}
\setproperty{seller}{position}{Direktorius}
\setproperty{seller}{Name}{Jonas Jonka}
% client information
%------------------------------
\setproperty{client}{name}{UAB Kardanas}
\setproperty{client}{address}{Belzębubų sodų 666-oji, Kazlų rūda, Rumunija}
\setproperty{client}{phone}{+370 666 677766}
\setproperty{client}{ID}{123456789}
\setproperty{client}{VAT}{LT100000000777}
\setproperty{client}{bank}{AB Bankas Po Minutės}
\setproperty{client}{account}{LT00 7000 0000 0006 6600}
%------------------------------
\setlength\LTleft{0pt}
\setlength\LTright{0pt}
\begin{longtable}{L{\the\WcI}L{\the\WcII}L{\the\WcIII}|R{\the\WcIV}|R{\the\WcV}|}
\hline
\multicolumn{1}{|L{\the\WcI} }{\textbf{Pavadinimas}} &
\multicolumn{1}{|L{\the\WcII} }{\textbf{Mato vnt.}} &
\multicolumn{1}{|L{\the\WcIII}|}{\textbf{Kiekis}} &
\textbf{Kaina, €} & \textbf{Suma, €} \\
\hline
\endfirsthead
\multicolumn{5}{c}{...} \\
\hline
\multicolumn{1}{|L{\the\WcI} }{\textbf{Pavadinimas}} &
\multicolumn{1}{|L{\the\WcII} }{\textbf{Mato vnt.}} &
\multicolumn{1}{|L{\the\WcIII}|}{\textbf{Kiekis}} &
\textbf{Kaina, €} & \textbf{Suma, €} \\
\hline
\endhead
\hline
\multicolumn{5}{c}{...} \\
\endfoot
\endlastfoot
\pos{Diržas} & \units{vnt.} & \qtty{7,00} & \price{23,32} & \total{23,32}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis facilisis sem.} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\pos{Sankaba} & \units{vnt.} & \qtty{5,00} & \price{28,93} & \total{28,93}
\invoiceSum
\invoiceVAT
\invoiceTotal
\end{longtable}
\invoiceParties{}
%------------------------------
\end{document}