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,189 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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 254

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 192 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 137 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans