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 Apps / AI Builder Custom Mode...
Power Apps
Answered

AI Builder Custom Models (Various supplier invoice formats)

(0) ShareShare
ReportReport
Posted on by 4

I'm trying to deliver an AP invoice reading solution as part of larger project. I've trained a form processing model in AI Builder on 50 different invoice styles (5-10 documents each, as individual ‘collections’).

 

Rather than improve the accuracy with extensive training, I think I’ve just confused it. Accuracy is now less than 50% (testing is being performed using the exact same example invoices which the AI builder has been directly trained on).

 

I'm not sure whether it's failing to identify the correct collection for each invoice (possibly a factor of how many collections I'm using) or if it is identifying the correct collection but still failing due to the invoice format itself (i.e. small font, individual fields set close together which the model is reading as one long text string).

 

Suppliers in the real world don't have similar invoice layouts. I'm wondering how others have solved this issue because at the moment the model isn't even usable.

 

I assume I could probably improve the accuracy if I routed the invoices to individual models (specific to the supplier's invoice template), but that would mean first detecting the supplier itself, not to mention the complexity of catering for hundreds of supplier models (not even sure if it would be possible to dynamically select the model within Power Automate either).

 

Any advice is appreciated at this point! I've heard good things about Syntex, but understand that would still rely on the AI Builder model.

 

Thanks in advance!

 

P.S. I would have used the prebuilt invoice processing model, but I live in Australia where we use a specific (government issued) identifier for all suppliers ('ABN') which I need to pull from the invoice as part of the solution.

 

P.P.S. I've since found the following post, but just want to be sure that is still current advice and that there haven't been advances since then. https://powerusers.microsoft.com/t5/AI-Builder/AI-Builder-Invoice-Processing-multiple-providers-models/m-p/595153

Categories:
I have the same question (0)
  • Verified answer
    CedrickB Profile Picture
    Microsoft Employee on at

    Hi,

    Usually collections are working well. What exactly are you trying to extract which cause this 50% success rate?

    First of all, make sure to place in a given collection, samples of documents which have a consistent layout (I.e. same supplier, same fields, same place in the form, same orientation if applicable)

    Then, the recommended maximum samples in a collection is 20, usually 5 is enough. 

  • AryesAmes Profile Picture
    4 on at

    Hi CedrickB. Thanks so much for coming back to me. 🙂

     

    I've performed further testing today and am getting much better results. I think it's my issues were caused by a delay before a re-published (re-trained) model is then accessible by Power Automate.

     

    Thanks again!

  • antoinec Profile Picture
    Microsoft Employee on at

    It's great to hear that you're unblocked.

    May I ask when you are experiencing delays? After publishing a model, it should immediately be accessible in Power Automate. If you're observing a delay I'd love to understand it better to ensure we can address the issue.

  • Thanslone Profile Picture
    4 on at

    I’m having a huge headache of an issue,  I have an un godly amount of unstructured invoices and for example, I need to extract truck and trailer numbers, and truck and trailer vin numbers, the issue is, on some invoices they are formatted as 

    1- fleet ID (gets used as vin, truck# and trailer#)

    2-tractor / Truck / sometimes just a number not specifying the unit- all of these used for one tag I need 

    - the information is consistently in different areas of invoices, and shows as different names for the massive amount of shops and invoice layouts that get sent to us, making it impossible to really structure any type of automation, that I have found at least 


    I’m trying to pull the unit number / numbers that were worked on by a shop off of an invoice, and rename the file based on the unit numbers extracted, and the date the invoice was created. Is there anything I can do for this. I’ve spent countless hours trying to figure a way to pinpoint the information I need to pull for the truck and trailer numbers and have had absolutely 0 success. Feedback and help would be the most appreciated 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard