Is there a way of generating an invoice number and printing out an invo