This was a bug. Basically if purchase invoice total is $1,100 but amount due on invoice is $1000 due to withholding tax, Manager thinks $100 is partially paid and so on cash basis, instead of this invoice having no impact at all, it will have the same impact as if it was partially paid.
This is now fixed in the latest version (25.3.20)
Now when invoice is not paid at all, there will be no withholding tax liability on cash basis. However if invoice is paid partially (e.g. 50%) then withholding tax liability will be also at 50% on cash basis.