{# LEAD_NAME - Name of the Lead LEAD_ADDRESS - Lead Invoice Address, use with filer |nl2br to keep line breaks LEAD_EMAIL_ADDRESS - List of email adresses defined for Lead Invoice Address LEAD_CUSTOM_FIELDS - Lead custom fields COMPANY_NAME - Name of the Layer5 Company INVOICE_DATE - invoice date INVOICE_NUMBER - invoice number INVOICE_COMMENT - Invoice comment NET_TOTAL GROSS_TOTAL VAT_TOTAL ITEMS - array of all invoice items {% for ITEM in ITEMS %} ITEM.title - Item title ITEM.text - Item description ITEM.from_date - Service date from, Example: "2022-11-10" ITEM.to_date - Service date to, Example: "2022-11-12" ITEM.quantity - Item quantity, Example: 2 ITEM.quantity_unit - Item quantity unit, Example: "std" ITEM.unit_price - Item unit price, Example: "10,50 €" ITEM.vat_percent - Item vat Percent, Example: 19 ITEM.total_net_price - Row total price, Example: "21,00 €" {% endfor %} VAT_AMOUNTS - array of all vat amounts {% for VAT_AMOUNT in VAT_AMOUNTS %} VAT_AMOUNT.net - Net base for calculating vat VAT_AMOUNT.percent - VAT percent VAT_AMOUNT.amount - VAT amount ( net * percent/100 ) {% endfor %} #}
 
{# Header Zones defined in DIN-5008 #} {# Zusatz- und Vermerkzone mit integrierter Rücksendeangabe #} {# Note zone with integrated return information #} {% if ADDRESS_LINE|trim %}
 {# { ADDRESS_LINE } #}
{% endif %}
{# Rechnungsanschrift des Empfängers, wird automatisch eingefügt #} {# Recipient's invoice address, will be inserted automatically #} {{ LEAD_ADDRESS | nl2br }}
  {# { COMPANY_INFO |nl2br } #}
Angebot
{# { LEAD_CUSTOM_FIELDS.kundenummer } #}
Angebotsnummer
{{ INVOICE_NUMBER }}
Datum
{{ INVOICE_DATE | date('d.m.Y') }}
{# #} {##} {% for key, ITEM in ITEMS %} {# #} {# #} {% endfor %} {# #} {% for VAT_AMOUNT in VAT_AMOUNTS %} {# #} {% endfor %} {# #}
S/NAnz PosEinzelpreisUSt. Betrag
{{ key + 1 }}{{ ITEM.quantity }}x {# { ITEM.quantity_unit } #} {{ ITEM.title }}


{{ ITEM.text | nl2br }}


{% if ITEM.from_date == ITEM.to_date %}

Leistungsdatum: {{ ITEM.from_date |date('d.m.Y') }}

{% else %}

Leistungszeitraum: {{ ITEM.from_date |date('d.m.Y') }} bis {{ ITEM.to_date |date('d.m.Y') }}

{% endif %}
{{ ITEM.unit_price }}{{ ITEM.vat_percent }} {{ ITEM.total_net_price }}
Summe (Netto) {{ NET_TOTAL }}
{{ VAT_AMOUNT.percent }} USt. auf {{ VAT_AMOUNT.net }} {{ VAT_AMOUNT.amount }}
Gesamtsumme {{ GROSS_TOTAL }}

{{ INVOICE_COMMENT |nl2br }}

{{ PAYMENT_TEXT |nl2br }}