Hello, now I have prices with VAT included, so I updated my Order Printer template invoices
But for a reason I can’t explain, VAT isn’t showing up
Any ideas would greatly help me !
Thank you in advance
I have tried:
{{ tax_line.price | money }}
as well as
{% for tax_line in line_item.tax_lines %}> {{ tax_line.price | money }} {{ tax_line.title }}
{% endfor %}>
as well as
{% if line_item.tax_lines %}> > {% for tax_line in line_item.tax_lines %}> {{ tax_line.price | money }} {{ tax_line.title }}
{% endfor %}> > {% endif %}
Here is the complete code below:
{{ shop_name }}>
Numéro de la commande : {{ order_name }}>
Date de la facture : {{ “now” | date: “%d/%m/%y” }}
Date du règlement : {{ “now” | date: “%d/%m/%y” }}
{{ shop.address }}
{{ shop.city }} {{ shop.province_code }} {{ shop.zip | upcase }}
{{ shop.country }}>
Détails des services> > > > > > > > > > > {% for line_item in line_items %}> > > > > > {% endfor %}> >
Quantité | Service | Prix unitaire |
---|---|---|
{{ line_item.quantity }} x | {{ line_item.title }} | > {% if line_item.original_price != line_item.price %}> ~~{{ line_item.original_price |
{% if transactions.size > 1 %}> ### Détails de la transaction> > > > > > > > > > > {% for transaction in transactions %}> > > > > > > {% endfor %}> >
Type | Montant | Action | Statut |
---|---|---|---|
{{ transaction.gateway | payment_method }} | {{ transaction.amount | money }} |
{% endif %}> > ### Détails du paiement> > > > > > > {% for discount in discounts %}> > > > > {% endfor %}> > > > > > > > > {% if total_paid != total_price %}> > > > > > > > > {% endif %}>
| Sous-total : | {{ subtotal_price | money }} |
| - | - |
| Promotion incluse “{{ discount.code }}” | {{ discount.savings | money }} |
| TVA : | {{ tax_line.price | money }} |
| Montant TTC : | {{ total_price | money }} |
| Total payé : | {{ total_paid | money }} |
| Montant impayé : | {{ total_price | minus: total_paid | money }} |
{% if note %}> ### Note>
{{ note }}
{% endif %}> > {% if shipping_address %}> ### Bénéficiaire> > > {{ shipping_address.name }}
{% if shipping_address.company %}> {{ shipping_address.company }}
{% endif %}> {{ shipping_address.street }}
{{ shipping_address.city }}> {{ shipping_address.province_code }}> {{ shipping_address.zip | upcase }}
{{ shipping_address.country }}>
{% endif %}>
N°TVA : FR27817672272
Je reste à votre disposition si vous avez des questions.>
Contactez-moi à l’adresse {{ shop.email }}