The clerk in whose name a security is taken or by whom an investment is made shall receive the interest and principal as it becomes due, and apply and invest it as the court may direct. The clerk shall deposit in the clerk's office all securities taken, and keep an account in a book provided and kept for that purpose in the clerk's office, free for inspection by all persons, of investments and money received by the clerk from the investments, and their disposition.