IRS received payment but applied it wrong and says deceased parent still owes
My mother passed away in February and I'm the executor of her estate. She had a balance due on her 2023 return, so I sent in a check from the estate account in April with Form 1310 attached. The check cleared our bank in early May. Now it's August and I got a CP504 on behalf of her estate saying she still owes the full original amount plus penalties and interest. I called the IRS and was on hold for two hours before getting disconnected. I looked up the check image and it definitely cleared — the IRS even stamped it on the back. But somehow the payment got applied to the wrong tax year or the wrong account. Has anyone dealt with the IRS received payment but applied it wrong and says deceased parent still owes situation before? Do I write in or call? I don't know if the CP504 means they're about to levy the estate bank account.