Audience: integration engineers, PMs, and support handling customers whose system of record is an external HRIS (notably Oracle Fusion) that must stay in sync with PaidHR.

Companion: technical.md §31–32 (sync algorithms + workers), surface-map §8, and the existing Fusion_Costing_DataDetails_Summary.

Verified against IntegrationController.cs, IntegrationService.cs (489 lines), the 14 sync workers, and Program.cs registrations, 2026-07-17. ⚠️ VERIFY marks product/ops items.


1. What "HRIS integration" means here

Some customers run PaidHR alongside a master HR system. PaidHR keeps its Person / compensation / status data in step with that external system so payroll and the org chart stay correct. Sync is bi-directional in effect via two mechanisms:

flowchart LR
  subgraph EXT[External HRIS e.g. Oracle Fusion]
    F[Employees / Compensation / Status / Leave]
  end
  subgraph PADE[PaidHR]
    IC[IntegrationController<br/>inbound webhooks]
    W[14 sync workers<br/>cron pull]
    IS[IntegrationService]
    P[(Person / Paygrade /<br/>Status / Logs)]
  end
  F -- "push (webhook)" --> IC --> IS --> P
  F -- "pull (every 5 min)" --> W --> IS --> P
  P -- "warehouse / BI" --> WH[(WarehouseDb)]

Both funnel through IntegrationService → PersonService sync methods.


2. The matching key — IntegrationUniqueId

Every synced Person carries an IntegrationUniqueId = the external system's employee key. All sync is an upsert on that key within a Company:

Look up Person by IntegrationUniqueId in this Company
  exists → UPDATE (employment status, paygrade, manager, …)
  not    → INSERT (CreatePerson logic, IntegrationUniqueId set)
then    → INSERT EmployeeLog ("Synced from <integration>") + audit

(SynchronizeIntegrationEmployees, PersonService.cs:11791.)


3. Inbound webhooks (IntegrationController)

The HRIS POSTs change notifications. Endpoints:

Fusion-specific

Endpoint Fires when…
POST Integration/Fusion/EmployeeNotification an employee is created/updated in Fusion
POST Integration/Fusion/EmployeeStatusNotification active/inactive status changes
POST Integration/Fusion/CompensationNotification current compensation changes
POST Integration/Fusion/CompensationHistoryNotification a compensation-history record is added
POST Integration/Fusion/GradeHistoryNotification grade/band history changes
POST Integration/Fusion/EmployeeLogNotification an action/log event occurs
POST Integration/Fusion/ReimbursementNotification a reimbursement is raised
POST Integration/Fusion/EmployeePayslipInterfaceNotification payslip interface data is ready