web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Import an XML File as an incoming document

(0) ShareShare
ReportReport
Posted on by 25
Hello everyone,
I need to allow BC to read a specific format of an Xml file (an invoice) as an incoming document, but I'm lost between the different settings and definitions (xmlPort, codeUnit, etc...). Does anyone have a procedure or a tutorial to do this?
Thanks for your help,
I am a beginner and I use the latest version in Cloud
I have the same question (0)
  • Suggested answer
    steveendow Profile Picture
    2,281 on at

    Hi,

    Based on some initial searches, I'm not finding a comprehensive guide, but found a few items.

    Here is a blog post from Yun Zhu, but it looks like his import example is CSV:

    https://yzhums.com/4809/

    It looks like there is a section on XMLport in this BC dev book:

    https://subscription.packtpub.com/book/business_and_other/9781789951257/8/ch08lvl1sec47/using-xmlports-in-al-code

    Here is a video by Erik Hougaard with some alternatives to XMLport, and it looks like he codes the solutions:

    https://www.hougaard.com/process-large-xml-without-an-xmlport/

  • Verified answer
    SaidBRK Profile Picture
    25 on at

    Hello Steve,

    Thank you for your feedback which helped me a lot, indeed with the 1st tutorial you just have to replace the CSV by the XML and it's done.

    Thanks again and if I have any information on my side, I will not hesitate to share it here

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans