-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hi,
I am currently customizing the invoice template and would like to display the amounts per tax rate.
I can already output the tax rates using [% for key, value in vats %], but I am unsure which variables to use to correctly display the net and gross amounts for each tax rate.
For example, I currently have:
<table style="border-collapse: collapse;" border="1" align="right">
<tbody><!-- ZEILE 1 -->
<tr>
<td style="font-size: 10pt; font-family: arial, helvetica, sans-serif; font-weight: bold;">Steuersatz</td>
<!-- [% for key, value in vats %] -->
<td style="text-align: right; font-size: 10pt; font-family: arial, helvetica, sans-serif;">[[key]] %</td>
<!-- [% endfor %] -->
<td style="text-align: center; font-size: 10pt; font-family: arial, helvetica, sans-serif;">Rechnungsbetrag</td>
</tr>
<!-- ZEILE 2 -->
<tr>
<td style="font-size: 10pt; font-family: arial, helvetica, sans-serif; font-weight: bold;">MwSt</td>
<!-- [% for key, value in vats %] -->
<td style="text-align: right; font-size: 10pt; font-family: arial, helvetica, sans-serif;">[[value.nettoFormated]]</td>
<!-- [% endfor %] --> <!-- rowspan START -->
<td style="vertical-align: middle; text-align: center; font-size: 10pt; font-family: arial, helvetica, sans-serif; font-weight: bold;" rowspan="3">[[bruttoFormated]] €</td>
</tr>
<!-- ZEILE 3 -->
<tr>
<td style="font-size: 10pt; font-family: arial, helvetica, sans-serif; font-weight: bold;">Nettobetrag</td>
<!-- [% for key, value in vats %] -->
<td style="text-align: right; font-size: 10pt; font-family: arial, helvetica, sans-serif;">netto?</td>
<!-- [% endfor %] --></tr>
<!-- ZEILE 4 -->
<tr>
<td style="font-size: 10pt; font-family: arial, helvetica, sans-serif; font-weight: bold;">Bruttobetrag</td>
<!-- [% for key, value in vats %] -->
<td style="text-align: right; font-size: 10pt; font-family: arial, helvetica, sans-serif;">brutto?</td>
<!-- [% endfor %] --></tr>
</tbody>
</table>
Is there a predefined variable in FewoHbee for net and gross amount per tax rate? Or can i calculate it somehow?
Metadata
Metadata
Assignees
Labels
No labels