Deductions & credits

Yes, box 5 on the 2017 5498-SA is the value of your HSA on December 17, 2017.

The 5329 is asking for this amount because you are being assessed a penalty for an excess HSA contribution, which is 6% of the smaller of the excess or your HSA value at the end of the year.

The 5329 is not mailed to you; it is generated automatically by TurboTax as part of the penalty processing.