Contributions to AVS and other components of  Pillar 1 ( AHV/IV/EO, AVS/AI/APG) is not deductible. Likewise, you do not “deduct” income tax - we need to report gross salary and then take foreign tax credit for income tax (not for the contributions to Pillar 1 ).
Other example of non-deductible taxes is VAT.