feat: Implements a Local City, County & School District Income Tax Withholding and Reciprocity Engine (#2062) - #2100
Merged
Dev1822 merged 1 commit intoAug 31, 2026
Conversation
…thholding and reciprocity engine (closesDev1822#2062)
@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
commented
Aug 31, 2026
Author
Please try to add many Bonus XP tags ( |
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 freeto 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.
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
Changes Made
backend/src/constants/localTax.constants.js(New): Tax types, reciprocity frameworks, and municipality codes.backend/src/models/localTax.model.js(New): Schemas forLocalTaxJurisdiction,CommuterTaxRule,EmployeeTaxCertificate, andLocalTaxLedger.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?
Checklist: