Is there a way to automatically update the invoice number when we create a new invoice. I’m havin...

Is there a way to automatically update the invoice number when we create a new invoice. I’m having to do it manually and remember the last number and it’s causing problems as I’m sending out invoices that relate to invoices that have already been sent and paid for and then I have to go in and update the invoice number and resend.