Hi flaccus,
NT tax code ensures that no tax is deducted from pensions or employment.
As every double taxation agreements is individual to each country, we cannot answer your question, as the answer would depend on the country in question.
If you do not need to complete a tax return, you should submit online form P85.
If you do complete a tax return, you should also complete SA109 (residence) and HS304.
Non-residents tax relief under double taxation agreements (Self Assessment helpsheet HS304)
Thank you.