529K distribution

I have been reading other similar posts and responses to below but am still unsure what to do.

 

1. I had my sons 529K distribution sent directly to me and then I paid the school directly. 

2. The check was made out to me- not the school or to my son.

3. The 529K shows the checkbox checked that the recipient is not the designated beneficiary and distribution code = 1

4. I paid the school directly for the college tuition

5. Because of #3 above, when I enter into turbo tax it is considering this as taxable income and increasing my taxes.

6. How do I show or prove that these funds were used and paid to the school?

6. I should also note that Turbo tax is telling me I cannot write off any tuition expenses for my child as our total income was too much. Is there anything we should be doing differently for 2023?