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

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,696 Moderator on at
    RE: Invoices being sent to the wrong customer

    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,250 Moderator on at
    RE: Invoices being sent to the wrong customer

    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
    RE: Invoices being sent to the wrong customer

    Do I need a developer for this?

  • Suggested answer
    Nitin Verma Profile Picture
    21,696 Moderator on at
    RE: Invoices being sent to the wrong customer

    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,250 Moderator on at
    RE: Invoices being sent to the wrong customer

    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
    93,147 Super User 2025 Season 2 on at
    RE: Invoices being sent to the wrong customer

    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
    RE: Invoices being sent to the wrong customer

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

  • Yumiko Profile Picture
    318 on at
    RE: Invoices being sent to the wrong customer

    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
    on at
    RE: Invoices being sent to the wrong customer

    Hello,

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

    Thank you.

  • Yumiko Profile Picture
    318 on at
    RE: Invoices being sent to the wrong customer

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,761

#2
Sumit Singh Profile Picture

Sumit Singh 2,611

#3
YUN ZHU Profile Picture

YUN ZHU 1,975 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans