How to: Create data packages for the data import in Dynamics 365 Finance and Operations from Invoice PDFs
Recently I saw the video by Murray fife about the use of AI Builder's Form Processing capability to import vendor invoices into D365FO and I was very much intrigued. You can look at his Linkedin post here . The entire post is about reading the Invoice pdf using AI builder in Power Automate, Creating pending vendor invoice by reading pdf, and attaching the pdf as an attachment in D365FO. One of the components of the entire solution was the creation of a data package from the incoming invoice pdf. In this blog, I will focus on this piece of the solution. Murray has already put the code on GitHub for this part but there was no information about how to use it. I had absolutely no experience in C# development and I had to struggle a lot to understand how to use the code he had shared. So I decided to blog about the entire process I did so anybody who doesn't know anything can still follow it and repeat it. Also, This can be used for any other integration type where the data package...