API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · payroll_records

Payroll Record Schema

Schema-ID
payroll_record
Collection
payroll_records
Permissions
  • Lezenpayroll_view
  • Aanmakenpayroll_edit
  • Wijzigenpayroll_edit
  • Verwijderenpayroll_edit

Velden

Payroll Record Schema

payroll_records4 permissions

Per-employee encrypted master data for payroll preparation (Lohnstammdaten). Tier 1 zero-knowledge.

employeeProfileIduuidvereist

UUID of the linked employee_profile

ciphertextstringvereist

Base64-encoded AES-256-GCM ciphertext of the payload JSON

max. 65536 tekens
ivstringvereist

Base64-encoded 12-byte random IV

max. 32 tekens
algstringvereist

Symmetric encryption algorithm identifier

AES-256-GCM
keyIdstringvereist

Identifier of the payroll group key version that encrypted this record. Used to detect re-encryption needs after key rotation.

max. 64 tekensread-only
completionStatusstringoptioneel

Whether all mandatory fields are filled. Cleartext flag, computed on save by the HR client.

DRAFTCOMPLETENEEDS_REVIEW
Default: "DRAFT"
lastEditedByuuidoptioneel

User UUID of the HR member who last edited this record

nullable
lastEditedAtdatetimeoptioneel

When the encrypted payload was last updated

nullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/payroll_records — Lijst, gepagineerd + filterbaar
  • GET /api/v1/payroll_records/<id> — Enkele entity
  • POST /api/v1/payroll_records — Aanmaken
  • PATCH /api/v1/payroll_records/<id> — Gedeeltelijke update
  • DELETE /api/v1/payroll_records/<id> — Soft-delete
  • GET /api/v1/payroll_records/<id>/timeline — Audit + activiteiten

Zoeken