According to the HMRC website, (https://www.gov.uk/tax-uk-income-live-abroad) it is mentioned that if you earn wages in the UK (P60) as a non UK resident, you will still need to pay UK taxes on this.
However, consultants of the employer have informed me that as a non UK resident, you are able to claim this back on the self assessment if you have had to work abroad on box 12 (foreign earnings not taxable in the UK) on page Ai2 of the self assessment under the heading 'Share schemes and employment lump sums, compensation and deductions,certain post-employment income and patent royalty payments'
Is this correct? What requirements are needed for a non UK resident person to claim back tax on the UK P60 earnings on the self assesssment? and if so is putting it on box 12 (foreign earnings not taxable in the UK) on page Ai2 correct?