Labour Time Limits (VN) API
Probation length, notice periods, last working day, contract renewal and final-pay deadline under the Labour Code 2019, with public holidays and fines.
topic=probation: the maximum probation for the job level (180 days for enterprise managers, 60 days for jobs needing a college degree or higher, 30 days for intermediate / technical jobs, 6 working days for others – Bộ luật Lao động Điều 25), the latest end date from start_date, the 85 % minimum probation wage and checks for a second probation or a contract under one month.
topic=notice: the notice an employee or employer must give (45 days for indefinite contracts, 30 days for 12–36 months, 3 working days under 12 months, 120 days or a quarter of the term for the special jobs of NĐ 145/2020 Điều 7), the termination date, the last working day and the 14-working-day settlement deadline, with the cases where no notice is needed. Working days skip weekends and Vietnamese public holidays (official schedules, including 24/11 from 2026) from /v1/vn-holidays; set saturday_off=false for a six-day week.
topic=renewal tells whether the next contract may be definite (only one more definite-term contract, sign within 30 days of expiry) and topic=settlement gives the final-payment deadline (14 working days, up to 30 days in special cases) and optionally severance or job-loss allowance. Without a topic you get the rule table with the fines of Nghị định 283/2026/NĐ-CP.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
topic | query | string | no | rules | probation, notice, renewal, settlement or rules. |
job_level | query | string | no | probation: manager, college, intermediate or other. | |
start_date | query | string | no | probation: start date (default today); also end_date, salary, probation_salary, contract_months, previous_probation. | |
party | query | string | no | employee | notice: employee or employer. |
contract_type | query | string | no | indefinite | notice: indefinite, definite (with contract_months) or probation. |
notice_date | query | string | no | notice: date the notice is given (default today); also special_job, illness_ground, agreed_notice_days. | |
expiry_date | query | string | no | renewal: expiry of the current contract; with definite_contracts_signed and exception. | |
termination_date | query | string | no | settlement: termination date; extended_reason, years, average_salary, allowance (severance|job_loss). | |
saturday_off | query | boolean | no | true | Saturdays are days off (false = six-day week). |
Example
curl "https://apibox.io.vn/v1/vn-labour-terms?topic=notice&party=employee&contract_type=indefinite¬ice_date=2026-11-11" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/vn-labour-terms?topic=notice&party=employee&contract_type=indefinite¬ice_date=2026-11-11', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
},
});
const data = await res.json();
console.log(data);import requests
res = requests.get(
"https://apibox.io.vn/v1/vn-labour-terms?topic=notice&party=employee&contract_type=indefinite¬ice_date=2026-11-11",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-labour-terms?topic=notice&party=employee&contract_type=indefinite¬ice_date=2026-11-11');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));Response
{
"topic": "notice",
"party": "employee",
"contract_type": "indefinite",
"contract_months": null,
"special_job": false,
"notice_date": "2026-11-11",
"notice": 45,
"unit": "days",
"ref": "Bộ luật Lao động, Điều 35.1.a",
"termination_date": "2026-12-26",
"last_working_day": "2026-12-25",
"settlement_deadline": "2027-01-15",
"settlement_deadline_extended": "2027-01-25",
"workweek": "Monday–Friday (saturday_off=true)",
"no_notice_cases": [
"Không được bố trí đúng công việc, địa điểm làm việc hoặc không được bảo đảm điều kiện làm việc đã thoả thuận (trừ Điều 29)",
"…"
],
"notes": [
"…"
],
"legal": [
{
"ref": "Bộ luật Lao động 45/2019/QH14 (VBHN 125/VBHN-VPQH)",
"effective_from": "2021-01-01"
},
"…"
],
"disclaimer": "Reference only, not legal advice; check the official text."
}
Use cases
- Tell an employee their last working day after resigning
- Check a probation agreement before signing
- Plan contract renewals so they do not turn indefinite by accident
- Compute the final-pay deadline in an HRM or chatbot
FAQ
Are notice days calendar days?
Yes for 45, 30 and 120 days; the 3-day notice for contracts under 12 months counts working days.
Does probation need notice?
No. Either party may end the probation without notice or compensation (Điều 27.2).
Can the company require a longer notice?
The contract or internal rules may agree a longer period; send agreed_notice_days to compute with it.
Related APIs
JSON Validator
Check JSON syntax with exact line and column of errors, and validate data against a JSON Schema (draft 4, 7, 2019-09 or 2020-12).
{ }JSON Formatter
Pretty print JSON with 0-8 spaces or tabs, minify it, or sort object keys recursively. Syntax errors are reported with line and column.
CSVCSV to JSON
Convert CSV into an array of JSON objects using the header row, with delimiter auto-detection, number and boolean typing, and row-level errors.