Auto-reset ID at a specific date

How about an option on invoice groups that reset the next ID to 1 once at a specific date?

example:
at the end of the year an invoice group have to be reset to 1.

[size=10]Last Update: 19.01.2016[/size]