Does the IRS apply your refund to tax first or penalties and interest?
So I've been on an installment agreement for about two years for a 2021 balance. Filed my 2023 return in April and expected a decent refund — figured it would knock down what I owe. Never saw the money. Transcript shows it was applied but I'm trying to understand does irs apply refund to tax first or penalties and interest, because I want to know how much of the actual tax principal came down. Called the IRS once and the rep said something about "oldest period first" but didn't break down what within that period goes first. Is it always tax, then penalties, then interest? Or does it depend on something? I pulled my account transcript and see multiple transaction codes but can't tell what order things landed in.