I have excess salary deferral from over contributing to 401K. The amount returned to me by my financial institution is less than my contribution.

I'm filing taxes for 2022 and 2022 is the year when I made excess contribution due to a job change. I contacted my financial institution in March, 2023 and got it corrected. My financial institution returned to me amount which is less than my contribution, it looks like they deduct 10% as early withdrawal fee already. So my question is how do I report this on 1099-R as I will only get it next year. What amount do I report in boxes 1 and 2a? Should it be the amount for which I received the check? or should it be original amount of excess contributions? At this point I don't even know if there's any earnings. Would I be able to claim this 10% deduction already done by my financial institution? If the amounts are very different on 1099-R next year, how do I make the corrections?