‘I remember asking Shaikh Abdullah al-Khawlaani (may Allah preserve him) this question during Umrah once and the summary of his answer was that it is allowed and a person who files for a tax return for a donation cannot be said his intention isn’t for Allah sincerely. This is since it is a benefit offered by the government and will allow a person to aid the Muslims. This is what I remember but asking Shuyookh with more details is better. Allah knows best