Does it matter when 529 withdrawals are made during the year?

Hypothetical: In January my daughter had a tuition bill (tuition only) of $15K. To pay part of it I take $5K out of her 529 leaving a balance of $6K. Before year's end can I just take out the remaining $6K to ... let's say help her buy a car? The total of $11K withdrawn is still less than the $15K tuition bill. I should add ... withdraw without a penalty.