Hi,
In the GL form that you use for setting up the withholding tax codes you have the option specify the origin (net or gross amount) from which the withholding tax is calculated.
I assume that your setup is not in line with what you expect.
Can you double check and possibly change that?
Best regards,
Ludwig