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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Data extraction only f...
Power Automate
Unanswered

Data extraction only from 1st page Prebuilt invoice processing model

(0) ShareShare
ReportReport
Posted on by 136

Invoice processing model extract net amount from first page instead from last page which is cumulative number of all pages total.

 

Example:

 

1st page total = 100

2nd page total = 100

3rs page total = 100

 

Total 300 in last page instead Prebuilt model extracting from 1st page as 100, pls assist

 

Regards,

DML

Categories:
I have the same question (0)
  • JoeF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @DML1 - from your posts it looks like you're building a solid invoice automation solution. Nice work! 🙂

     

    I hope this helps!

  • DML1 Profile Picture
    136 on at

    Hi Joe, once again thank you becoming a savior for me. Yes I am aiming to do complete E2E automation of invoice processing.

     

    Yet to check the difference between amount due and invoice sub total, because sub total extracts net amount and invoice total gives gross amount. 

     

    I am not sure whether page number I can give because not all the information will be available in the last page, apart from amount all other information available in first page. 

    Pls assist Joe.

     

    Regards,

    DML

  • DML1 Profile Picture
    136 on at

    Hi JoeF-MSFT,

     

    Awaiting for your response.

     

    I have Gross amount of the invoice which is invoice total

     

    Net amount which is sub total of invoice excluding tax

     

    Now this net amount available in every page of the invoice as total of that page and in last page it has sum of all the pages. Invoice processing Prebuilt model extracting first page total for net amount and not last page.  Pls guide

     

    Regards

    DML

  • JoeF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @DML1! Did you have the chance to check if both Amount due and Invoice total fields from the prebuilt model both return the wrong value?

  • DML1 Profile Picture
    136 on at

    Yes I did Jeo. No data extracted by Amount due, it's null.

  • JoeF-MSFT Profile Picture
    Microsoft Employee on at

    Arg, that's unfortunate! Thanks @DML1 for confirming. I see two options:

    1. Handle that invoice with a custom form processing model.
    2. Iterate the invoice page by page and capture the total on the last page. The following cloud flow template shows and example on how you can iterate a document page by page with AI Builder. https://flow.microsoft.com/en-us/galleries/public/templates/59284c1735b745dda07032720f31de47 Replace the 'Extract information from forms' action by 'Extract information from invoices' action. Capture the total amount in a variable in each iteration of the Do until loop, and in the last iteration you will have captured the amount from the last page. 

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 791

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 535

Last 30 days Overall leaderboard