When you successfully conquer a Port City, you can set the tax rate for the conquered city.
Once the tax rate is set, a portion of the Trade profit will be deducted as tax.