Time off
Read when: reading balances or requests, or requesting, cancelling or approving time off.
Before using tlnt
tlnt is unofficial and live commands can affect account data. Read the
full disclaimer and follow
Workflows before submitting anything.
Commands
| Command | Options |
|---|---|
timeoff request |
--date, --policy-id, --reason, --half-day, --schedule-in, --schedule-out, --delegate-to, --file, --interactive, --json |
timeoff cancel REQUEST_ID |
--type, --interactive, --json |
timeoff approve INBOX_ID |
--reason, --interactive, --json |
Time-off data
The five lookup commands are read-only and support --json:
tlnt timeoff types-list --json
tlnt timeoff balance --json
tlnt timeoff balance --show-unlimited-balance --json
tlnt timeoff delegation-list --search "NAME" --json
tlnt timeoff list --page 1 --limit 30 --json
tlnt timeoff detail REQUEST_ID --json
Balance filters include --date, --keyword, --policy-id,
--limited-by-date, --refresh/--no-refresh, and
--show-special-leave. Unlimited balances are included with
--show-unlimited-balance; this flag is independent of special leave.
The defaults are limited balances, no special leave, and refresh enabled.
Company and user IDs are read from the signed-in profile.
delegation-list accepts --page (default 1) and --search
(default empty). list accepts --page (default 1), --limit
(default 30), --date, --end-date, --status (default 0),
--policy-id, --all-period/--no-all-period (default all periods), and
--show-metrics (default off). detail takes a positive request ID.
request requires --date YYYY-MM-DD, --policy-id ID, and --reason TEXT.
It submits a one-day full-day request by default. Add --half-day before or
--half-day after with both --schedule-in HH:MM and --schedule-out HH:MM
to request half-day leave before or after the break. Both request types ask for terminal confirmation before
sending. cancel takes a positive request ID, asks for confirmation, and accepts
an optional --type TYPE (default 1002). Declining either prompt sends nothing.
Both write commands support --json.
Pass --interactive to omit --date, --policy-id, --reason, or the
positional request ID: request auto-loads time-off policies and walks
through date, reason, leave type, and (for half-day) schedule times;
cancel auto-loads the current time-off requests and prompts you to pick
one. --delegate-to is not prompted; pass it as a flag if you need it.
Request, cancel and approve:
tlnt timeoff request --date 2026-10-12 --policy-id 4448 --reason "reason"
tlnt timeoff request --date 2026-10-12 --policy-id 4448 --reason "reason" --half-day after --schedule-in 13:00 --schedule-out 18:00
tlnt timeoff request --date 2026-10-12 --policy-id 4448 --reason "reason" --half-day before --schedule-in 09:00 --schedule-out 12:00 --delegate-to 1141 --file support.jpeg
tlnt timeoff cancel REQUEST_ID
tlnt timeoff approve INBOX_ID --reason "Reviewed"
Approval
Approve a time-off request the same way as an attendance request:
tlnt notification detail INBOX_ID --json
tlnt timeoff approve INBOX_ID --reason "Reviewed" --json
timeoff approve reads the time-off request ID from the notification
(fk_ref, or timeoff_request.id), shows the request, and asks for
confirmation exactly like attendance approve. With --interactive it loads
page 1 of tlnt notification timeoff-list instead. It returns
timeoff_approved on success and timeoff_approval_cancelled when you
decline. A failure that Mekari reports inside an HTTP 200 response returns
remote_error, never timeoff_approved. An inbox item that is an attendance
request returns invalid_input without sending anything; approve it with
tlnt attendance approve.