Skip to content

Conversation

@MaxGhenis
Copy link
Contributor

Summary

This PR implements Employment Insurance premiums and Canada Pension Plan contributions (both tier 1 and tier 2/enhanced) to achieve better parity with SPSD/M coverage.

Implementation Details

Employment Insurance (EI)

  • Premium calculations based on employment income
  • 2024 rate: 1.66%, maximum insurable earnings: $63,200
  • 2025 rate: 1.64%, maximum insurable earnings: $66,300
  • Maximum annual premiums: $1,049.12 (2024), $1,087.32 (2025)

Canada Pension Plan (CPP) Tier 1

  • Contribution rate: 5.95% for employees, 11.9% for self-employed
  • Basic exemption: $3,500 annually
  • Year's Maximum Pensionable Earnings (YMPE):
    • 2024: $71,300
    • 2025: $75,300
  • Maximum annual contribution: $4,034.10 (2024), $4,272.10 (2025)

Canada Pension Plan (CPP2) Enhanced Tier

  • Started in 2024 for earnings above YMPE
  • Contribution rate: 4% for employees, 8% for self-employed
  • Year's Additional Maximum Pensionable Earnings (YAMPE):
    • 2024: $73,200
    • 2025: $81,200
  • Applies to earnings between YMPE and YAMPE

Key Features

  • Proper handling of mixed employment and self-employment income
  • Sequential application of basic exemption (employment first, then self-employment)
  • Comprehensive test coverage with 21 test cases
  • All parameter values sourced from official CRA documentation

Testing

All tests pass:

policyengine_canada/tests/payroll/cpp2_contribution.yaml ........
policyengine_canada/tests/payroll/cpp_contribution.yaml .......
policyengine_canada/tests/payroll/ei_premium.yaml ......
============================== 21 passed in 0.10s ==============================

References

Related Issues

Part of the effort to achieve parity with Statistics Canada's SPSD/M. See also:

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

MaxGhenis and others added 2 commits August 24, 2025 14:20
Add Employment Insurance premiums and Canada Pension Plan contributions (CPP and CPP2) to achieve better parity with SPSD/M.

Features:
- EI premium calculations with 2024-2025 rates and maximums
- CPP tier 1 contributions with proper basic exemption handling
- CPP2 enhanced tier contributions for earnings above YMPE
- Support for mixed employment and self-employment income
- Comprehensive test coverage for all scenarios

Parameters added:
- EI rates (1.66% for 2024, 1.64% for 2025) and maximum insurable earnings
- CPP rates, basic exemption ($3,500), and YMPE values
- CPP2 rates (4% for both years) and YAMPE values

This brings PolicyEngine Canada closer to SPSD/M coverage for payroll taxes.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Correct EI maximum insurable earnings for 2025 to ,700
- Update test case to use correct 2025 maximum value
- All payroll tax parameters now verified against official CRA sources

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant