API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · payroll_records

Payroll Record Schema

ID du schéma
payroll_record
Collection
payroll_records
Autorisations
  • Lirepayroll_view
  • Créerpayroll_edit
  • Modifierpayroll_edit
  • Supprimerpayroll_edit

Champs

Payroll Record Schema

payroll_records4 autorisations

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

employeeProfileIduuidobligatoire

UUID of the linked employee_profile

ciphertextstringobligatoire

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

max. 65536 caractères
ivstringobligatoire

Base64-encoded 12-byte random IV

max. 32 caractères
algstringobligatoire

Symmetric encryption algorithm identifier

AES-256-GCM
keyIdstringobligatoire

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

max. 64 caractèreslecture seule
completionStatusstringfacultatif

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

DRAFTCOMPLETENEEDS_REVIEW
Par défaut : "DRAFT"
lastEditedByuuidfacultatif

User UUID of the HR member who last edited this record

nullable
lastEditedAtdatetimefacultatif

When the encrypted payload was last updated

nullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/payroll_records — Liste, paginée et filtrable
  • GET /api/v1/payroll_records/<id> — Une entité
  • POST /api/v1/payroll_records — Créer
  • PATCH /api/v1/payroll_records/<id> — Mise à jour partielle
  • DELETE /api/v1/payroll_records/<id> — Suppression logique
  • GET /api/v1/payroll_records/<id>/timeline — Audit et activités

Recherche