Implement EI and CPP payroll taxes#521
Open
MaxGhenis wants to merge 2 commits intoPolicyEngine:masterfrom
Open
Implement EI and CPP payroll taxes#521MaxGhenis wants to merge 2 commits intoPolicyEngine:masterfrom
MaxGhenis wants to merge 2 commits intoPolicyEngine:masterfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)
Canada Pension Plan (CPP) Tier 1
Canada Pension Plan (CPP2) Enhanced Tier
Key Features
Testing
All tests pass:
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