Steps to generate invoices from POS orders