Only use the button when you create a new invoice.
Invoices
Customer
Only use the button when you create a new invoice. When you create an invoice select the year relation and then click on the “Create invoice number” button
Invoices (2)
Customer (2)
Year