Payroll Audit Event Schema
Felder
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)
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/payroll_audit_events— Liste, paginiert + filterbarGET /api/v1/payroll_audit_events/<id>— Einzelne EntityPOST /api/v1/payroll_audit_events— AnlegenPATCH /api/v1/payroll_audit_events/<id>— Teil-UpdateDELETE /api/v1/payroll_audit_events/<id>— Soft-DeleteGET /api/v1/payroll_audit_events/<id>/timeline— Audit + Aktivitäten