Investors and rental owners

Thanks, so I would need to prorate the taxes for each T5 slip ... ? for foreign source income.  There were taxes witheld on the foreign pension ... should I enter the taxes withheld or the taxes actually on that income since I am prorating everything out?