Payroll Audit Event Schema
Fields
Payroll Audit Event Schema
Append-only audit log of payroll data access events.
action
Type of action performed
DECRYPT_RECORDDECRYPT_PERIODENCRYPT_RECORDENCRYPT_PERIODEXPORT_DATEVMEMBER_ADDEDMEMBER_REMOVEDKEY_ROTATEDRECOVERY_PERFORMEDPERIOD_LOCKEDUNLOCK_SESSIONactorUserId
User UUID of the HR member who performed the action
targetType
Kind of resource the action targeted
employee_profilepayroll_recordpayroll_periodpayroll_exporttenant_membertenant_confignulltargetId
UUID of the affected resource (record/period/user/export)
targetEmployeeProfileId
When the action concerns a specific employee, their profile UUID — supports per-employee audit queries (DSGVO-Auskunftsrecht).
period
YYYY-MM payroll period if the action is period-scoped
occurredAt
When the action happened (client clock — server stores its own createdAt)
sourceIp
Client IP captured by the server (filled by route handler, not client)
userAgent
User-Agent header captured by the server
notes
Free-text context (e.g. recovery reason, export filename hash, member-removal justification)
No fields match the filter.
Standard endpoints
This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:
GET /api/v1/payroll_audit_events— List, paginated + filterableGET /api/v1/payroll_audit_events/<id>— Single entityPOST /api/v1/payroll_audit_events— CreatePATCH /api/v1/payroll_audit_events/<id>— Partial updateDELETE /api/v1/payroll_audit_events/<id>— Soft deleteGET /api/v1/payroll_audit_events/<id>/timeline— Audit + activities