The amounts on Form 1042-S and T5 are not the same.
Are the amounts on the two forms different because one is in USD and the other is CAD?