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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Email sales receipt ignore receipt format design in header and parts of body

(0) ShareShare
ReportReport
Posted on by 1,461

We have a custom receipt that is a copy of the standard sales receipt.

When the sales transaction in Store Transactions in POS is selected and then clicked on show receipt, the receipt shows the data as the receipt format is designed in the receipt designer.

However when one clicks to email the receipt or when the receipt is emailed from the cart after conclusion of the transaction, the header as well as the item name and item comment is centered.  Sometime sit looks centered but it is actually a little bit off to the right. So why will emailing the receipt do this?

When I decode the ReceiptService DLL, I can see where it emails the receipt, it first convert the receipt to HTML. 

So is it HTML that does it or the email template? 

Correct when printed or viewed in Store Transactions:

pastedimage1646083907999v1.png

The same receipt when clicking on Email:

pastedimage1646083957002v2.png

As you can see from the above image, it has no problem respecting the footer and the first line of the "lines" section. but the item comment and item name on the "Lines" section is centered automatically instead of starting on the left. The header respect it even less.

If I look at the email template assigned to the receipt format in the receipt profile, then it has only %message%  which is left justified, not centered and this is the part that receives the receipt converted into HTML. The email template itself is an HTML file uploaded.

So can anybody shed some light on how to fix the emailing of the receipt so that it will look on the email the same as on the preview and printing of the receipt. Our users don't like the way the emailed receipt looks like which is understandable because it is a document that is emailed to the customer and it looks untidy, not professional at all.

I have the same question (0)
  • Verified answer
    Ramune Profile Picture
    Microsoft Employee on at

    Hi Retha,

    did you check the doc as below?

    docs.microsoft.com/.../email-receipts

    Does it help you to find an answer?

  • Retha Profile Picture
    1,461 on at

    Hi Ramune

    thanks for giving me the link.  I contacted the user who designed the email template and he confirmed that the PRE-tags were in place. however when I opened the file I saw that it had in the row-tag an align=center and that is what caused the email not to respect the receipt format.

    I removed it and re-loaded the template and now it's working

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 95 Super User 2026 Season 1

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 63 Super User 2026 Season 1

#3
Sagar Suman Profile Picture

Sagar Suman 54 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans