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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Button to directly downlad a sales invoice

(2) ShareShare
ReportReport
Posted on by 65

In BUSINESS CENTRAL

On the Sales Invoice page, I would like to add a button labeled "Download PDF". When this button is clicked, the system should directly download the sales invoice as a PDF file.

Currently, the process to download a sales invoice as a PDF involves several steps:

  1. On the Sales Invoice page, I press the "Print/Send" button.
  2. From the available options, I select the "Draft Invoice" button.
  3. Then, I choose the "Send To" option.
  4. Finally, I select the "PDF Document " to generate and download the invoice.

This multi-step process is time-consuming and could be simplified significantly by implementing a dedicated "Download PDF" button. This new functionality will improve efficiency and enhance the overall user experience by allowing invoices to be downloaded with a single click.

Can someone help me with the coding required to implement this feature?

I have the same question (0)
  • Martin Dráb Profile Picture
    237,978 Most Valuable Professional on at
    Which D365 app are you using? This forum is about D365 in general, while your question seems to be about a particular product (such as Finance and Operations or Business Central).
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,445 Super User 2025 Season 2 on at
     
    You need to make a specific development to meet this need.
     
    (Moved to Dynamics 365 BC Form)
  • Gerardo Rentería García Profile Picture
    25,373 Most Valuable Professional on at
  • Suggested answer
    Yi Yong Profile Picture
    2,586 Super User 2025 Season 2 on at
    Hello,
     
    It is best to find a vendor for customization.
     
    Alternatively, you can use Personalize mode to move the 'Draft Invoice' button to the 'Home' tab.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,647 Super User 2025 Season 2 on at
    Using customization you can achieve this easily. To add a "Download PDF" button on the Sales Invoice page in Business Central, create a page extension for "Sales Invoice". Add an action with AL code that generates the Sales Invoice Report in PDF format using the SaveAsPDF method and downloads it via DownloadFromStream. This simplifies the process, allowing users to download the invoice in one click.
  • Suggested answer
    YUN ZHU Profile Picture
    95,748 Super User 2025 Season 2 on at
    Hi, hope the following helps as well.
    Dynamics 365 Business Central: Bulk export/download reports with different layouts to a zip file (Download Posted Sales Invoices/Posted Purchase Invoices to a zip file)
     
    Thanks.
    ZHU

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans