Factura

{{ order.order.company }} Fecha:
NIF/CIF: {{ order.order.nipNifSeller }}
{{ order.order.sellerAddress }}
{{ order.order.sellerCountry }}, {{ order.order.sellerState }}, {{ order.order.sellerCity }}
Tel: {{ order.order.sellerPhone1 }} {{ (order.order.sellerPhone2 is not null) ? ' - ' ~ order.order.sellerPhone2 : '' }} Número de factura:

{% if order.order.sellerLogo %}
Current logo
{% endif %}
Facturar a:
{{ order.order.billingFirstName ~ " " ~ order.order.billingLastName }}
Empresa: {{ order.order.client_company }} {% if order.order.nipNifClient == '0' %}
NIF/CIF: {% else %}
NIF/CIF: {{ order.order.nipNifClient }} {% endif %}
{{ order.order.billingAddressOne ~ (order.order.billingAddressTwo is not null ? " - " ~ order.order.billingAddressTwo : "") }}
{{ order.order.billingPostCode }} {{ order.order.billingState }}, {{ order.order.billingCountry }}
Enviar a:
{{ order.order.firstName ~ " " ~ order.order.lastName }}
{{ order.order.addressOne ~ (order.order.addressTwo is not null ? " - " ~ order.order.addressTwo : "") }}
{{ order.order.postCode }} {{ order.order.state }}, {{ order.order.country }}
Información del pedido
Método de envío: {{ order.courier }}
Método de pago: {{ order.order.paymentMethod }}
Tracking: {{ order.order.tracking }}

{% set totalTax = 0 %} {% set totalWithoutTax = 0 %} {% for line in order.lines %} {% set childLinesCount = line.childShipmentLines.count() %} {% set lineTax = (line.linePrice * (line.taxRate)/100)|round(2) %} {% set totalTax = (totalTax + lineTax)|round(2) %} {% set totalWithoutTax = (totalWithoutTax + line.linePrice)|round(2) %} {% for subLine in line.childShipmentLines %} {% endfor %} {% endfor %} {% set shippingCost = (order.order.shippingCost is null ? 0 : order.order.shippingCost) %} {% set shippingIva = (shippingCost * 0.21)|round(2) %}
Descripción Cantidad Precio IVA (%) IVA Importe
{{ line.product.name|length > 100 ? line.product.name[:120] ~ '...' : line.product.name}} {{ line.quantity }} {{ line.linePrice|round(2) }}€ {{ line.taxRate|round(2) }} {{ lineTax|round(2) }}€ {{ line.linePrice|round(2) }}€
{{ subLine.product.name|length > 100 ? subLine.product.name[:120] ~ '...' : subLine.product.name}} {{ subLine.quantity }}
 
Gastos de envío21 {{ shippingIva|round(2) }}€ {{ shippingCost|round(2) }}€
Total