-
Notifications
You must be signed in to change notification settings - Fork 6
/
invoice_en.tex
109 lines (89 loc) · 2.79 KB
/
invoice_en.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
\documentclass[a4paper]{article}
\usepackage{fontspec}
\usepackage{multirow}
\usepackage[framemethod=TikZ]{mdframed}
\usepackage{tabularx}
\usepackage{makecell}
\usepackage{numprint}
\newcommand{\fmoney}[1]{\euro\,\numprint{#1}}
\thispagestyle{empty}
% DOCUMENT LAYOUT
\usepackage[vmargin=5cm]{geometry}
\geometry{a4paper, textwidth=6in, textheight=8.5in, marginparsep=7pt, marginparwidth=.6in}
\setlength\parindent{0in}
\usepackage[absolute]{textpos}
\usepackage{calc}
\usepackage{eurosym}
\usepackage{xunicode}
\usepackage{xltxtra}
\renewcommand{\arraystretch}{1.2}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont [Ligatures={Common},
BoldFont={DejaVu Serif Bold},ItalicFont={DejaVu Serif Italic}]{DejaVu Serif}
\setsansfont [Ligatures={Common}, BoldFont={DejaVu Sans Bold},
ItalicFont={DejaVu Sans Oblique}]{DejaVu Sans}
\setmonofont[Scale=0.8]{DejaVu Sans Mono}
\setlength{\TPHorizModule}{30mm}
\setlength{\TPVertModule}{\TPHorizModule}
\textblockorigin{\linewidth}{10mm}
\begin{document}
\fontsize{10}{12}\selectfont
\begin{textblock}{2.5}(0, 0)
\begin{minipage}{\textwidth}
\begin{mdframed}[roundcorner=10pt]
\fontsize{8}{10}\selectfont
\begin{center}
{{STAMP}}
\end{center}
\end{mdframed}
\end{minipage}
\end{textblock}
\begin{minipage}{0.8\textwidth}
ΑΡΙΘΜΟΣ / NUMBER: {{NUM}}\\
ΗΜΕΡΟΜΗΝΙΑ / DATE (DD/MM/YYYY): {{DATE}}\\
\end{minipage}
{\Large ΤΙΜΟΛΟΓΙΟ / INVOICE}
\vspace{0.5cm}
ΕΠΩΝΥΜΙΑ / NAME: {{CLIENT}}\\
ΕΠΑΓΓΕΛΜΑ / OCCUPATION : {{OCCUPATION}} \\
ΑΦΜ / TAX IDENTIFICATION NUMBER: {{TAXNUMBER}}\\
ΔΟΥ / INCORPORATION: {{TAXOFFICE}}\\
ΔΙΕΥΘΥΝΣΗ / ADDRESS: {{ADDRESS}}
\vspace{0.4cm}
\begin{tabularx}{\textwidth}{
|>{\hsize=1.6\hsize\linewidth=\hsize}X
|>{\hsize=.4\hsize\linewidth=\hsize\raggedleft\arraybackslash}X|
}
\hline
\begin{center}ΑΙΤΙΟΛΟΓΙΑ---ΠΕΡΙΓΡΑΦΗ / DESCRIPTION\end{center}&
\begin{center}ΑΞΙΑ / VALUE\end{center}\\
\hline
{{DESCRIPTION}} & \fmoney{{{VALUE}}}\\[3cm]
Παρακρατήθηκε φόρος / Withholding tax \numprint{{{TAXRATE}}}\% =
\fmoney{{{TAX}}} & \\
\hline
\end{tabularx}
\vspace{1cm}
\begin{tabularx}{\textwidth}{
|>{\hsize=.5\hsize\linewidth=\hsize}X
|>{\hsize=1.5\hsize\linewidth=\hsize}X
|>{\hsize=.6\hsize\linewidth=\hsize}X
|>{\hsize=.4\hsize\linewidth=\hsize\raggedleft\arraybackslash}X|
}
\hline
\multirow{4}{*}[1em]{ \makecell[cc]{Ολογράφως \\ In words} }
& \multirow{4}{6cm}[1em]{
\parbox[t]{6cm}{
{{NUMBERTEXT}} \\ {{NUMBERTEXTEN}}
}
}
& Αξία / Value: & \fmoney{{{VALUE}}} \\
& & ΦΠΑ / VAT \numprint{{{VATRATE}}}\%: & \fmoney{{{VAT}}} \\
& & Σύνολο / Total : & \fmoney{{{TOTAL}}} \\
\hline
\end{tabularx}
\vspace{1cm}
\begin{center}
Έκδοση / Issue
\end{center}
\end{document}