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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,161 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,046 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 932 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans