Do I pay tax for a 529 plan withdrawal used for tuition fees and expenses in a foreign country that does not have a federal school code?

I have a proof of payment of tuition fees from the university, list of book fees: I assume this is not taxable. Student housing is not managed by the school so assume this rent would be taxable.