After you file

Thanks.  Is the community in agreement with how I came about the figures on the first screen or should I have done something different?  On my completed CT 1040, I just reduced the taxable wages figure by the taxable wage figure that I believe I was taxed in both states. I then saw my before and after tax liability and used the difference as the tax CT collected on that wage earned in CT but resided in MA. That is what I inputted on the State MA CREDIT page