Announcements
No record found.
We want to capture documents like invoices and display the pdf's on our customer portal.Is there a way to do that? How are you all displaying BC documents in external apps?
Any help would be appreciated.
Hi IIMO,
Yes this is technically possible. What you can do is to use the standard business central APIs
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/
Here is the sample call to a sales invoice which then has an option to generate a pdf link for you to download.
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_salesinvoice
Hi,
It is possible to prepare a web service with a parameter (the invoice no. ie) and inside the ws create the pdf file with report.saveaspdf. When I have the pdf I can return this file as reply of the web service.
Maybe is a good solution. Remember BC do not save automatically the pdf.
Roberto
thank you
Thanl you somuch
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,028 Super User 2026 Season 1
YUN ZHU 1,121 Super User 2026 Season 1
Teagen Boll 669 Super User 2026 Season 1