Skip to main content

Notifications

Community site session details

Community site session details

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

Sales Order pdfDocument API does not exist

(0) ShareShare
ReportReport
Posted on by 511

Hi, 
I need to print the Sales Order report as pdf with an API. 
I was able to complete this for the sales Quote using the Microsft documentation.
unfortunately when I apply the same rules for the Sales Order it does not work.  Its not on the list of examples. I'm assuming thats part of the reason why its not working.

pastedimage1685692348163v1.png

How can I get the Sales Order as a pdfDocument with an API?  Is there maybe base code I can look at and create my own API?

Sales Order:

pastedimage1685692493288v2.png

Sales Quote: 


  • Verified answer
    rostad.exe Profile Picture
    60 on at
    RE: Sales Order pdfDocument API does not exist

    The error is correct. there's no .pdf for sales order.

    Check this: learn.microsoft.com/.../dynamics_pdfdocument_get

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,118 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans