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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Update for voucher XXXXXXX has been canceled to avoid oversettlement. The settled customer or vendor balance for the transaction must not exceed the transaction amount.

(0) ShareShare
ReportReport
Posted on by 60

Hi,

I've automated invoice settlement with custom code.

Normally it works. But when there is oversettlement I get the following message:

0.02 for voucher XXXXXXX in company XXXX will be posted as an overpayment or underpayment.

Update for voucher XXXXXX has been canceled to avoid oversettlement. The settled customer or vendor balance for the transaction must not exceed the transaction amount.

Does anyone know how to handle overpayment/underpayment either with code or parameters?

Regards,

Brightlin

I have the same question (2)
  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Brightlin,

    If you record the same transaction in a different demo machine that does not have the adjustment implemented, do you get the same error?

    Best regards,

    Ludwig

  • Brightlin Profile Picture
    60 on at

    Hi Dr. Ludwig

    It's a runnable class. I haven't modified the out of box behavior.

    Maybe I explained myself worong. I'm wondering how to handle overpayment/underpayment when handling the settlement process through a runnable class to automate it, instead of doing it manually.

    Regards,

    Brightlin

  • Suggested answer
    Ramit Paul Profile Picture
    22,803 Most Valuable Professional on at

    Hi,

    Have you configured the over/under-settlement parameter in AP parameter?

  • Brightlin Profile Picture
    60 on at

    Hi,

    The over/under settlement is working correctly when doing manual settlement but not through the runnable class.

    Regards,

    Brightlin

  • Suggested answer
    Sheela Ningappa Profile Picture
    Microsoft Employee on at

    HI,

    Could you pls verify the below LCS link:

    fix.lcs.dynamics.com/.../Details

    Thanks,

    Sheela

  • Brightlin Profile Picture
    60 on at

    Hi,

    It's fine, I found out that when I pass the amount to settle, D365 changes back the value before I post.

    Regards,

  • Suggested answer
    Pranesh M Juwale Profile Picture
    1,196 on at

    Thanks Remit for posting this..it helped us to solve the issue.

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 663

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 337 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans