Invoice

Invoice number
{{ number }}
Date
{{ date | date('%b %d, %Y') }}
{% set total = namespace(total=0) %} {% for item in items %} {% set item_total = item.price * item.quantity %} {% set total.total = total.total + item_total %} {% endfor %}
Description Price Quantity Subtotal
{{ item.description }} € {{ item.price }} {{ item.quantity }} € {{ "{:,.2f}".format(item_total) }}
Due by Account number Total due
{{ date | add_days(14) | date('%b %d, %Y') }} 132 456 789 012 € {{ "{:,.2f}".format(total.total) }}