Skip to content

feat: Implements a Local City, County & School District Income Tax Withholding and Reciprocity Engine (#2062) - #2100

Merged
Dev1822 merged 1 commit into
Dev1822:mainfrom
Aakif-Kohari:feat/issue-2062-local-tax-reciprocity-engine
Aug 31, 2026
Merged

feat: Implements a Local City, County & School District Income Tax Withholding and Reciprocity Engine (#2062)#2100
Dev1822 merged 1 commit into
Dev1822:mainfrom
Aakif-Kohari:feat/issue-2062-local-tax-reciprocity-engine

Conversation

@Aakif-Kohari

Copy link
Copy Markdown

Description

This PR implements a Local City, County & School District Income Tax Withholding & Reciprocity Engine. It introduces schemas to track municipal jurisdictions, commuter tax rules, employee tax certificates, and YTD local wage accumulators. The engine evaluates residency vs. work-location matrices, applies commuter tax credits (ensuring employees aren't double-taxed by home and work municipalities under frameworks like PA Act 32), and enforces local-specific wage bases. A "Jurisdiction Conflict Guardrail" automatically flags employees whose addresses trigger conflicting local tax claims or missing certificates.

Fixes#2062

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Changes Made

  • backend/src/constants/localTax.constants.js (New): Tax types, reciprocity frameworks, and municipality codes.
  • backend/src/models/localTax.model.js (New): Schemas for LocalTaxJurisdiction, CommuterTaxRule, EmployeeTaxCertificate, and LocalTaxLedger.
  • backend/src/utils/localTaxEngine.utils.js (New): Engine for withholding calculations, commuter credits, and conflict guardrails.
  • backend/src/controllers/localTax.controller.js (New): Endpoints for jurisdiction management, certificate submission, and payroll processing.
  • backend/src/routes/localTax.routes.js (New): Route definitions.
  • frontend/src/components/JurisdictionConflictAlert.jsx (New): Reusable alert for missing certificates and double-taxation risks.
  • frontend/src/pages/LocalTaxDashboard.jsx (New): Main dashboard for managing jurisdictions, rules, and YTD liabilities.

How Has This Been Tested?

  • Tested locally on frontend
  • Tested locally on backend

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings

@vercel

vercelBot commented Aug 31, 2026

Copy link
Copy Markdown

@Aakif-Kohari is attempting to deploy a commit to the Dev's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Aakif-Kohari

Copy link
Copy Markdown
Author

Please try to add many Bonus XP tags (good-issue, good-pr, good-ui, good-backend) before merge.🙏

@Dev1822Dev1822 added enhancement New feature or request ECSoC26 good-pr labels Aug 31, 2026
@Dev1822
Dev1822 merged commit fa217dd into Dev1822:mainAug 31, 2026
6 of 21 checks passed
@Aakif-Kohari
Aakif-Kohari deleted the feat/issue-2062-local-tax-reciprocity-engine branch August 31, 2026 19:05
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] implement local city, county, and school district income tax withholding and reciprocity engine

2 participants

@Aakif-Kohari@Dev1822