excess withdrawal on multiple 529s for American Opportunity Credit -- allocation
I have a 529 with my daughter as a beneficiary, and my daughter also has her own 529 with herself as the beneficiary. In 2025, we withdrew enough from the 529 to exactly match all the educational expenses, because there were reasons I thought we wouldn't want to claim the American Opportunity credit this year. However, now I do want to claim the credit, so I apportioned $4000 for the credit, which makes part of the $4000 taxable. My daughter will have to file taxes, but since she's our dependent and she has enough income, her marginal rate will be the same as ours (kiddie tax).
My question is about the allocation of the $4000 among the two 529s. Are we allowed to choose how it is allocated? For example, my daughter's 529 withdrawal has a lower percentage that is earnings, so if we could choose to allocate the entire $4000 to her withdrawal, we would overall pay less tax on it. However, I'm the one claiming the credit on my taxes. TurboTax (desktop) seems to be spreading the $4000 across the two 529s according to the percentages of the expenses that were paid from each source. If we are allowed to change it, how would I get TurboTax to make that change? Thank you!