Notifications
Announcements
No record found.
Hello.
I'm new in D365FO
We use REST API and import invoices one by one and we have a performance issue. We use package for every invoice.
Is it possible to send several invoice in one package or in some other way?
Yes, of course! That's actually how data management (uncluding its APIs) should be used.
You import a single file at once, but the file may contain many records.
Thank you very much, Martin.
In D365FO UI I see 2 types of input data for our data job: data package and file.
The data package is using now in our existing job.
Can I use data package for importing of several invoices in single data package or I should dig into file data type direction as you mentioned above?
The fact that data management is intended for exporting and importing data in bulk isn't specific to any file type.
A package contains files and files can contain many records (e.g. lines in text files, rows in Excel, elements in XML).
I'm trying to find detailed info about data package for recurring integration, but unsuccessfully yet.
Could someone help me with links, please?
How to fill package with several invoices correctly and so on.
You should try things one by one. As you see, trying to do everything at once doesn't get you anywhere.
Before trying to do things automatically, do them manually to learn how they work. Create an export project and export some entity data to a file. Look at the file to see that multiple records are there. You can modify some of them and import the file, to see that it indeed works.
If you have no idea how to use a data package, ignore it for now. Try it with a single data file (e.g. an Excel spreadsheet). You can start looking into data packages when you understand the basics.
By the way, you didn't mention which invoices you wanted to import. Note that invoices are typically generated by posting in F&O and they can't be imported from outside. Make sure that the data you want to import can really be imported.
Thank you for advises.
Yes, I've already have well working SW that sends invoices to D365 via REST API, but it can send 1 invoice(in XML) per package only.
In existing project we have 5 XML entities in the package in the documents collection:
Manifest,PackageHeaderVendor invoice headerVendor invoice lineVendor invoice document attachment
So I'm afraid that I will have to change our recurring data job for processing of multiple invoices.
Thanks, I will try to do it manually for multiple invoices.
I've solved the problem.
I should simple add additional XML element "VENDORINVOICEHEADERENTITY" into "Vendor invoice header" document, for instance.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 584 Most Valuable Professional
André Arnaud de Cal... 499 Super User 2025 Season 2
Sohaib Cheema 254 User Group Leader