{% load i18n currency_filters compress static wagtailcore_tags wagtailsettings_tags %}{% if not settings %}{% get_settings %}{% endif %} {% trans "Invoice" %} {% compress css inline %} {% endcompress %}
{% block header %} {% endblock %} {% block addresses %} {% endblock %} {% block order_line_header %} {% endblock %} {% block order_lines %} {% for line in order.lines.all %} {% endfor %} {% endblock %} {% block order_totals %} {% if order.lines.count > 1 %} {% endif %} {% with surcharges=order.surcharges.all %} {% if surcharges %} {% for charge in surcharges %} {% endfor %} {% endif %} {% endwith %} {% endblock %} {% block terms_and_conditions %} {% if terms_and_conditions %} {% endif %} {% endblock %} {% block additional_data %} {% if additional_data %} {% endif %} {% endblock %}
{% block legal_entity %} {% endblock %}
{% if legal_entity.logo %} {% else %}

{{ legal_entity.shop_name }}

{% endif %}
{{ legal_entity.business_name }}
{% if legal_entity.web_site %} {{ legal_entity.shop_name }} {% endif %}
{% if legal_entity_address.first_name %} {{ legal_entity_address.first_name }} {% endif %} {% if legal_entity_address.last_name %} {{ legal_entity_address.last_name }}
{% endif %} {{ legal_entity_address.line1 }}
{% if legal_entity_address.postcode %} {{ legal_entity_address.postcode }} {% endif %} {% if legal_entity_address.city %} {{ legal_entity_address.city }}
{% endif %} {% if legal_entity_address.state %} {{ legal_entity_address.state }}
{% endif %} {{ legal_entity_address.country }}
{% if legal_entity_address.phone_number %} {% trans "Tel" %}: {{ legal_entity_address.phone_number }}
{% endif %} {% if legal_entity_address.fax_number %} {% trans "Fax" %}: {{ legal_entity_address.fax_number }}
{% endif %} {% if legal_entity.email %} {{ legal_entity.email }}
{% endif %} {% trans "VAT" %}: {{ legal_entity.vat_number }}
{% if legal_entity_address.line2 %} {{ legal_entity_address.line2 }}
{% endif %} {% if legal_entity_address.line3 %} {{ legal_entity_address.line3 }}
{% endif %} {% if legal_entity.iban %} {% trans "IBAN" %}: {{ legal_entity.iban }}
{% endif %} {% if legal_entity.bic %} {% trans "BIC" %}: {{ legal_entity.bic }} {% endif %}

{% trans 'Invoice' %}

{% if order.billing_address %}
{% trans "Billing address" %}:
{% for field in order.billing_address.ordered_active_address_fields %} {{ field }}
{% endfor %} {% if order.vat_entry %} {% trans 'VAT' %}: {{ order.vat_entry.vat_number }} {% endif %}
{% else %}
{% trans "Billing address" %}:
{% for field in order.shipping_address.ordered_active_address_fields %} {{ field }}
{% endfor %} {{ order.email }}
{{ order.shipping_address.phone_number }} {% if order.vat_entry %} {% trans 'VAT' %}: {{ order.vat_entry.vat_number }} {% endif %}
{% endif %}
{% trans "Shipping address" %}:
{% for field in order.shipping_address.ordered_active_address_fields %} {{ field }}
{% endfor %} {{ order.email }}
{{ order.shipping_address.phone_number }}
{% trans "Original invoice" %}
#{{ invoice.number }}
{% trans "Invoice date" %}
{% now 'd F Y' %}
{% trans "Ordernumber" %}
#{{ order.number }}
{% trans "Orderdate" %}
{{ order.date_placed|date:'d F Y' }} {% if order.vat_entry and order.total_tax == 0 %}
{% trans "intra-Community supply" %}
artikel 138, lid 1, Richtlijn 2006/112 {% endif %}
{% trans "Payment method" %} {% for source in order.sources.all %} {% blocktrans with type=source.source_type.name %} {{ type }} {% endblocktrans %} {% empty %} {% trans "No payment was required for this order." %} {% endfor %} {% trans "Shipping method" %} {{ order.shipping_method }} {% if order.shipping_address.notes %} {% trans "Comment" %} {{ order.shipping_address.notes }} {% endif %}
{% trans "Description" %}     {% trans "Unit price" %}  {% trans "Quantity" %}  {% trans "Price" %} {% trans "Discount" %} {% trans "Tax invoice column" %} {% trans "Total excl. tax invoice column" %} {% trans "Total" %}
{{ line.title }}{% if line.attributes.exists %}
    {% for option in line.attributes.all %}
  • {{ option.option.name }}: {{ option.display_value }}
  • {% endfor %}
{% endif %}
{{ line.unit_price_incl_tax|currency:order.currency }} {{ line.quantity }} {{ line.line_price_before_discounts_incl_tax|currency:order.currency }} {% if line.discount_incl_tax %} {{ line.discount_incl_tax.copy_negate|currency:order.currency }}{% else %}-{% endif %} {{ line.line_price_tax|currency:order.currency }} {{ line.line_price_excl_tax|currency:order.currency }} {{ line.line_price_incl_tax|currency:order.currency }}
{% trans "Subtotal" %} {{ order.basket_total_before_discounts_incl_tax|currency:order.currency }} {% if order.basket_discount_incl_tax %} {{ order.basket_discount_incl_tax.copy_negate|currency:order.currency }}{% else %} -{% endif %} {{ order.basket_total_tax|currency:order.currency }} {{ order.basket_total_excl_tax|currency:order.currency }} {{ order.basket_total_incl_tax|currency:order.currency }}
{% trans "Shipping charge" %} {{ order.shipping_before_discounts_incl_tax|currency:order.currency }} {% if order.shipping_discount_incl_tax %} {{ order.shipping_discount_incl_tax.copy_negate|currency:order.currency }}{% else %} -{% endif %} {{ order.shipping_tax|currency:order.currency }} {{ order.shipping_excl_tax|currency:order.currency }} {{ order.shipping_incl_tax|currency:order.currency }}
{{ charge.name }} {{ charge.incl_tax|currency:order.currency }} - {{ charge.tax|currency:order.currency }} {{ charge.excl_tax|currency:order.currency }} {{ charge.incl_tax|currency:order.currency }}
{% trans "Total" %} {{ order.total_before_discounts_incl_tax|currency:order.currency }} {% if order.total_order_discount_incl_tax %} {{ order.total_order_discount_incl_tax.copy_negate|currency:order.currency }}{% else %} -{% endif %} {{ order.total_tax|currency:order.currency }} {{ order.total_excl_tax|currency:order.currency }} {{ order.total_incl_tax|currency:order.currency }}

{% trans "Terms and conditions" %}:

{{ terms_and_conditions }}

{% trans "Notes" %}:

{{ additional_data }}