Please read this post
Also, provide the sample input and output with all the possibilities.
Alternate Approach
Try to extract the invoice amount from PDFs and some unique id say invoice number and save them in a Data Table.
You already have the excel of invoice amount, read this excel into data table by using Read Range Activity and then compare both the table using the Join.