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

Community site session details

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

Access Business central documents in external applications

(0) ShareShare
ReportReport
Posted on by 30

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.

I have the same question (0)
  • Verified answer
    Jeffrey Bulanadi Profile Picture
    8,431 on at
    RE: Access Business central documents in external applications

     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

    pastedimage1660150521391v1.png

  • Robyn2018 Profile Picture
    Most Valuable Professional on at
    RE: Access Business central documents in external applications

    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

  • IIMO Profile Picture
    30 on at
    RE: Access Business central documents in external applications

    thank you

  • IIMO Profile Picture
    30 on at
    RE: Access Business central documents in external applications

    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.

Helpful resources

Quick Links

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,308

#2
Sumit Singh Profile Picture

Sumit Singh 2,798

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,793

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans