IRS estimated tax penalty after amended return with Form 8889 despite refund
Filed my original 1040 on time and got a small refund. Then I realized I'd left out my HSA contributions on Form 8889 so I filed a 1040-X to claim the deduction. After the IRS processed the amended return they sent a notice saying I owe an estimated tax penalty, even though I ended up with a refund on the amended return too. I don't understand how I can owe a penalty when I'm getting money back. The notice doesn't have a CP or LTR number I can find easily, it's on the first page somewhere in the corner but hard to read. I haven't called yet or done anything. Is the estimated tax penalty calculated on the original return's numbers, the amended numbers, or something else? And does the refund from the 1040-X actually cancel out or reduce the penalty?