Steps to generate and print invoices