{% extends "invoicing/_base.html" %} {% block page_title %}{{ invoice }}{% endblock %} {% block invoicing_content %}

{{ invoice.get_kind_display }} {{ invoice.number }}

Émise le {{ invoice.issue_date|date:"d/m/Y" }}{% if document_url %} · pièce d'origine{% endif %}
Voir le PDF Télécharger
{% for l in lines %}{% endfor %} {% for a in invoice.allowances %}{% endfor %}
DésignationQtéPU HTTVAMontant HT
{{ l.description }}{{ l.quantity.normalize }}{{ l.net_price|floatformat:2 }} {% widthratio l.vat_rate 1 100 %} %{{ l.net_amount|floatformat:"2g" }}
{{ a.label }}-{{ a.amount|floatformat:"2g" }}
Total HT{{ invoice.total_ht|floatformat:"2g" }}
TVA{{ invoice.total_vat|floatformat:"2g" }}
Total TTC{{ invoice.total_ttc|floatformat:"2g" }} €
{% if invoice.note %}
{{ invoice.note }}
{% endif %}

Client

{{ invoice.buyer_name }}
{{ invoice.buyer_address }}
{{ invoice.buyer_postal_code }} {{ invoice.buyer_city }}
{% if invoice.buyer_email %}
{{ invoice.buyer_email }}
{% endif %} {% if invoice.buyer_siren %}
SIREN {{ invoice.buyer_siren }}
{% endif %} {% if invoice.buyer_vat_number %}
TVA {{ invoice.buyer_vat_number }}
{% endif %}

Paiement

{% if invoice.paid_at %}Acquittée le {{ invoice.paid_at|date:"d/m/Y" }}{% if invoice.payment_method %} ({{ invoice.payment_method }}){% endif %}{% else %}{{ invoice.payment_terms|default:"À régler" }}{% endif %}

Archivage

PDF/A-3 Factur-X (profil EN 16931)
SHA-256 : {{ invoice.pdf_sha256 }}
{% if invoice.credited_invoice %}{% endif %} {% for c in credit_notes %}
Annulée par l'avoir {{ c.number }}
{% endfor %} {% if not invoice.is_credit_note and not credit_notes and perms.invoicing.add_invoice %}
{% csrf_token %}
{% endif %}
{% endblock %}