How do I generate and print final invoices?