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 model for i...
Power Apps
Unanswered

AI Builder model for invoice processing

(1) ShareShare
ReportReport
Posted on by 43

I want to share my observations I had while doing Poc on leveraging AI Builder to automate invoice processing system in dataverse connector in power automate . If any suggestions on my observation , it would be most welcome to improve my performance and design .

 

1) We had to use parson json action almost 1 yr back . Now The AI builder pre does the parsing of our data and provides the parsed output.

2) In my POC, Date values are not getting updated by adding dynamic values of Date Value of Predict output. i need to create a variable to store the date value , then add compose action to extract date , month and time and last create expression to formatdate using the output from the last compose action. then date gets enter in the Sharepoint . If I am not doing these steps before then it gives me below error message "The 'inputs.parameters' of workflow operation 'Update_file_properties' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/Invoice_x0020_Date' is required to be of type 'String/date'. The runtime value '"30/05/2021"' to be converted doesn't have the expected format 'String/date'." If I try to create expression to format date based on the predictoutput , it gives me message below " 'In function 'formatDateTime', the value provided for date time string '30/05/2021' was not valid. The datetime string must match ISO 8601 format.'."The flow consider it to be month date format . This thing i tested by hardcoding sample value of date .

 

3) For every date field , I have to create that no of variables in parallel and perform the steps as mentioned in 2 point. Is there a way in we can define all date fields in one place and then use it anywhere in our flow .

 

4) I created balance column as number type in my sp and trained my model by including currency symbol in the model field . when i run the flow it gives me error stating below :- "The 'inputs.parameters' of workflow operation 'Update_file_properties' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/Balance_x0020_Due' is required to be of type 'Number/double'. The runtime value '"₹ 6,000.00"' to be converted doesn't have the expected format 'Number/double'." i edited my model and removed the currency symbol from it and then tried again. then it works fine .

 

@yashag2255 @RezaDorrani 

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

    Thanks for the detailed feedback. I love that you included one area where the product has become easier to use, and others where we could make it easier to use in the future. Dealing with date or currency types in the future is on our roadmap for the not too distant future. Our intent is that we make as many of these conversion types of problems as seamless as possible throughout the Power Platform. Out of curiosity, are you hitting similar issues with data other than dates or currency amounts?

  • KanwalKaurSaini Profile Picture
    43 on at

    Thanks for the information antoinec. 

    To add on to your answer, text type data has no issues so far .they could easily be added with AI Builder . It was surprising to see the behaviour of currency and date type fields. Currency type field works good in the table format but not as an individual field in AI Builder Model.I tried creating balance column of my Sharepoint list as currency type and then used as a field in my model. The value didnot get updated in my sp list by flow. But When I created this as a new table in my model , It gets updated by flow to my sharepoint folder.

  • Mikko_Martinez Profile Picture
    50 on at

    Do you have any update if the currency detection will come to the Prebuilt invoice processing model?

     

    We have a business case where we are processing invoices with multiple currencies marked as either:

    1. three-letter code "AUD"

    2. symbol + letter "CA$"

    3. symbol "€"

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 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard