INVOICE
{{ invoice.number }}
Issue Date: {{ invoice.issue_date | format_date }}
{% if invoice.due_date %}
Due Date: {{ invoice.due_date | format_date }}
{% endif %}
From
{% if invoice.seller %} {% if invoice.seller.name %}
{{ invoice.seller.name }}
{% endif %}
{%- if invoice.seller.address %}{{ invoice.seller.address }}{% endif %} {%- if invoice.seller.vat %} VAT: {{ invoice.seller.vat }}{% endif %} {%- if invoice.seller.email %} {{ invoice.seller.email }}{% endif %}
{% endif %}
Bill To
{{ invoice.client_name }}
{% if invoice.client %}
{%- if invoice.client.address %}{{ invoice.client.address }}{% endif %} {%- if invoice.client.vat %} VAT: {{ invoice.client.vat }}{% endif %} {%- if invoice.client.note %} {{ invoice.client.note }}{% endif %}
{% endif %}
{% for item in invoice.items %} {% endfor %}
Date Description Hours Rate Amount
{{ item.start | format_date }} {{ item.start.strftime('%H:%M') }} - {{ item.end.strftime('%H:%M') }} {% if item.rate_type != 'normal' %} ({{ item.rate_type }}) {% endif %} {{ item.duration | format_duration }} {{ item.rate | format_money }} {{ item.currency }} {{ item.amount | format_money }} {{ item.currency }}
Total Hours {{ "%.2f"|format(invoice.total_hours) }}h
{% for currency, amount in invoice.total_by_currency.items() %}
Total {{ amount | format_money }} {{ currency }}
{% endfor %}
{% if invoice.seller and (invoice.seller.bank or invoice.seller.bank_account) %}
Payment Information
{% if invoice.seller.bank %}
Bank: {{ invoice.seller.bank }}
{% endif %} {% if invoice.seller.bank_account %}
Account: {{ invoice.seller.bank_account }}
{% endif %} {% if invoice.seller.bic %}
BIC/SWIFT: {{ invoice.seller.bic }}
{% endif %}
{% endif %} {% if invoice.seller and invoice.seller.note %} {% endif %}