Vietnam PIT Tax Residency (183 days) API

Count days in Vietnam from entry / exit dates (NĐ 253/2026), decide PIT residency per year, the first 12-month tax period and the 20% non-resident rate.

POSTGEThttps://apibox.io.vn/v1/vn-tax-residency

Send the trips (entry and exit dates; an empty exit means still in Vietnam until as_of). The API counts the days of presence the way Nghị định 253/2026/NĐ-CP Điều 4 does from 1/7/2026 (the arrival day counts as one day and the departure day as one day; in and out on the same day = 1 day), per calendar year and over the 12 consecutive months from the first day of presence, and adds habitual residence (permanent_residence, or leases of rental_days ≥ 183 in the year).

For each year it says resident or non-resident with the reasons, the tax period (calendar year, or the first 12 months from the first day when the 183 days are only reached that way, NĐ 253/2026 Điều 66.1.a), and the consequence: progressive 5-bracket tax with family deductions (link to /v1/vn-pit-annual) or 20% on Vietnam-sourced salary. count_method=tt111 recounts with the former rule (arrival and departure days together as one day) and the answer flags years whose result changes.

Dates are processed in the request only and never stored. Reference only, not tax advice; check tax treaties with /v1/vn-tax-treaty.

Markdown · OpenAPI · Postman · llms.txt

Parameters

NameInTypeRequiredDefault
tripsbodyarrayyes[{ "entry": "2026-03-10", "exit": "2026-06-20" }, …] (up to 1,000; DD/MM/YYYY accepted; empty exit = still in Vietnam).
as_ofbodystringnoCount open trips up to this date (default today).
yearbodynumbernoOnly this tax year.
permanent_residencebodybooleannoRegistered permanent / temporary residence in Vietnam.
rental_daysbodynumbernoDays covered by housing leases in the tax year (incl. hotels, guest houses).
foreign_residence_certificatebodybooleannoCan prove tax residence of another country (residence certificate).
count_methodbodystringnond253nd253 (current) or tt111 (former rule).

Example

curl -X POST "https://apibox.io.vn/v1/vn-tax-residency" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"trips":[{"entry":"2026-03-10","exit":"2026-06-20"},{"entry":"2026-09-01","exit":"2026-10-15"},{"entry":"2027-01-05","exit":"2027-03-31"}],"as_of":"2027-11-16"}'

Response

{
  "count_method": "nd253",
  "as_of": "2027-11-16",
  "first_day": "2026-03-10",
  "first_12_months": {
    "from": "2026-03-10",
    "to": "2027-03-09",
    "days_present": 212
  },
  "total_days_present": 234,
  "years": [
    {
      "year": 2026,
      "days_present": 148,
      "resident": true,
      "reasons": [
        "212 days present in the 12 consecutive months from the first day 2026-03-10 (≥ 183)"
      ],
      "tax_period": {
        "from": "2026-03-10",
        "to": "2027-03-09",
        "kind": "first_12_months"
      },
      "consequence": {
        "regime": "resident",
        "tools": [
          "/v1/vn-pit-annual",
          "/v1/vn-salary"
        ]
      }
    },
    {
      "year": 2027,
      "days_present": 86,
      "resident": false,
      "reasons": [
        "86 days present in 2027; no habitual residence"
      ],
      "tax_period": null,
      "consequence": {
        "regime": "non_resident",
        "salary_tax": "20% of the salary for work in Vietnam (NĐ 253/2026 Điều 64.1; 20% also under the former law)."
      }
    }
  ],
  "other_method": {
    "method": "tt111",
    "first_12_months": 210,
    "years_that_change": []
  },
  "reviewed": "2026-11-16",
  "privacy": "Dates are processed in the request only and never stored."
}

Use cases

  • Decide whether an expatriate is a resident for PIT in 2026 / 2027
  • Find the first tax period of a foreign employee arriving mid-year
  • Plan travel to stay under or above 183 days
  • Audit payroll withholding (progressive vs 20%) for an FDI company

FAQ

How are the arrival and departure days counted?

From 1/7/2026 (NĐ 253/2026 Điều 4) the arrival day counts as one day and the departure day as one day; entering and leaving on the same day counts as one day. The former TT 111/2013 counted them together as one day (count_method=tt111).

What if I have fewer than 183 days in the calendar year?

You are still resident if you reach 183 days in the 12 consecutive months from your first day in Vietnam (the first tax period is then those 12 months) or if you have a habitual residence (registered residence, or leases ≥ 183 days) and cannot prove residence elsewhere.

How are non-residents taxed?

At 20% of the salary for work in Vietnam, without family deductions and without annual finalisation (NĐ 253/2026 Điều 64.1).

Related APIs

Start with 1,000 free requests every month. Get free API key →