Education

Hi I have a similar issue and hope I can get some help from you.  I also paid tuition and room and board $12K to my son’s college on 1/2/2020 for Spring 2020.  The statement date was 12/2/2019 for tuitions and 1/2/2020  for room and board. We could not pay everything till 1/2/2020. I am thinking I can use this $12K as the educational expenses to offset the 529 withdrawals I made in 2019.  Can I? The only 1098-T I received was for Fall 2019 semester. Thanks.