If the books were required to be purchased at the university bookstore, you can enter that as a required expense. It doesn't matter if you used grant funds or your own funds to pay for your textbooks, it is still counted as an education expense for you.