summaryrefslogtreecommitdiff
path: root/templates/Hungarian-invoice.tex
blob: 8e2b3b99ae3487748c4f54b8f01a812ef2dcba7b (plain)
  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. %%% %%%
  3. %%% Szamla - LaTeX sablon v. 1.01 %%%
  4. %%% Kovacs Laszlo -- lakovacs@inf.unideb.hu %%%
  5. %%% %%%
  6. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  7. %%%
  8. %%% 2003.10.31.
  9. %%%
  10. %%%
  11. \documentclass[twoside]{article}
  12. %\documentclass[twoside]{scrartcl}
  13. % \usepackage[frame]{xy}
  14. \usepackage{tabularx}
  15. %\usepackage{graphicx}
  16. \usepackage[latin2]{inputenc}
  17. \setlength{\voffset}{-0.5cm}
  18. \setlength{\hoffset}{-2.5cm}
  19. \setlength{\topmargin}{0cm}
  20. \setlength{\headheight}{0.5cm}
  21. \setlength{\headsep}{1cm}
  22. \setlength{\topskip}{0pt}
  23. \setlength{\oddsidemargin}{1.0cm}
  24. \setlength{\evensidemargin}{1.0cm}
  25. \setlength{\textwidth}{19.2cm}
  26. \setlength{\textheight}{24.5cm}
  27. \setlength{\footskip}{1cm}
  28. \setlength{\parindent}{0pt}
  29. \renewcommand{\baselinestretch}{1}
  30. \newcommand{\PAR}[1]{\texttt{\upshape <\%#1\ ?>}\typeout{#1}}
  31. \begin{document}
  32. \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
  33. \newsavebox{\headright}
  34. \sbox{\headright}{
  35. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  36. \parbox{\textwidth}{
  37. \begin{center}
  38. % \includegraphics[scale=1.0]{/tmp/logo_04.eps} \\[.3cm]
  39. {\large\bfseries SZÁMLA} \\
  40. \end{center}
  41. \mbox{}\hfill <?lsmb copysum ?> \\
  42. \mbox{}\hfill <?lsmb copynumber ?>
  43. }
  44. }
  45. \newsavebox{\headleft}
  46. \sbox{\headleft}{
  47. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  48. \parbox{\textwidth}{
  49. % \includegraphics[scale=.5]{/tmp/logo_04.eps}
  50. \hfill <?lsmb invnumber ?>\\[-3mm]
  51. \rule{\textwidth}{.5pt}
  52. }
  53. }
  54. \markboth{}{\usebox{\headright}}
  55. \pagestyle{myheadings}
  56. \fontfamily{cmss}\fontsize{10pt}{12pt}\fontshape{n}\selectfont
  57. <?lsmb pagebreak 65 27 48 ?>
  58. \end{tabularx}
  59. }
  60. \rule{\textwidth}{1.5pt}
  61. \hfill
  62. \begin{tabularx}{7cm}{X@{ }r@{}}
  63. \textbf{Részösszeg} & <?lsmb sumcarriedforward ?> \cr
  64. \end{tabularx}
  65. \newpage
  66. \markboth{\usebox{\headleft}}{\usebox{\headleft}}
  67. \mbox{}\vspace{.5cm}
  68. \rule{\textwidth}{1.5pt}
  69. \vspace{.3cm}
  70. {\scriptsize
  71. \begin{tabularx}{\textwidth}{>{\hsize=0.4cm\centering}X@{\ }
  72. >{\hsize=0.9cm\raggedleft}X@{\ }
  73. >{\hsize=1.9cm\raggedleft}X@{\ }
  74. >{\hsize=2.9cm\raggedleft}X@{\ }
  75. >{\hsize=1.9cm\centering}X@{\ }
  76. >{\hsize=0.9cm\centering}X@{\ }
  77. >{\hsize=0.5cm\centering}X@{\ }
  78. >{\hsize=2.0cm\raggedleft}X@{\ }
  79. >{\hsize=2.0cm\raggedleft}X@{\ }
  80. >{\hsize=0.8cm\raggedleft}X@{\ }
  81. >{\hsize=2.0cm\raggedleft}X@{\ }
  82. >{\hsize=2.0cm\raggedleft}X@{}
  83. }
  84. \textbf{no} & \textbf{Márka} & \textbf{Áru} & \centering\textbf{Megnevezés} &
  85. \textbf{VTSZ} & \textbf{Menny.} & \textbf{u} &
  86. \textbf{Nettó egységár} & \textbf{Nettó összeg} & \textbf{ÁFA\%} &
  87. \textbf{ÁFA összeg} & \textbf{Bruttó összeg}
  88. \cr
  89. & & \textbf{előző oldalról} &
  90. & & &
  91. & & &
  92. & & <?lsmb sumcarriedforward ?>
  93. \cr
  94. <?lsmb end pagebreak ?>
  95. \mbox{}\vspace{3.5cm}
  96. \rule{\textwidth}{1.5pt}
  97. \vspace{3mm}
  98. \hbox to\hsize{
  99. \begin{minipage}[t]{9.5cm}
  100. \textbf{Eladó:} \\
  101. <?lsmb company ?>\\
  102. <?lsmb address ?>\\
  103. Adószám: <?lsmb businessnumber ?>\\
  104. tel: <?lsmb tel ?>\\
  105. fax: <?lsmb fax ?>
  106. \end{minipage}
  107. \hfill \
  108. \begin{minipage}[t]{9.5cm}
  109. \textbf{Vevő:} \\
  110. <?lsmb name ?>\\
  111. <?lsmb address1 ?>\\
  112. <?lsmb if address2 ?>
  113. <?lsmb address2 ?>
  114. <?lsmb end address2 ?>\\
  115. <?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>\\
  116. <?lsmb if country ?>
  117. <?lsmb country ?>
  118. <?lsmb end country ?>
  119. \end{minipage}
  120. }
  121. \vspace{5mm}
  122. \rule{\textwidth}{1.5pt}
  123. \vspace{3mm}
  124. \hspace{-3mm}
  125. \begin{tabularx}{\textwidth}{>{\hsize=2.1cm\centering}X@{\ }
  126. >{\hsize=2.8cm\centering}X@{\ }
  127. >{\hsize=2.8cm\centering}X@{\ }
  128. >{\hsize=2.8cm\centering}X@{\ }
  129. >{\hsize=3.4cm\centering}X@{\ }
  130. >{\hsize=2.5cm\centering}X@{\ }
  131. >{\hsize=2.0cm\raggedleft}X@{}}
  132. \textbf{Fizetési mód} & \textbf{Telj.~dátuma} & \textbf{Számla kelte} &
  133. \textbf{Esedékesség} & \textbf{Megrendelés} & \textbf{Kiállította} & \textbf{Sorszám}
  134. \cr
  135. <?lsmb shippingpoint ?> & <?lsmb invdate ?> & <?lsmb crdate ?> &
  136. <?lsmb duedate ?> & <?lsmb ordnumber ?> & <?lsmb employee ?> & <?lsmb invnumber ?>
  137. \end{tabularx}
  138. \vspace{5mm}
  139. \rule{\textwidth}{1.5pt}
  140. \vspace{3mm}
  141. \hspace{-3mm}
  142. {\scriptsize
  143. \begin{tabularx}{\textwidth}{>{\hsize=0.4cm\centering}X@{\ }
  144. >{\hsize=0.9cm\raggedright}X@{\ }
  145. >{\hsize=1.9cm\raggedright}X@{\ }
  146. >{\hsize=2.9cm\raggedright}X@{\ }
  147. >{\hsize=1.9cm\centering}X@{\ }
  148. >{\hsize=0.9cm\raggedleft}X@{\ }
  149. >{\hsize=0.5cm\centering}X@{\ }
  150. >{\hsize=2.0cm\raggedleft}X@{\ }
  151. >{\hsize=2.0cm\raggedleft}X@{\ }
  152. >{\hsize=0.8cm\raggedleft}X@{\ }
  153. >{\hsize=2.0cm\raggedleft}X@{\ }
  154. >{\hsize=2.0cm\raggedleft}X@{}
  155. }
  156. \centering\textbf{sz.} & \raggedright\textbf{Márka} & \raggedright\textbf{Áru} & \raggedright\textbf{Megnevezés} &
  157. \centering\textbf{VTSZ} & \raggedleft\textbf{Menny.} & \centering\textbf{egys.} &
  158. \raggedleft\textbf{Nettó egységár} & \raggedleft\textbf{Nettó összeg} & \raggedright\textbf{ÁFA\%} &
  159. \raggedleft\textbf{ÁFA összeg} & \raggedleft\textbf{Bruttó összeg}
  160. \cr
  161. <?lsmb foreach number ?>
  162. <?lsmb runningnumber ?> & <?lsmb partsgroup ?> & <?lsmb number ?> & <?lsmb description ?> &
  163. <?lsmb bin ?> & <?lsmb qty ?> & <?lsmb unit ?> &
  164. <?lsmb netprice ?> & <?lsmb linetotal ?> & <?lsmb linetaxrate ?> &
  165. <?lsmb taxamount ?> & <?lsmb linetotal2 ?>
  166. \cr
  167. <?lsmb end number ?>
  168. \end{tabularx}
  169. }
  170. \rule{\textwidth}{1.5pt}
  171. \hbox to\hsize{
  172. \hspace{8.4cm}
  173. \begin{minipage}[t]{11cm}
  174. \rule{10.6cm}{1.5pt}
  175. \vspace{.2cm}
  176. \begin{tabularx}{10cm}{>{\hsize=7cm\raggedleft}X>{\hsize=3cm\raggedleft}X}
  177. %\textbf{Total} & <?lsmb invtotal ?> \cr
  178. \textbf{Nettó összesen} & <?lsmb subtotal ?> \cr
  179. <?lsmb foreach tax ?>
  180. \textbf{Alap:} <?lsmb taxbase ?> \textbf{ráta:} <?lsmb taxrate ?> & <?lsmb tax ?> \cr
  181. <?lsmb end tax ?>
  182. <?lsmb if paid ?>
  183. \textbf{Fizetve:} & -<?lsmb paid ?>
  184. <?lsmb end paid ?>
  185. \end{tabularx}
  186. \rule{10.6cm}{1.5pt}
  187. \begin{tabularx}{10cm}{>{\hsize=7cm\raggedleft}X>{\hsize=3cm\raggedleft}X}
  188. \textbf{A számla végösszege} & <?lsmb total ?> \textbf{Ft}
  189. \end{tabularx}
  190. \end{minipage}
  191. }
  192. \vfill
  193. \vspace{1cm}
  194. <?lsmb if notes ?>
  195. \textbf{Megjegyzés:} <?lsmb notes ?>
  196. \vspace{1cm}
  197. <?lsmb end if ?>
  198. <?lsmb if paid ?>
  199. \textbf{Fizetések:}
  200. \rule{12cm}{1.5pt}
  201. \vspace{.2cm}
  202. \begin{tabularx}{12cm}{@{}>{\hsize=2.9cm\centering}X@{\ }
  203. >{\hsize=2.9cm\centering}X@{\ }
  204. >{\hsize=2.9cm\centering}X@{\ }
  205. >{\hsize=2.9cm\raggedleft}X@{}}
  206. \textbf{Dátum} & \textbf{Számla} & \textbf{Bizonylatszám} & \textbf{Összeg}
  207. \cr
  208. <?lsmb end paid ?>
  209. <?lsmb foreach payment ?>
  210. <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?>
  211. \cr
  212. <?lsmb end payment ?>
  213. <?lsmb if paid ?>
  214. \end{tabularx}
  215. <?lsmb end paid ?>
  216. \vspace{1cm}
  217. <?lsmb intnotes ?>
  218. \end{document}