After you file

I apologize as I was not clear, my question is, how does the TT software calculate Previous Payments on a return (amended or otherwise), or where does TT get the values to come up with Previous Payments, or what method does TT use to calculate Previous Payments?