Sharing Frappe / ERPNext in Philippines

I got stuck with the erroneous income tax computation which I think is a program error. The program seems to be treating income tax as a tax deductible item, somewhat like a cyclical computation error. I posted this also in another related chat.

Any update on this?
Thanks