Added method to generate new invoice number