Vietnam Designated Energy User Check (TOE) API
Convert electricity and fuels to TOE with the official Vietnamese factors; check the 1,000 / 500 TOE designated-energy-user test and audit duties.
Send yearly energy use (electricity_kwh, diesel_l / diesel_t, fuel_oil_t, gasoline_l, lpg_t, natural_gas_m3, coal_t with coal_grade, coke_t) or a fuels array with your own factors or GJ. The API converts to tonnes of oil equivalent with the factors of Circular 02/2014/TT-BCT Appendix I (0.0001543 TOE/kWh, DO 1.02 TOE/t or 0.88 TOE/1,000 l, natural gas 900 TOE per million m³…) and applies Decree 30/2026/ND-CP Article 3: industrial, agricultural and transport facilities from 1,000 TOE a year, buildings (offices, homes, schools, hospitals, hotels, shops…) from 500 TOE.
For a designated energy user it lists the duties of Circular 64/2026/TT-BCT (in force 20/11/2026, replacing Circular 25/2020): consumption report before 15 January, annual plan and report before 30 April, 5-year plan, energy-management model and manager, mandatory energy audit every 3 years (report to the province within 30 days; new entries audit within 1 year). last_audit_date gives the next audit date.
The official figure is computed on dataenergy.vn; the province list (approved before 31 March) is the binding test. Reference only.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
facility_type | body|query | string | no | industry | industry, agriculture, transport (1,000 TOE) or building (500 TOE). |
electricity_kwh | body|query | number | no | Electricity per year (kWh); also diesel_l, diesel_t, fuel_oil_t, fuel_oil_l, gasoline_l, lpg_t, natural_gas_m3, coal_t (+ coal_grade 1-2 / 3-4 / 5-6), coke_t. | |
fuels | body | array | no | Array of {fuel, quantity, unit, factor?}; unit: "gj" for any fuel by energy content. | |
energy_toe | body|query | number | no | Total TOE if already known. | |
last_audit_date | body|query | string | no | Date of the last energy-audit report (YYYY-MM-DD). | |
action | query | string | no | factors lists the conversion factors. |
Example
curl -X POST "https://apibox.io.vn/v1/vn-energy-audit" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"electricity_kwh":6000000,"diesel_l":100000,"facility_type":"industry"}'const res = await fetch('https://apibox.io.vn/v1/vn-energy-audit', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"electricity_kwh": 6000000,
"diesel_l": 100000,
"facility_type": "industry"
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://apibox.io.vn/v1/vn-energy-audit",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"electricity_kwh": 6000000, "diesel_l": 100000, "facility_type": "industry"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-energy-audit');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"electricity_kwh":6000000,"diesel_l":100000,"facility_type":"industry"}',
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));Response
{
"facility_type": "industry",
"energy_toe": 1013.8,
"energy_gj": 42445.78,
"threshold_toe": 1000,
"designated_energy_user": true,
"margin_toe": 13.8,
"basis": {
"vi": "Cơ sở sản xuất công nghiệp, nông nghiệp, đơn vị vận tải tiêu thụ từ 1.000 TOE/năm",
"ref": "NĐ 30/2026 Điều 3 khoản 1"
},
"lines": [
{
"fuel": "electricity",
"fuel_vi": "Điện",
"quantity": 6000000,
"unit": "kwh",
"toe_per_unit": 0.0001543,
"toe": 925.8
},
{
"fuel": "diesel",
"fuel_vi": "Dầu DO",
"quantity": 100000,
"unit": "l",
"toe_per_unit": 0.00088,
"toe": 88
}
],
"duties": [
{
"id": "list",
"vi": "UBND cấp tỉnh phê duyệt, ban hành danh sách cơ sở sử dụng năng lượng trọng điểm của năm N-1 trước ngày 31/3 năm N; kiểm tra tên cơ sở trong quyết định của tỉnh",
"ref": "NĐ 30/2026 Điều 4; TT 64/2026 Điều 5",
"deadline": "2027-03-31"
},
{
"id": "consumption_report",
"vi": "Báo cáo tình hình tiêu thụ năng lượng năm N-1 tới UBND cấp tỉnh trên dataenergy.vn trước ngày 15/01 năm N (Mẫu 1.1 Phụ lục I)",
"ref": "TT 64/2026 Điều 4 khoản 4 điểm a",
"deadline": "2027-01-15"
}
],
"reviewed": "2026-11-16",
"disclaimer": "Reference only, not legal advice; check the official text and the competent authority."
}
Use cases
- Check whether a factory or building will appear on the provincial key-energy-user list
- Track the 3-year energy-audit cycle and yearly reporting dates
- Convert fuel bills to TOE for ESG and energy-management dashboards
- Pre-fill the consumption section of the yearly energy report
FAQ
Which conversion factors are used?
Circular 02/2014/TT-BCT Appendix I, still in force; send factor per line to override (e.g. measured calorific values).
What changed in 2026?
Decree 30/2026 (21/1/2026) replaced the old decree and Circular 64/2026 replaces Circular 25/2020 from 20/11/2026; the 1,000 / 500 TOE thresholds and the 3-year audit stay.
Does this cover greenhouse-gas inventory?
No, but 1,000 TOE is also a GHG inventory criterion; use /v1/vn-ghg-inventory for emissions.
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.