Repeating invoice numbers

Repeating invoice numbers

At present time it seems that invoice number must be unique. Due to local regulation, I need to reset my invoice number at a beginning of each year. This seems to be impossible in Invoices since the number must be unique. Is that really so? Any way to remove the uniqueness check? How to circumvent this? (Please note, I am not allowed to add any prefix/suffix to my invoice number!)