HR-R2 Leave

Leave request, approval, and balance baseline

Leave balances and requests are tracked separately so mobile ESS can show entitlement while approvals remain auditable.

API endpointBalance + request/people/v1/leave/requests?companyId=company-alpha

Operational pattern

Core workflow rows

Postgres-backed API
SubjectStatusControl
Annual12 entitlement9 remaining
Requestpending approvalapprover task
Attachmentmetadata onlyno file leak

Sensitive-field handling

No raw leakage

HR-R2 screens and evidence avoid national ID, raw salary detail, health data, geolocation, photo, signature, device fingerprint, raw attachment, and receipt blob values.