The reason some companies insist on a document is that they feed it to their HR systems, which is not (always) possible with Linkedin
https://www.linkedin.com/help/linkedin/answer/a541960
https://www.linkedin.com/help/linkedin/answer/a541960