How can I match multiple PDF files back to their respective expense report IDs?
I'm downloading PDFs with images for employee expense reports. To load into our imaging system, I need to match these PDFs back to their respective expense reports for automated loading.
The trouble is that I am needing one PDF per expense report/invoice, but there's no way to match the pdf files back to an expense report because the names are random. If I could force the pdf filenames to be the expense report IDs that would solve the problem. But how is anyone supposed to use a set of PDF files that come back with names like this:
How am I supposed to do anything programmatically to know which PDF goes to which expense report??