The guidance just says it needs to be: "A letter from the employer(s) who issued the payslips"... It doesn't specify who in the company needs to write it.
Most people either have the letter written by their line manager or by their HR department, depending on how their company operates. In some cases their only option is a letter from HR, in others, they can ask their manager.