No, you paid 3% retention tax which is witheld on all sales for non-residents. If there is no capital gains tax to be paid (that is, you didn't make a profit on the sale) then the 3% is refunded but you have to apply for it.
If you made a profit then the Capital Gains is levied at 19%. If there is a balance to pay then you must make up the difference. You can offset improvements, fees etc from the amount you received for the property.
If you are a resident then you don't pay the 3% retention tax and, if buying another property with all the profits, don't pay CGT on it if you have lived in it for 3 years.