Vietnam Teacher Periods & Overtime Pay API
Teaching-period norms, duty reductions, extra periods and overtime pay of Vietnamese teachers (Circulars 05/2025, 21/2025), with an XLSX sheet.
Send level (tieu_hoc, thcs, thpt, du_bi, boarding / special-school variants), role (teacher, principal, vice_principal), the periods taught (actual_periods a year or periods_per_week), duties (homeroom, head_group, deputy_group, lab:2, party_secretary, it, library, probation, child_under_12m…), conversions and the salary (monthly_salary, or coefficient + allowance_coefficient + allowance_percent with the base salary of the date). The answer gives the weekly norm (23 / 19 / 17 periods, principal 2, vice principal 4), the annual norm (× 35 teaching weeks, reserve weeks excluded), reductions, required and extra periods.
Pay follows Circular 21/2025/TT-BGDĐT (from 23/9/2025): one period = 12-month salary × teaching weeks ÷ (annual norm × 52); an extra period is paid 150 %; at most 200 extra periods a year. Warnings flag more than two concurrent duties, more than 150 % of the weekly norm and the 200-period cap. POST teachers=[…] for a whole school and format=xlsx for a payment sheet.
A draft raising the norms is listed under pending and the rules are reviewed every 30 days. Preschool teachers and local extras (e.g. two-session pay in HCMC) are not covered. Reference only.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
level | query | string | no | tieu_hoc, thcs, thpt, du_bi, ptdtbt_tieu_hoc, ptdtbt_thcs, dtnt_thcs, dtnt_thpt, khuyet_tat_* (empty = list norms). | |
role | query | string | no | teacher | teacher, principal or vice_principal. |
periods_per_week | query | number | no | Average periods taught a week (or actual_periods for the year). | |
actual_periods | query | number | no | Periods actually taught in the school year. | |
duties | query | string | no | Comma list or JSON: homeroom, head_group, deputy_group, lab:2, party_secretary, it, library, probation, child_under_12m, custom… | |
conversions | body | array | no | [{type: x1|x1_5|remedial|competition|chuyen, periods}]. | |
coefficient | query | number | no | Salary coefficient (with allowance_coefficient, allowance_percent) — or monthly_salary. | |
monthly_salary | query | number | no | Monthly salary used for overtime (VND). | |
weeks | query | number | no | 35 | Teaching weeks (excl. reserve weeks). |
large_school | query | boolean | no | ≥ 28 classes (regions 2–3) or ≥ 19 (region 1). | |
teachers | body | array | no | Batch: array of teacher objects with the fields above (+ name). | |
format | query | string | no | json | json or xlsx. |
Example
curl "https://apibox.io.vn/v1/vn-teaching-hours?level=thcs&periods_per_week=20&duties=homeroom,head_group&coefficient=4.0&date=2026-11-16" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/vn-teaching-hours?level=thcs&periods_per_week=20&duties=homeroom,head_group&coefficient=4.0&date=2026-11-16', {
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-teaching-hours?level=thcs&periods_per_week=20&duties=homeroom,head_group&coefficient=4.0&date=2026-11-16",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-teaching-hours?level=thcs&periods_per_week=20&duties=homeroom,head_group&coefficient=4.0&date=2026-11-16');
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
{
"date": "2026-11-16",
"level": "thcs",
"weekly_norm": 19,
"teaching_weeks": 35,
"annual_norm": 665,
"reductions": [
{
"code": "homeroom",
"vi": "Giáo viên chủ nhiệm lớp",
"per_week": 4,
"art": "Điều 9"
},
{
"code": "head_group",
"vi": "Tổ trưởng chuyên môn",
"per_week": 3,
"art": "Điều 9"
}
],
"reduction_per_week": 7,
"required_periods": 420,
"total_periods": 700,
"extra_periods": 280,
"extra_periods_paid": 200,
"pay": {
"monthly_salary": 10120000,
"from_coefficient": {
"coefficient": 4,
"allowance_coefficient": 0,
"allowance_percent": 0,
"base_salary": 2530000,
"base_from": "2026-07-01",
"base_ref": "Nghị định 161/2026/NĐ-CP; Thông tư 13/2026/TT-BNV"
},
"salary_per_period": 122915,
"salary_per_extra_period": 184372,
"extra_pay": 36874494,
"formula": "monthly × 12 × weeks ÷ (annual norm × 52) × 150 %"
},
"warnings": [
"280 extra periods exceed the 200-period annual cap (TT 21/2025): only 200 are paid."
]
}
Use cases
- Compute overtime pay for every teacher at year end
- Check a timetable against the weekly overload limit
- Show teachers how their reductions are counted
- Export an XLSX payment sheet for the school accountant
FAQ
How is one extra period paid?
150 % of the salary of one period, where one period = 12-month salary × teaching weeks ÷ (annual norm × 52), under Circular 21/2025.
Is there a cap on extra periods?
Yes, 200 extra periods per teacher per school year; the school-wide total is also capped (not checked here).
How many reductions can one teacher have?
At most two concurrent duties under articles 9–11 of Circular 05/2025, and none for a duty already paid by an allowance.
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.