You will enter the New York IT 2663 as an Estimated Payment. (See below). You will have to pay New York nonresident tax on the transaction. You will also have to report the sale on your Alabama resident tax return. but you will be able to take a credit for any taxes paid to New York so you will not be double taxed,