PDF READ ERROR

Hello ,

I have an invoice and I want to receive only the part that says “invoice no” on the invoice. How can I do ? (xml)

Hi @d.ulutas

You can use Read PDF or Read PDF with Ocr Activity based on the PDF you have, and check the output and perform string operations or regex to get the data.

Or if you have tried that approach can you please attach the error screen shot.

Thanks

I have read the pdf but I am not getting what I want from the read data.

i don’t know how to do it?

Does the output text file has the Invoice Number in it?

Thanks

yes there is

sample:

Invoice No: 11111

try this
Sequence2.xaml (7.5 KB)

Hey!

Try like this:

Read the pdf using read pdf activity → output as → PdfOutput

Take one Assign activity Create a variable ->Type String->Named Invoice_Number

In value field do like this

System.Text.RegularExpressions.Regex.Match(PdfOutput,"(?<=Invoice No: )\d+").ToString

Try this and let me know

Regards,
NaNi

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.