Withholding tax Payable X Receivable

Hello Managers,

Greetings of the day
I’ve an issue with cross setlling WHT payable X Receivable IDK if i’m doing something wrong
In Egypt , WHT P & R are meant to be nullified by the end of the period meaning that the net balance of WHT P& R should be nulled by the end of the period
I find it hard to cross settle the WHT R with WHT P using Journal entries to Zero the balance and the differences between actual & booked if any
I hope a veteran could help me with a solution
Thanks in advance