All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
If the tax that the questioner mentioned is agreed upon by the government and the person who lives on its land, and he himself agrees to it, or that he is obliged to pay tax in return of some services that are provided for him, then he has to abide by this agreement unless it is proven to him by certainty or he is pretty sure that the government is going to use it in forbidden matters.
In such a case, it is permissible for you to avoid paying tax in a way that you do not expose yourself to danger or to humiliation, as it is not permissible for a Muslim to humiliate himself in front of a non-Muslim.
As regards the tax that is imposed on a person without a prior agreement [between the two parties], and there are no services that are offered for him in return, then he is not obliged to pay it and it is permissible for him to avoid paying it.
In any case, you should know, dear brother, that whether you paid these taxes or not, it is not permissible to count them as Zakat money, because Zakat should only be spent on eight types of people and it is not sufficient or acceptable to spend it otherwise.
It is known that tax is not spent in the same channels the Zakat is spent.
For more benefit in this regard, please refer to Fatwa 88368.
Allaah Knows best.