# Salary Scale Builder (VN) API

> Build a company salary scale from the regional minimum wage (NĐ 399/2026 from 1/1/2027), check every step and each employee’s pay, export XLSX.

- Endpoint: `GET | POST https://apibox.io.vn/v1/vn-salary-scale`
- Category: Data & JSON
- HTML docs: https://apibox.io.vn/docs/vn-salary-scale/ (Vietnamese: https://apibox.io.vn/vi/docs/vn-salary-scale/)
- Online tool: https://apibox.io.vn/tools/vn-salary-scale/
- Authentication: `Authorization: Bearer <API key>` or `X-API-Key: <API key>` (free key: https://apibox.io.vn/dashboard/#signup)

Give the region (`region` I–IV, or `ward` + `province` to look it up through /v1/vn-min-wage) and the job titles (`grades`: title, group, number of steps, % between steps or explicit coefficients). Step 1 starts at the regional minimum wage – the 2027 amounts of Nghị định 399/2026/NĐ-CP (I 5,700,000; II 5,080,000; III 4,450,000; IV 4,040,000 VND) when `date` is within 60 days of 1/1/2027 or `plan_for_next=true`, otherwise the amounts in force (NĐ 293/2025/NĐ-CP for 2026). Amounts are rounded up to `rounding` (1,000 VND).

Every grade says whether step 1 is legal now (`ok_now`) and after the next decree (`ok_next`). Send `employees` (JSON, CSV or an XLSX upload with name, title, step, salary) to find contract wages below the minimum wage or below their step. The old NĐ 49/2013 rules (+7 % for trained work, +5 % for hazardous work, ≥ 5 % between steps) were repealed in 2021; use `premium_trained`, `premium_hazardous` and `ratio` if your policy keeps them.

`format=xlsx` returns the usual workbook: the salary scale sheet (titles × steps), the employee check and the legal basis. Nothing is stored.

## Parameters

| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
| `region` | body|query | string | no |  | Region `I`–`IV` (or `ward` + `province`). |
| `ward` | body|query | string | no |  | Current ward / commune name or code; region looked up via /v1/vn-min-wage (with `province`). |
| `date` | body|query | string | no | `today` | Date the scale applies from (2026-01-01 or later). |
| `grades` | body | array | no |  | `[{ title, group (simple\|trained\|hazardous\|very_hazardous\|management), steps, ratio, start \| coefficients }]`; or `title`, `steps`, `ratio` for one grade. |
| `employees` | body | array | no |  | Employees to check: `[{ name, title, step, salary }]` (Vietnamese headers accepted), CSV text or an uploaded `file` (CSV / XLSX). |
| `plan_for_next` | body|query | boolean | no |  | Build step 1 on the next decree’s minimum wage (default: yes within 60 days of it). |
| `premium_trained` | body|query | number | no | `0` | Optional % above the minimum for trained work (old rule 7); also `premium_hazardous`, `premium_very_hazardous`. |
| `rounding` | body|query | number | no | `1000` | Round amounts up to this multiple. |
| `format` | body|query | string | no | `json` | `json` or `xlsx` (with `company`). |

## Example request

```bash
curl "https://apibox.io.vn/v1/vn-salary-scale?region=I&date=2026-11-15&steps=3" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Example response

```json
{
  "date": "2026-11-15",
  "region": "I",
  "region_from": "region",
  "min_wage": {
    "monthly": 5310000,
    "decree": "293/2025/NĐ-CP",
    "effective_from": "2026-01-01"
  },
  "next_min_wage": {
    "monthly": 5700000,
    "decree": "399/2026/NĐ-CP",
    "effective_from": "2027-01-01"
  },
  "base_for_step1": 5700000,
  "based_on": "next minimum wage (399/2026/NĐ-CP, 2027-01-01)",
  "rounding": 1000,
  "grades": [
    {
      "title": "Nhân viên",
      "group": "simple",
      "group_vi": "Công việc giản đơn",
      "steps": [
        {
          "step": 1,
          "amount": 5700000,
          "increase_pct": null
        },
        {
          "step": 2,
          "amount": 5985000,
          "increase_pct": 5
        },
        {
          "step": 3,
          "amount": 6285000,
          "increase_pct": 5.01
        }
      ],
      "step_ratio_pct": 5,
      "premium_pct": 0,
      "ok_now": true,
      "ok_next": true,
      "issues": []
    }
  ],
  "warnings": [],
  "notes": [
    "Since 2021 the law only requires every step to be at least the regional minimum wage; …",
    "…"
  ],
  "legal": [
    {
      "ref": "Bộ luật Lao động 45/2019/QH14, Điều 90, 93",
      "effective_from": "2021-01-01",
      "note": "…"
    },
    "…"
  ],
  "reviewed": "2026-11-15",
  "disclaimer": "Reference only, not legal advice; check the official text."
}
```

## Use cases

- Update the salary scale before the 1/1/2027 minimum-wage increase
- Find employees whose contract wage falls below the new minimum wage
- Generate the thang bảng lương XLSX for a new company
- Check an HRM system’s salary grades in CI

## FAQ

### Must steps differ by 5 %?

No. That rule of NĐ 49/2013 ended in 2021; only step 1 ≥ the regional minimum wage is mandatory. The default 5 % is just a common choice.

### Do I still have to file the scale with the labour office?

No. Since 2021 you consult the employee representative (if any) and publish it at the workplace (BLLĐ Điều 93).

### Which minimum wage is used in December 2026?

Within 60 days of 1/1/2027 the scale is built on the 2027 amounts so that it stays legal; pass plan_for_next=false to use the 2026 ones.
