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

Payroll Period Schema

ID du schéma
payroll_period
Collection
payroll_periods
Autorisations
  • Lirepayroll_view
  • Créerpayroll_edit
  • Modifierpayroll_edit
  • Supprimerpayroll_edit

Champs

Payroll Period Schema

payroll_periods4 autorisations

Per-employee, per-month encrypted variable payroll data. Tier 1 zero-knowledge.

employeeProfileIduuidobligatoire

UUID of the linked employee_profile

periodstringobligatoire

Payroll period in YYYY-MM format (e.g. "2026-04")

Motif
statusstringobligatoire

DRAFT: in preparation. READY: HR marked it complete. EXPORTED: at least one DATEV export ran. LOCKED: no further edits without correction workflow.

DRAFTREADYEXPORTEDLOCKED
Par défaut : "DRAFT"
lockedAtdatetimefacultatif

When this period was locked

lecture seulenullable
lockedByuuidfacultatif

User UUID of the HR member who locked the period

lecture seulenullable
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 group key version used for encryption

max. 64 caractèreslecture seule
timeTrackingSyncedAtdatetimefacultatif

When this period last imported hours from the time-tracking module. Used to detect stale data.

nullable
lastEditedByuuidfacultatif
nullable
lastEditedAtdatetimefacultatif
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_periods — Liste, paginée et filtrable
  • GET /api/v1/payroll_periods/<id> — Une entité
  • POST /api/v1/payroll_periods — Créer
  • PATCH /api/v1/payroll_periods/<id> — Mise à jour partielle
  • DELETE /api/v1/payroll_periods/<id> — Suppression logique
  • GET /api/v1/payroll_periods/<id>/timeline — Audit et activités

Recherche