Vietnam Year-End Provisions (TT 48) API
Year-end provisions under TT 48/2019 (TT 24/2022): doubtful debts 30–100%, inventory write-down, securities, investments, warranties, with entries.
Send the lists you have: receivables (amount, due date, debtor status), inventory (quantity, unit cost, net realisable value), securities (book value, quantity, market price), investments (ownership %, the investee's owners' capital 411 + 412 and equity 410) and warranties (revenue or contract value, estimated cost). The API applies Thông tư 48/2019/TT-BTC as amended by Thông tư 24/2022/TT-BTC: doubtful debts 30% (6 months – < 1 year overdue), 50%, 70%, 100% (≥ 3 years), or the faster scale for telecom / retail sales to individuals; debtors bankrupt, missing, prosecuted or dead: estimated loss; inventory = quantity × (cost − NRV); listed securities = book value − quantity × market price (government bonds excluded); investments = ownership % × (invested capital − equity), capped at the book value; warranties ≤ 5% of revenue or contract value.
With the opening balances it computes the additional charge or the reversal for each provision and the journal entries (TT 99/2025 accounts 2291–2294, 3521 / 3522; chart=tt133 for SMEs). format=xlsx returns the working papers. TT 48/2019 applies until a replacement circular is issued and at the latest 31/12/2026 (QĐ 1760/QĐ-BTC); a draft replacement is pending and the answer says so.
Reference only, not tax or audit advice.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
receivables | body | array | no | { debtor, amount, due_date, status?, individual?, estimated_loss?, has_documents? }; status: bankrupt, dissolving, missing, prosecuted, ill, dead, closed. | |
inventory | body | array | no | { name, quantity, unit_cost, nrv | selling_price + costs_to_complete + selling_costs }. | |
securities | body | array | no | { name, kind (listed, upcom, corporate_bond, government_bond), book_value, quantity, market_price, no_trade? }. | |
investments | body | array | no | { name, ownership_percent, owners_capital, equity, book_value, foreign? } from the investee's statements at the same date. | |
warranties | body | array | no | { name, kind (product, construction), revenue | contract_value, estimated_cost | rate_percent }. | |
opening | body | object | no | Opening balances by type: { "bad_debt": 30000000, "inventory": 0, … }. | |
date | body | string | no | Reporting date (default 31/12). | |
retail_or_telecom | body | boolean | no | Telecom / retail enterprise selling to individuals on deferred terms (3 / 6 / 9 / 12-month scale). | |
chart | body | string | no | tt99 | tt99 or tt133. |
format | body | string | no | json | json or xlsx. |
Example
curl -X POST "https://apibox.io.vn/v1/vn-provisions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"date":"2026-12-31","receivables":[{"debtor":"Cty A","amount":100000000,"due_date":"2025-03-15"},{"debtor":"Cty B","amount":40000000,"due_date":"2026-05-31"}],"inventory":[{"name":"Thép","quantity":100,"unit_cost":50000,"nrv":42000}],"opening":{"bad_debt":30000000}}'const res = await fetch('https://apibox.io.vn/v1/vn-provisions', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"date": "2026-12-31",
"receivables": [
{
"debtor": "Cty A",
"amount": 100000000,
"due_date": "2025-03-15"
},
{
"debtor": "Cty B",
"amount": 40000000,
"due_date": "2026-05-31"
}
],
"inventory": [
{
"name": "Thép",
"quantity": 100,
"unit_cost": 50000,
"nrv": 42000
}
],
"opening": {
"bad_debt": 30000000
}
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://apibox.io.vn/v1/vn-provisions",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"date": "2026-12-31", "receivables": [{"debtor": "Cty A", "amount": 100000000, "due_date": "2025-03-15"}, {"debtor": "Cty B", "amount": 40000000, "due_date": "2026-05-31"}], "inventory": [{"name": "Thép", "quantity": 100, "unit_cost": 50000, "nrv": 42000}], "opening": {"bad_debt": 30000000}},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-provisions');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"date":"2026-12-31","receivables":[{"debtor":"Cty A","amount":100000000,"due_date":"2025-03-15"},{"debtor":"Cty B","amount":40000000,"due_date":"2026-05-31"}],"inventory":[{"name":"Thép","quantity":100,"unit_cost":50000,"nrv":42000}],"opening":{"bad_debt":30000000}}',
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));Response
{
"date": "2026-12-31",
"chart": "tt99",
"sections": {
"inventory": [
{
"name": "Thép",
"quantity": 100,
"unit_cost": 50000,
"nrv_per_unit": 42000,
"cost_value": 5000000,
"nrv_value": 4200000,
"provision": 800000
}
],
"bad_debt": [
{
"debtor": "Cty A",
"amount": 100000000,
"due_date": "2025-03-15",
"overdue_months": 21,
"scale": "general",
"rate_percent": 50,
"provision": 50000000,
"basis": "overdue 21 month(s)"
},
{
"debtor": "Cty B",
"amount": 40000000,
"due_date": "2026-05-31",
"overdue_months": 7,
"scale": "general",
"rate_percent": 30,
"provision": 12000000,
"basis": "overdue 7 month(s)"
}
]
},
"summary": [
{
"type": "inventory",
"account": "2294",
"account_name": "Dự phòng giảm giá hàng tồn kho",
"name_vi": "Dự phòng giảm giá hàng tồn kho",
"required_balance": 800000,
"opening_balance": 0,
"change": 800000,
"action": "additional_charge"
},
{
"type": "bad_debt",
"account": "2293",
"account_name": "Dự phòng phải thu khó đòi",
"name_vi": "Dự phòng phải thu khó đòi",
"required_balance": 62000000,
"opening_balance": 30000000,
"change": 32000000,
"action": "additional_charge"
}
],
"net_charge": 32800000,
"entries": [
{
"debit": "632",
"credit": "2294",
"amount": 800000,
"memo_vi": "Trích lập bổ sung dự phòng giảm giá hàng tồn kho",
"debit_name": "Giá vốn hàng bán",
"credit_name": "Dự phòng giảm giá hàng tồn kho"
},
{
"debit": "6426",
"credit": "2293",
"amount": 32000000,
"memo_vi": "Trích lập bổ sung dự phòng phải thu khó đòi",
"debit_name": "Chi phí dự phòng",
"credit_name": "Dự phòng phải thu khó đòi"
}
],
"reviewed": "2026-11-16"
}
Use cases
- Prepare the 2026 year-end provisions before the CIT finalisation
- Age receivables and compute the doubtful-debt allowance automatically
- Check the inventory write-down against net realisable values
- Generate provision entries in an accounting app
FAQ
When is a receivable doubtful?
When it is 6 months or more overdue and has been reconciled or demanded, or when the debtor is bankrupt, dissolving, missing, prosecuted, seriously ill or dead. Rates: 30% / 50% / 70% / 100% by age.
Is TT 48/2019 still in force in 2026?
Yes. QĐ 1760/QĐ-BTC (1/7/2026) keeps it until a replacement is issued, at the latest 31/12/2026. A draft replacement exists; check before closing the 2026 accounts.
What is the cap for warranty provisions?
5% of the year's sales of the products, goods and services under warranty, and 5% of the contract value for construction works (TT 48/2019 Điều 7).
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.