web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

how to attach multiple pages in pending invoice using INVOICE CAPTURE

(1) ShareShare
ReportReport
Posted on by 668
Hi Folk, 
Could you please let me know how can i break multiple pages pdf of invoice through power automate and attach those pages in pending invoices attachment automatically through invoice capture , the data of invoice is present in the first page only all other page should be used only for attachment iin pending invoices
 
Thanks
I have the same question (0)
  • Suggested answer
    Saif Ali Sabri Profile Picture
    2,351 Super User 2025 Season 2 on at
    To split a multi-page invoice PDF and attach extra pages as supporting documents in Invoice Capture, use the following Power Automate solution:

    🔁 Steps to Automate in Power Automate:
    1. Trigger:
      Use a trigger (e.g., When a file is created in SharePoint/OneDrive).
    2. Split PDF:
      Use Encodian or Muhimbi connector:
      • Action: Split PDF
      • Input: Original multi-page invoice
      • Result: Array of single-page PDFs
    3. Extract First Page for Invoice Data:
      • Take first item in array → Send to Invoice Capture AI Builder (for data extraction).
    4. Remaining Pages as Attachments:
      • Loop through the rest of the array (skip first page).
      • For each page:
        • Convert to Base64 (if required).
        • Call Invoice Capture API or Dataverse action to attach to Pending Invoice record.
    5. Attach to Pending Invoice:
      • Identify Pending Invoice record using invoice number or matching metadata.
      • Use Dataverse – Add a Note (Annotation) action:
        • Regarding: Pending Invoice record
        • Document: Extra page PDF file
        • Note Text: Optional (e.g., “Page 2 of invoice”)

    Notes:
    • AI Builder model must be trained or pre-configured to extract data only from page 1.
    • Attachments in Invoice Capture are stored as annotations in the Dataverse.
  • Suggested answer
    Arvind Bharti Profile Picture
    730 Super User 2025 Season 2 on at
    Hi,
     
    I doubt that using invoice capture you can have multiple files transferred as attachment because after you break file , system is going to consider them as two different documents.
     
    Just an idea, once you split the file in two parts, can you use power automate to directly send the second part as attachment on PO in F&O and use actual invoice page to invoice capture.
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans