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

Dynamics 365: WHT Amount isn't deducted from AP Amount

(4) ShareShare
ReportReport
Posted on by 120
Hello,
 
We need assistance regarding a withholding tax issue.
 
When we post a purchase invoice, the withholding tax (WHT) amount is not being deducted from the Accounts Payable. As a result, the debit and credit lines in the General Ledger are not balanced, as shown in the screenshot below.
 
 
 
What We’ve Checked So Far:
    •    The WHT Product and Business Posting Groups on the invoice lines are correct.
    •    The WHT Posting Setup has the necessary combinations in place.
    •    WHT is enabled in the Purchases & Payables Setup.
    •    The vendor has the correct WHT Business Posting Group assigned.
 
This was working correctly last week, and no deployments or changes have been made since then. The issue started occurring this week.
 
How should we proceed? Which should we check next?
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    92,161 Super User 2025 Season 2 on at
    Dynamics 365: WHT Amount isn't deducted from AP Amount
    Hi, I'm sorry I can't solve your problem directly. For localization issues, I suggest you post them in the BC Yammer Group below. Microsoft technicians will be able to give you a better response.
     
    Thanks
    ZHU
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,084 Super User 2025 Season 2 on at
    Dynamics 365: WHT Amount isn't deducted from AP Amount

    In Business Central, WHT should reduce the vendor payable automatically if setups are correct. Since you already checked posting groups and setup, the most common causes are:

     
    1. WHT Posting Setup → Verify that the WHT % and Payable Account (Bal. Account) are set correctly. If the balance account is blank, WHT won’t deduct from A/P.
    2. Vendor Card → Confirm that WHT Business Posting Group is not overridden or blank.
    3. Purchases & Payables Setup → Ensure that “Allow WHT Calculation” is still enabled. Sometimes this gets unticked after an update.
    4. Posting Preview → Use Preview Posting to see if WHT lines are being generated at all. If no WHT line is created, the setup is missing or not triggered.
    5. Recent changes → Even if no deployments, master data may have been modified (e.g., vendor group, posting setup).
     

    If everything looks correct and WHT lines are still not posted, try clearing and re-entering the invoice line to re-trigger calculation.

     

    ✅ Mark this answer as verified if it helps you.

  • Mansi Soni Profile Picture
    8,852 Super User 2025 Season 2 on at
    Dynamics 365: WHT Amount isn't deducted from AP Amount
    Moved from Dynamics 365 General to Small and Medium business forum.
  • Martin Dráb Profile Picture
    236,184 Most Valuable Professional on at
    Dynamics 365: WHT Amount isn't deducted from AP Amount
    Which D365 app is it about? Business Central?
  • Suggested answer
    DAnny3211 Profile Picture
    11,369 on at
    Dynamics 365: WHT Amount isn't deducted from AP Amount

    Hi,

     

    The issue you're facing—withholding tax (WHT) not being deducted from the Accounts Payable amount—despite correct setup, suggests that something in the posting logic or configuration may have changed or become misaligned.

     

    Here are some targeted steps to help troubleshoot further:

     
     

    1. Verify WHT Calculation on Invoice

     

    • Open the affected purchase invoice and check the WHT calculation details.

    • Confirm that the WHT amount is being calculated and displayed correctly before posting.


    •  
     
     

    2. Check WHT Application Method

     

    • In Purchases & Payables Setup, confirm that the WHT Application Method is set to "Deduct from Vendor Amount".

    • If it's set to "Post as Expense", the WHT will not reduce the payable amount.


    •  
     
     

    3. Review Vendor Ledger Entries

     

    • After posting, check the Vendor Ledger Entries to see if the WHT amount is posted separately or not at all.

    • This can help confirm whether the WHT is being applied but not reflected in the AP line.


    •  
     
     

    4. Inspect General Posting Setup

     

    • Double-check the General Posting Setup for the WHT combinations.

    • Ensure that the WHT Product Posting Group and WHT Business Posting Group are correctly mapped to the appropriate G/L accounts.


    •  
     
     

    5. Test with a New Invoice

     

    • Create a test invoice with the same vendor and posting groups.

    • See if the WHT behaves correctly. If it does, the issue may be specific to certain transactions or data.


    •  
     
     

    6. Review Recent Data Changes

     

    • Even if no deployments occurred, check for:

      • Changes in vendor master data

      • Modifications to posting groups

      • Updates to WHT setup tables


    •  
     
     

    7. Enable Debug Logging

     

    • If the issue persists, enable debug logging or use the trace functionality to capture the posting logic during invoice processing.


    •  
     
     

    Please verify if this helps narrow down the issue or if you'd like assistance reviewing specific setup screens.

     

    Thanks and best regards,

    Daniele

    Note: This response was prepared with support from Copilot to ensure clarity and completeness.

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
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,885

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,405

#3
Sumit Singh Profile Picture

Sumit Singh 2,837

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans