Skip to main content

Notifications

Community site session details

Community site session details

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

How to change/customize Email Message in Posted Sales Invoice

(1) ShareShare
ReportReport
Posted on by 85
Hi, 
 
I want to modify my email message which is generated from Posted Sales Invoice. Basically I want add a hard coded URL in my email message. No I don't know how to do it or which event subscriber should I call.
 
Please find the attachment for more description.
 
Thanks. 
 

Now, here I want too add the URL:
 
  • Verified answer
    KasparsSemjonovs Profile Picture
    4,125 Super User 2025 Season 1 on at
    How to change/customize Email Message in Posted Sales Invoice
    The e-mail text is generated from the Report layout. 
    If You open Report Selection - Sales, choose the Type=Invoice, and check which Report ID has the Use for E-mail Body checkmark,

    You can create a new Custom Report Layout (or copy the default) for this report ID, export it, adjust and import back.
    Then in the Report Selection - Sales, for the line which has the Use for email Body checkmark, in the column Email Body Layout Description, click on the value or if blank just click in this field , select the newly created layout. The next e-mail body will be with the new layout.

    You can have one layout for e-mail body, and a different one for the Attachment. 
    The body can be like
    Hello, Customer Name,
    Here is Your Invoice Document_No, with amount AmountIncludingVAT
    please pay it by Due_date

    And the attachment can be a normal Sales Invoice
  • Verified answer
    Ben Baxter Profile Picture
    5,511 Super User 2025 Season 1 on at
    How to change/customize Email Message in Posted Sales Invoice
    Go to your Report Selections - Sales, and look up the Report being used by the system for Invoices.
     
    Notice there is a section called "Email Body Layout Name".  Go to Report Layouts and filter to the Report ID of the report used for your Invoice.
     
    Part of the Report Layout is usually a section for the Email Body.  If the email body layout is standard, as in the example above, you will need to create a New Layout and Copy from the standard.  Then modify the Layout being used for the Report Layout (usually a Word Report Layout) and add the URL to the Word Template.  This will allow all Sales Invoices to include the URL on the report.  Just be aware, this means it isn't Dynamic per Customer, Items sold, etc., which is great for Terms and Conditions type links.
     
    If you wanted a Dynamic URL, you would likely need to get a developer or your partner involved to add the creation rules and where the data would pull from.
     
    If this helped resolve your question, please mark it as a Verified Answer to help other Users find the solution.
     
    Best Regards,
    Ben Baxter
    Accent Software Inc
  • MA-22070947-0 Profile Picture
    85 on at
    How to change/customize Email Message in Posted Sales Invoice
    P.S: This email is generated automatically and I don't have the idea.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,302 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,108 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans