invoice2data icon indicating copy to clipboard operation
invoice2data copied to clipboard

Filename of source PDF in output

Open rschueler opened this issue 5 years ago • 1 comments

Is there a way to get the filename of the source PDF in the output? Because if you parse a whole folder full of PDFs you will not know which record belongs to which file.

rschueler avatar Mar 25 '20 11:03 rschueler

You can simply use the --output-name option on invoice2data. Make your script read directory files and for each file call invoice2data with something like --output-name $file-parsed.

rmilecki avatar Oct 27 '20 20:10 rmilecki