I hold a Green Card, but I bought a property in Panama before coming to the US (I was not resident by then). Now I am selling the property and I will pay Panama taxes there (I believe it is 5% of total property value). Do I still have to pay US taxes? If so, how much? Can I get credited the tax paid in Panama? How does it work with overseas properties?