Hi @jlivio ,
Assuming your have the Invoice number in the metadata of the library, the design of an app I have may assist.
I have a gallery based on a Library (yours could be filtering the Library on the Invoice number) and I display a Thumbnail of the document in this
ThisItem.'Thumbnail ({Thumbnail})'.Large

The top icon then launches the document in the viewer.
Firstly varSite is simply the base site address then this
Set(
ViewPDF,
PDFView.Run(
varSite,
"/" & ThisItem.'Folder path' & ThisItem.'File name with extension'
)
)
the Document of the view is
varPDF.pdf
and the Flow is simply this

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.