In mid April I left Canada and worked as a sole trader in the UK. A portion of my earnings were from a contract with a Canadian company. How should I report this?

In particular should this be reported as 'from Canadian sources' or 'from Foreign sources'. They paid me in CAD based on a monthly invoice I sent them with the hours I worked on their contract.