Workers in southern Scotland can find themselves paying more tax than colleagues who live south of the border.