Skip to content

Conversation

DTrim99
Copy link
Collaborator

@DTrim99 DTrim99 commented Aug 27, 2025

Summary

This PR implements the New York Paid Family Leave (PFL) payroll tax, which is an employee-funded program that provides eligible employees with job-protected, partial wage replacement for qualifying life events.

Fixes #6454

Key Changes

  • Parameter Files: Added contribution rates and maximum annual contributions for 2021-2025
  • Tax Calculation Variable: Implemented ny_paid_family_leave_tax that applies the rate to gross wages with proper capping
  • Comprehensive Tests: Created tests covering various income levels and state residency scenarios

Implementation Details

Parameters

The implementation includes two parameter files under ny/tax/payroll/paid_family_leave/:

  • rate.yaml: Employee contribution rates as percentage of gross wages
    • 2021-2022: 0.511% (included COVID surcharge)
    • 2023: 0.455%
    • 2024: 0.373%
    • 2025: 0.388%
  • maximum_annual_contribution.yaml: Annual contribution caps
    • 2021: $385.34
    • 2022: $423.71
    • 2023: $399.43
    • 2024: $333.25
    • 2025: $354.53

Variable Logic

The ny_paid_family_leave_tax variable:

  • Calculates tax as: min(gross_wages × rate, maximum_contribution)
  • Applies only to New York residents (defined_for = StateCode.NY)
  • Uses irs_employment_income as the wage base
  • Returns $0 for non-NY residents

Testing

Four test cases validate the implementation:

  1. Low income ($10,000): Tests basic calculation without hitting cap
  2. Middle income ($50,000): Tests standard calculation
  3. High income ($100,000): Verifies cap enforcement
  4. Non-NY resident: Confirms $0 for out-of-state filers

All tests pass successfully ✅

References

Test Results

============================= test session starts =============================
collected 4 items
ny_paid_family_leave_tax.yaml ....
============================= 4 passed in 10.03s ==============================

🤖 Generated with Claude Code

This PR implements the New York Paid Family Leave (PFL) payroll tax, addressing issue PolicyEngine#6454.

## Changes
- Added parameter files for PFL contribution rates (2021-2025) and maximum annual contributions
- Created variable to calculate PFL tax based on employment income with proper cap enforcement
- Added comprehensive tests covering various income levels and state residency

## Implementation Details
- Tax applies to gross wages (irs_employment_income) at specified annual rates
- Contributions are capped at annual maximum amounts that vary by year
- Only applies to New York residents (defined_for = StateCode.NY)
- 2024 rate: 0.373% with $333.25 maximum
- 2025 rate: 0.388% with $354.53 maximum

## Testing
All tests pass successfully:
- Low income ($10k): Correctly calculates $37.30
- Middle income ($50k): Correctly calculates $186.50
- High income ($100k): Correctly caps at $333.25
- Non-NY resident: Returns $0

Fixes PolicyEngine#6454

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

Co-Authored-By: Claude <[email protected]>
@DTrim99 DTrim99 requested a review from MaxGhenis August 27, 2025 19:09
label: New York Paid Family Leave maximum annual contribution
unit: currency-USD
period: year
reference:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you find a statutory reference?

2022-01-01: 423.71
2023-01-01: 399.43
2024-01-01: 333.25
2025-01-01: 354.53 No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like it's wage-indexed, uprate by the closest available?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will need to include this in the computation tree (if we want evaluate reform impacts)
Depending on whether credits apply to this tax we can decide where to add it

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.

Model New York Paid Family Leave payroll tax
3 participants