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

Button to directly downlad a sales invoice

(2) ShareShare
ReportReport
Posted on by 77

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
    239,035 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,801 Super User 2026 Season 1 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,555 Most Valuable Professional on at
  • Suggested answer
    Yi Yong Profile Picture
    2,647 Super User 2026 Season 1 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
    22,128 Super User 2026 Season 1 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
    99,084 Super User 2026 Season 1 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

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,946 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,177 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 555 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans