Fetch the latest version of an upload document from the docparse database