Status: Accepted (in force). Reconstructed.
External HRIS systems (Fusion + generic partners) push and pull employee changes, sometimes redelivering the same event or re-polling the same records. PaidHR must apply these without creating duplicates.
Every synced Person carries the external system's key as IntegrationUniqueId. All sync is an upsert on that key within a Company: found → update; not found → create; then write an EmployeeLog ("Synced from …"). See SynchronizeIntegrationEmployees (PersonService.cs:11791).
Good: idempotent — redelivered webhooks and re-polls are safe; a clear provenance trail via the log.
Bad / costs: correctness hinges entirely on the key being present and stable — a missing or mismatched IntegrationUniqueId creates duplicates (a runbook scenario); mapping the key correctly before enabling sync is essential.