Retirement tax questions

I don't think the year ending balance is on the 5498.  You would use the 12/31 account statement.  You may get a 5498 at the beginning of the year if you need to take out the RMD if you are the right age in addition to getting one for contributions.  Paging @dmertz