Two field types
Upload PDF
Upload image
Use them like any other field in a template, and choose who fills them in. That person is asked to upload the file, for example a copy of an ID card or a signed form, and it becomes part of the document.