Status: Partial extraction — tracker item remains open. Available task sources define conceptual inputs, not exact storage or API contracts. No endpoint or DTO is guessed.
Payroll — API reference identifies Admin/Benefits with View/Index, Add, Add_Employees, Update, Delete; pension Enroll_Pfa/Bulk_Enroll_Pfa; medical Add_HmoPlan/Enroll_HmoPlan/Bulk_Enroll_HmoPlan. This establishes controller/action names, not HTTP methods, payloads or complete security/retry contracts.
The original Stored procedures (index + full SQL dumps) attachment adds concrete fragments: spCreateEmployeePfa accepts PersonId, PfaName, PfaCode, RsaPin, EffectiveDate, actor names and CompanyId. It inserts or updates EmployeePfas by PersonId and reactivates flags. The update predicate shown is PersonId-only; service/tenant preconditions still need verification. It overwrites current fields, not a demonstrated effective-dated history mechanism.
spDeleteBenefit hard-deletes matching EmployeeBenefits and the Benefits row inside its transaction. Do not assume every Benefits removal is history-preserving soft delete; inspect the actual controller/service call and downstream evidence before any removal. These fragments do not establish complete HMO/general enrolment persistence, grant checks, provider sync, bulk partial outcomes or safe recovery. The tracker item remains open.
| Concept | Documented input / distinction |
|---|---|
| Benefit definition | Kind, name, cost and employee/employer split. Creation does not enrol employees. |
| Membership | Selected benefit plus employees; medical plan or pension provider context as applicable. |
| Bulk medical | Current template with each employee and plan. |
| Bulk pension | Current template with each employee, provider and pension identifier. Contribution rates come from paygrade statutory configuration, not the file. |
| Payroll consumption | Related Payroll source names EmployeeBenefit, EmployeeHmoPlans and paygrade statutory benefit inputs. These are not a proven one-to-one mapping of all Benefits form fields. |
Frontend routes are /dashboard/benefits, /dashboard/benefits/medical/bulk-upload and /dashboard/benefits/pensions/bulk-upload. They are not backend API endpoints.
Exact entities/keys, field types/nullability/precision, company ownership, employee/provider references, API verbs/routes/payloads/responses, validation/error codes, bulk row schema, duplicate/partial-result rules, effective-date/history, idempotency and external-provider integration are not established. The storage shape of statutory allowance bases also retains a source verification warning.
Obtain implementation/schema sources and representative validated contracts before checking this entry off. Keep 02 · Business rules & configuration and 04 · Technical architecture & security aligned when that evidence arrives. Sources: the six Benefits and Payroll — technical / engineering documentation context, scoped in the Source registry & extraction routing. No production API/schema test was performed.