It can be line manager, HR or even system generated (in some large companies its system generated).
If you dont get a letter that clearly describes your job and responsibilities, just get a letter from your line manager/co worker/ superior along with a copy of their visiting card / id card that has company logo and contact info.