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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Error while invoicing the Sales order

(0) ShareShare
ReportReport
Posted on by
"Hello Team,
 
when I am trying to invoice a sales order, I got the following error message "Exception has been thrown by the target of an invocation"
any one know how to solve this?
I can not invoice any sales order and it is stopping the sales.
 
I have the same question (0)
  • Suggested answer
    Zain Mehmood Profile Picture
    4,311 Most Valuable Professional on at
    Hi,
    That error message "Exception has been thrown by the target of an invocation" is a generic .NET error and often masks the actual root cause. Here's what you can do:
    1. Check the batch job history under Accounts receivable > Inquiries > Batch jobs for more detailed error logs tied to the invoice posting.
    2. If you're posting manually, try to replicate the issue and open Trace parser or look at the Event viewer on the AOS (if on-prem) or through LCS Environment monitoring (if cloud).
    3. Check if there’s any customization or event handler linked to the invoice posting process.
    4. Try posting the invoice in a different legal entity or for a different customer to confirm whether it’s data-specific.
    5. Ensure all required posting profiles, charges, and taxes are set up correctly.
    Let us know what version you're on and if this started happening recently after a deployment or update.
     
    Warm Regards,
    Zain
     

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 > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

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

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 116 Super User 2026 Season 1

#3
Zain Mehmood Profile Picture

Zain Mehmood 89 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans