Extract data of invoice from multiple PDF file

Hi All,

How to get single value from multiple pages of pdf for ex. i want to extract Invoice Amount dues from multiple page of pdf and in all the pages are content are same, but only amount is different. please help me out

Hi @Kiran_Bg

Use String arr=Directory.getFiles(inputFilePath)

for each item in strarr

use Read pdf with ocr

and pass the str result

use regex to get the invoice amount

(?<=Invoice Amount:).* is the regex pattern

Thanks
Ashwin S

Thanks so much @AshwinS2. Thanks a lot.

1 Like

i have one more doubt please help me on this also…
i have created 1 excel file which has key value like name and age… now i have to fetch the data based on the key …i have used for each row inside that i have used assign activity like result= New Dictionary(of String, String) From{{“0”,“kiran”}}. but now i have to display this output in message box . I’m not getting how to display this result in message box please help me .
Note result variable is dictionary <string,strinhg>

1 Like

Hi @Kiran_Bg

Pass the result (“column name”).ToString

Thanks
Ashwin.S

1 Like