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

Invoices being sent to the wrong customer

(0) ShareShare
ReportReport
Posted on by 318

Hello, Invoices are being sent to the wrong customer. This is quite a big issue as customers will be receiving pricing that we are quoting other customers. Also is a GDPR issue. An example is SIN-1047449, this has been sent to alan@epoole.co.uk when it shouldn't get sent anywhere (discard the email draft) as it's just a cash sale.

Screenshot-2023_2D00_02_2D00_13-105547.png

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    As I can see the Job queue in error state, how it been sent?

    You can check Email outbox, and check why its been sent  to wrong customer, you can check also customer card for Customer email.

  • Suggested answer
    NAV_with_Narang Profile Picture
    2,374 Moderator on at

    Hi Yumiko - The emails are sent based on the email-ID configured for each customer. When an invoice is created, the email ID is copied from the customer master to invoices.

    If you do not want a customer to receive an email, you can configure an internal email ID under that customer's name - for starters

    If invoices are being sent to wrong customers:

    1. Please export your customer data in an excel and check if there was an error in mapping email ID with individual customers. Many times due to copy pasting operations while implementation, such data pasting errors can happen. You may not be able to verify them all because of the size of the data, make sure to check customers who have repeatedly received wrong invoices in the past and also a few others at random

    2. After all email IDs look to be in place: Question: What % of your invoices have different Bill-To & Sell-To customer ID?

    To troubleshoot, I would suggest use your Sandbox Environment, possibly create a copy of your existing company. Make sure your Email Accounts setup is complete in the Sandbox Environment. For more details, have a look at this link https://learn.microsoft.com/en-us/dynamics365/business-central/admin-how-setup-email 

    Configure 2 customers, with 2 internal/team email ID's. Create invoices for each of the customers individually, first when each invoice has Bill-To equal to Sell-To, then other 2 invoices where Sell-To & Bill-To are different (if you ever have that as a use case). Now trigger your Emailing Batch, like you've done above and see which team member receives what email in their inboxes. This will give you an idea of how email ID's are prioritized when you have different  Sell-To & Bill-To scenarios

    3. For your current scene, where incorrect invoices have been sent to customers : Open an incorrectly sent invoice, click on the top right question mark on the black ribbon & click "Help & Support". A page will open, press "Inspect pages & data", a gray side form will pop-up. Now there will be a small magnifying- glass button on the side form. Click that and enter keywords like Email, E-Mail, etc and see which keywords give you the correct result. Here you will come to know which email ID have these invoices been sent to

    pastedimage1676292292681v1.png

    pastedimage1676292412656v2.png

    Note that emailing of invoices works based on email IDs configured. Its just a matter of which customer (from Bill-To/Sell-To receives it)

    Feel free to write another question if need be

    **Please mark this as a suggested answer, if it helped you**

  • Yumiko Profile Picture
    318 on at

    Do I need a developer for this?

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    First you can check with "Email Outbox" page and check there what has been sent and to whom, if required you can connect with the developer to dig out more.

    Thanks.

  • Suggested answer
    NAV_with_Narang Profile Picture
    2,374 Moderator on at

    You may reach out to a developer yes or check by yourself. You can send him this community link so that he can follow some troubleshooting steps as listed above

  • Suggested answer
    YUN ZHU Profile Picture
    100,644 Super User 2026 Season 1 on at

    Hi, Is Document Layouts set up?

    More details:

    Change default customer/vendor email address when sending emails (For example, sending an order to A, sending an invoice to B)

    https://yzhums.com/31281/

    Hope this helps.

    Thanks.

    ZHU

  • Yumiko Profile Picture
    318 on at

    Why our job queue entries is getting filled with errors for "Document Mailing" by the job?

  • Yumiko Profile Picture
    318 on at

    Why our job queue entries is getting filled with errors for "Document Mailing" by the job?

    I'm not sure if related but each time the job queue runs, this list of failed job entries increases

    Screenshot-2023_2D00_02_2D00_13-105547-_2800_1_2900_.png

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Feel free to raise this question to Microsoft via your partner or CSP.

    Thank you.

  • Yumiko Profile Picture
    318 on at

    Hi,

    Why our job queue entries is getting filled with errors for "Document Mailing" by the job?

    I'm not sure if related but each time the job queue runs, this list of failed job entries increases

    8424.Screenshot-2023_2D00_02_2D00_13-105547-_2800_1_2900_.png

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

#2
YUN ZHU Profile Picture

YUN ZHU 1,110 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 892

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans