Use PDF for documents
PDF is usually best when a scan represents a document, form, receipt, report, or multiple pages that should stay together.
Use JPG for image uploads
JPG is useful when a website specifically asks for an image file or when you need a single page preview.
Check readability
Whether you choose PDF or JPG, zoom in and make sure small text, signatures, stamps, and page edges are readable.