529 disbursement recipient

College expenses were paid to the university out of the parents bank account. It is now the end of the year and we plan to pull money out of the 529 plan to be reimbursed for these expenses. For tax purposes, does it matter if the disbursement is made to the account owner (parent) or beneficiary (student)?