API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · payroll_audit_events

Payroll Audit Event Schema

Schema ID
payroll_audit_event
Collection
payroll_audit_events
Permissions
  • Readpayroll_view
  • Createpayroll_view
  • Editpayroll_view
  • Deletepayroll_view

Fields

Payroll Audit Event Schema

payroll_audit_events4 permissions

Append-only audit log of payroll data access events.

actionstringrequired

Type of action performed

DECRYPT_RECORDDECRYPT_PERIODENCRYPT_RECORDENCRYPT_PERIODEXPORT_DATEVMEMBER_ADDEDMEMBER_REMOVEDKEY_ROTATEDRECOVERY_PERFORMEDPERIOD_LOCKEDUNLOCK_SESSION
read-only
actorUserIduuidrequired

User UUID of the HR member who performed the action

read-only
targetTypestringoptional

Kind of resource the action targeted

employee_profilepayroll_recordpayroll_periodpayroll_exporttenant_membertenant_confignull
nullable
targetIdstringoptional

UUID of the affected resource (record/period/user/export)

max 64 charactersnullable
targetEmployeeProfileIduuidoptional

When the action concerns a specific employee, their profile UUID — supports per-employee audit queries (DSGVO-Auskunftsrecht).

nullable
periodstringoptional

YYYY-MM payroll period if the action is period-scoped

Patternnullable
occurredAtdatetimerequired

When the action happened (client clock — server stores its own createdAt)

read-only
sourceIpstringoptional

Client IP captured by the server (filled by route handler, not client)

max 45 charactersread-onlynullable
userAgentstringoptional

User-Agent header captured by the server

max 500 charactersread-onlynullable
notesstringoptional

Free-text context (e.g. recovery reason, export filename hash, member-removal justification)

max 1000 charactersnullable

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 + filterable
  • GET /api/v1/payroll_audit_events/<id> — Single entity
  • POST /api/v1/payroll_audit_events — Create
  • PATCH /api/v1/payroll_audit_events/<id> — Partial update
  • DELETE /api/v1/payroll_audit_events/<id> — Soft delete
  • GET /api/v1/payroll_audit_events/<id>/timeline — Audit + activities

Search