On receipt of any funds by the state agent, it shall be the duty of such agent to notify the officer from whom received, of the receipt thereof; and immediately on the payment of such bonds or coupons for which funds were remitted, said coupons or bonds shall be canceled and returned to the officer from whom such funds were received.