To make your capital gains tax-free, you should set up your exemption order with the bank by the end of the year (ideally by early November). This way, it can still be applied to all earnings for the current year. Otherwise, a newly submitted exemption only applies starting the following year for future dividend payouts and capital gains.