{% autoescape off %}
	%Preambule du document :
	\documentclass[11pt]{report}
	\usepackage[utf8]{inputenc}
	\usepackage[francais]{babel}

	%Corps du document :
	\begin{document}
	    Number : {{ invoice.number }}
	    Date : {{ invoice.date }}
	    Facture du {{ invoice.period_from }} au {{ invoice.period_to }}
	    Paiement le : {{ invoice.date_due }}

	    Détails :
	    {% for detail in invoice.details.all %}
	    	{{ detail.label }}
	    	{{ detail.amount }}
	    	{{ detail.quantity }}
	    	{{ detail.tax }}
	    {% endfor %}

	\end{document}
{% endautoescape %}