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

Payroll Record Schema

Schema ID
payroll_record
Collection
payroll_records
Permissions
  • Readpayroll_view
  • Createpayroll_edit
  • Editpayroll_edit
  • Deletepayroll_edit

Fields

Payroll Record Schema

payroll_records4 permissions

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

employeeProfileIduuidrequired

UUID of the linked employee_profile

ciphertextstringrequired

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

max 65536 characters
ivstringrequired

Base64-encoded 12-byte random IV

max 32 characters
algstringrequired

Symmetric encryption algorithm identifier

AES-256-GCM
keyIdstringrequired

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

max 64 charactersread-only
completionStatusstringoptional

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

DRAFTCOMPLETENEEDS_REVIEW
Default: "DRAFT"
lastEditedByuuidoptional

User UUID of the HR member who last edited this record

nullable
lastEditedAtdatetimeoptional

When the encrypted payload was last updated

nullable

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

Search