Separate single PDF Invoice file to multiple individual files

I have a single PDF file which contains multiple invoices. I would need to split the files and rename each file based on invoice number.

My problem is some files have multiple pages. Since the word “Total due” is indicated on the last page, how can I create a sequence wherein the PDF file will be split based on the last text.

Attaching the PDF as a sample.document.pdf (29.5 KB)

1 Like