When you successfully conquer a Port City, you can set the tax rate for the conquered city.
Upon setting the tax rate, part of trade profit will be deducted as tax.