For simplicity, the fact that characters generally sell treasure for 50% of value, can be considered to be the party's take after taxes, fees, and the like. Same goes for gems and jewelery, if sold at less than full value (normally through a jeweler/money changer) - although these can be given...