In the PDF file attached, Swiss Tax Services SA explains the different types of tax form to complete and the issues which could be linked to them.
It is not always complicated, but they always are some issue and sometimes they are significant.
Think about if. In your interest.
For the B-permit holder, please see the news below. Be careful, legal deadline until 31st March 2017.
http://www.swisstax-services.ch/valais/pour-permis-delai-legal-2017-154.html