Hi Greg,
As you are not employed by this company, the payment you have recieved would be considered a royalty, which falls under self employment.
You should complete SA103S, to declare the payment.
You can also claim up to £1000.00 business income allowance, if you are not claiming any expenses.
You do not need to complete the foreign section, if you declare the royalty in SA103S, unless you paid tax in the overseas country and wish to claim a tax credit.
Self Assessment: self-employment (short) (SA103S).
Thank you.