How to set leave for a financial year

Hi,

How to set leaves for a financial year so if someone has 20 days paid leave in a financial year then that leave will be automatically updated on the next financial year and last year’s leave can be add on the next year or can be removed/archived. How is it possible?