How to add multiple invoices in pdf format to a single excel file?

I want to store the extracted data in a single excel sheet currently multiple excel files are being created for multiple invoices