Hi Harshal
I made the invoice payments and, yes, the withholding tax is posted at this point
In Spain, the withholding tax should be counted in the invoice journal entry, independent of the payment (and then the obligation to pay to the authorities).
With this ByD accounting method, I think the companies loose some of control till the payment but in accounting terms can be valid.
Many thanks for yor help
Best regards