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...
Suggested Answer

Send a purchase order as xml

(1) ShareShare
ReportReport
Posted on by 24
One of our largest supplier wants to receive the Purchase Orders in XML-format by mail. This makes it possible for them to easily import the order in their system. In Microsoft Learn (E-documenten gebruiken in het aankoopproces - Business Central | Microsoft Learn) I can find the option to send Purchase Orders as an E-document from version 24.0 (we are on version 24.5 in the cloud). However, if I want to send a Purchase Order I get an error which state the Purchase Header table isn’t supported.

If requesting support, please provide the following details to help troubleshooting:

Error message:
The Purchase Header table is not supported.

AL call stack:
"Electronic Document Format"(Table 61).GetDocumentUsage line 29 - Base Application by Microsoft
"Electronic Document Format"(Table 61).SendElectronically line 14 - Base Application by Microsoft
"Report Distribution Management"(CodeUnit 452).VANDocumentReport line 17 - Base Application by Microsoft
"Document Sending Profile"(Table 60).SendToVAN line 7 - Base Application by Microsoft
"Document Sending Profile"(Table 60).SendVendor line 13 - Base Application by Microsoft
"Document Sending Profile"(Table 60).SendVendorRecords line 23 - Base Application by Microsoft
"Purchase Header"(Table 38).SendRecords line 20 - Base Application by Microsoft
"Purchase Order"(Page 50)."SendCustom - OnAction"(Trigger) line 6 - Base Application by Microsoft



When I go to the “Electronic Document Formats” I don’t have the option to add the usage for Purchase Orders, while in the Microsoft Learn it says it is available from version 24.0


Is there something we need to adjust in order be able to send Purchase Orders as an xml?
Or do you know any alternatives?
I have the same question (0)
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,132 Super User 2026 Season 1 on at
    Using Power Automate is another option to generate detailed notifications with comment details without extensive code changes.
    You can Create an AL extension to pull rejection comments from the 

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,993 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,116 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans