Cleaning with donations

As Salamu alaikum,
I’ve noticed that the Money you invest has to be cleaned up with donations because the Companies earns her Money with few percent haram stuff.

Can you please tell me more? I am new in this Branche.

How is all this calculated and where can I find this on Zoya?