Create invoices from templates with jinja2