Payroll Period Schema
Campos
Payroll Period Schema
Per-employee, per-month encrypted variable payroll data. Tier 1 zero-knowledge.
employeeProfileId
UUID of the linked employee_profile
period
Payroll period in YYYY-MM format (e.g. "2026-04")
status
DRAFT: in preparation. READY: HR marked it complete. EXPORTED: at least one DATEV export ran. LOCKED: no further edits without correction workflow.
DRAFTREADYEXPORTEDLOCKEDlockedAt
When this period was locked
lockedBy
User UUID of the HR member who locked the period
ciphertext
Base64-encoded AES-256-GCM ciphertext of the payload JSON
iv
Base64-encoded 12-byte random IV
alg
Symmetric encryption algorithm identifier
AES-256-GCMkeyId
Identifier of the group key version used for encryption
timeTrackingSyncedAt
When this period last imported hours from the time-tracking module. Used to detect stale data.
lastEditedBy
lastEditedAt
Ningún campo coincide con el filtro.
Endpoints estándar
Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:
GET /api/v1/payroll_periods— Lista, paginada y filtrableGET /api/v1/payroll_periods/<id>— Una entidadPOST /api/v1/payroll_periods— CrearPATCH /api/v1/payroll_periods/<id>— Actualización parcialDELETE /api/v1/payroll_periods/<id>— Eliminación lógicaGET /api/v1/payroll_periods/<id>/timeline— Auditoría y actividades