Bill Number Starting each financial Year

Is there a way to reset bill Number to 1 from start of each financial year?
In India we have to start our invoicing from No. 1 each financial year.

Use this format XXXX0000. The Xs are the year’s digits. Each new year, manually enter the new invoice number (e.g. 20210001).

You can hide the years digits using a custom theme.

Thanks a lot sir.
But i was looking for some simpler alternative which could have been in - built in Manager.