Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Use of JSON format to export composite entity in D365 FO

(1) ShareShare
ReportReport
Posted on by 129
Hello,
 
I would like to know if I can use JSON format to export composite entity in D365 FO. If yes, how we can expose it? 
Any blog document or reference is helpful.
Also, I am trying to integrate sales order invoices with 3rd party which will have header and lines and so I wanted to know shall I use the sales order invoice header V2 and sales order invoice line V2 both entities separately.
Also, can we have a single one or a composite one for this? what should be the best practice for the above scenario?

Also, for bulk record shall I use OData or custom web service?
 
 
Thankyou.
Ayu.
 
  • Layan Jwei Profile Picture
    7,776 Super User 2025 Season 1 on at
    Use of JSON format to export composite entity in D365 FO
    Hi,
     
    Json is not supported for export in general. You can export it as xml then convert it to json.
     
    Also there is an article regarding downloading an extension to convert it to json
     
     
    For large volumes, odata has poor performance
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Use of JSON format to export composite entity in D365 FO
    Hi,
    First, composite data entities cannot be used for OData integration. So if you are using OData, forget composite data entities. https://www.gangsta.se/blog/entry/composite-data-entities-in-d365fo
    Using separate entities provides greater control over each data set, simplifies data manipulation and validation, and aligns with standard practices in D365 FO. OData supports JSON format as the data transmission format.Open Data Protocol (OData) - Finance & Operations | Dynamics 365 | Microsoft Learn
    Best Regards,
    Hana
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    21,550 Super User 2025 Season 1 on at
    Use of JSON format to export composite entity in D365 FO
    Hi @Ayu,
     
    Generally, when you use OData, the data comes in JSON format.
     
    Best regards,
    Mohamed Amine MAHMOUDI

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,069 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,858 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans