[new] functional front end template for invoices