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...
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)
  • Suggested answer
    YUN ZHU Profile Picture
    89,830 Super User 2025 Season 2 on at
    Button to directly downlad a sales invoice
    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
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    18,797 Super User 2025 Season 2 on at
    Button to directly downlad a sales invoice
    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
    Yi Yong Profile Picture
    2,349 Super User 2025 Season 2 on at
    Button to directly downlad a sales invoice
    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.
  • Gerardo Rentería García Profile Picture
    22,524 Most Valuable Professional on at
    Button to directly downlad a sales invoice
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,292 Super User 2025 Season 2 on at
    Button to directly downlad a sales invoice
     
    You need to make a specific development to meet this need.
     
    (Moved to Dynamics 365 BC Form)
  • Martin Dráb Profile Picture
    235,792 Most Valuable Professional on at
    Button to directly downlad a sales invoice
    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).

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,899 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,444

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,304

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans