HR were clever and never mentioned the conditions in offer letter but in the agreement. Now retention bonus for 1 year is paid semi annually on completion. If you resign, the year is calculated from that date and any payment within that time has to be returned.On resignation, the year is calculated from the resignation date instead of joining date from which the year actually completed. This was communicated in agreement signed on joining day. They ask for full refund of the amount paid in the year calculated from resignation. Since it is not a monthly income but periodic payment done under conditions, is it legal to list bonus under Salary sec 17 (1) , is it not contingent income ? How is back calculation legal ?