hr.leave_requests
Create request
pending status. Approval or rejection (and the deduction from the vacation balance) is always done by Human Resources inside FileXpress.
Approved
unpaid_leave requests are automatically deducted in the period’s payroll.leave.vacation_day_counting and leave.other_day_counting): in calendar days (the default in El Salvador and for non-vacation leave) or in business days (the default for vacation in Guatemala and Colombia), not counting the employee’s schedule rest days or holidays. This is what is deducted from the balance when vacation is approved in FileXpress. See how days are counted.
Through the external API the request does not validate the vacation balance (it is validated on approval). It supports
half_day: true only when start_date and end_date are the same day (otherwise it responds 422). When created, FileXpress sends the New leave request notification (bell and app push) to the company administrators and to the employee’s direct manager, just like requests created in FileXpress.201: the request object (see below).
Errors