From the details window you can use the “Export” button to obtain all the metadata and files of a document:
By default, an XLSX file is generated with the metadata that is currently displayed in the details window. An administrator can optionally indicate whether to include the non-visible fields.
If the files are included, a ZIP file is generated that includes, on the one hand, the XLSX file with the metadata and, on the other, all the files stored in the main file, attachments, and archive fields.
When you click on accept, the file transfer window will open where you can see the progress of the export: