One thing I been working on is an open source Canadian payroll / tax calculator, it's values are checked against the offcial cra online calculator. This is free to use for any accounting software etc. You can see it here:
https://github.com/wenmar-pro/payroll-ca