diff --git a/templates/xml/factur-x-basic.xml.j2.back b/templates/xml/factur-x-basic.xml.j2.back deleted file mode 100644 index 654bb02..0000000 --- a/templates/xml/factur-x-basic.xml.j2.back +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - urn:cen.eu:en16931:2017#compliant#urn:factur-x.eu:1p0:basic - - - - - - {{ invoice.number }} - {{ invoice.type_code }} - - {{ invoice.issue_date | datefmt }} - - {% if invoice.note %} - - {{ invoice.note }} - - {% endif %} - - - - - - - {% for line in invoice.lines %} - - - {{ line.line_id }} - - - {{ line.description }} - - - - {{ line.unit_price | amount }} - - - - {{ line.quantity | amount }} - - - - VAT - {{ line.vat_category }} - {{ line.vat_rate | amount }} - - - {{ (line.quantity * line.unit_price) | amount }} - - - - {% endfor %} - - - - - - {{ seller.name }} - {% if seller.siret %} - - {{ seller.siret }} - - {% endif %} - {% if seller.address %} - - {{ seller.address.postcode }} - {{ seller.address.line1 }} - {% if seller.address.line2 %} - {{ seller.address.line2 }} - {% endif %} - {{ seller.address.city }} - {{ seller.address.country_code }} - - {% endif %} - {% if seller.vat_id %} - - {{ seller.vat_id }} - - {% endif %} - - - - {{ buyer.name }} - {% if buyer.siret %} - - {{ buyer.siret }} - - {% endif %} - {% if buyer.address %} - - {{ buyer.address.postcode }} - {{ buyer.address.line1 }} - {% if buyer.address.line2 %} - {{ buyer.address.line2 }} - {% endif %} - {{ buyer.address.city }} - {{ buyer.address.country_code }} - - {% endif %} - - - {% if invoice.payment_reference %} - - {{ invoice.payment_reference }} - - {% endif %} - - - - - - - {{ buyer.name }} - - - - - - {{ invoice.currency }} - - - {{ invoice.payment_means_code }} - {% if invoice.iban %} - - {{ invoice.iban }} - - {% endif %} - - - {% for tax in invoice.tax_lines %} - - {{ tax.amount | amount }} - VAT - {% if tax.exemption_reason %} - {{ tax.exemption_reason }} - {% endif %} - {{ tax.base_amount | amount }} - {{ tax.category }} - {{ tax.rate | amount }} - - - - - {{ tax.amount | amount }} - VAT - {{ tax.base_amount | amount }} - {{ tax.category }} - {{ tax.rate | amount }} - - {% endfor %} - - {% if invoice.due_date %} - - - {{ invoice.due_date | datefmt }} - - - {% endif %} - - - {{ invoice.total_ht | amount }} - {{ invoice.total_ht | amount }} - {{ invoice.total_tva | amount }} - {{ invoice.total_ttc | amount }} - {{ invoice.total_ttc | amount }} - - - - - -