When the treasurer pays any warrant on which any interest is due, he must note on the warrant the amount of interest paid thereon and enter on his account the amount of such interest distinct from the principal.