Vietnam journal entries API

Reference debit / credit entries for ~110 common transactions with TT 99/2025 or TT 133/2016 accounts, amounts and VAT filled in, and an entry check.

GETPOSThttps://apibox.io.vn/v1/vn-journal-entries

Search with q in Vietnamese (accents optional) or English – "mua hàng nhập kho chưa thanh toán", "trích khấu hao", "trả lương", "chiết khấu thương mại", "kết chuyển doanh thu" – and get the matching entries with their Nợ / Có lines, account names from the chart of the circular and the guidance they follow (basis). Send amount with vat_rate (and inclusive) to fill the values and VAT, or amounts per role for multi-line entries (insurance: bhxh, bhyt, bhtn, kpcd). id returns one entry, list=true (or group) the library.

chart=tt99 (default) uses Thông tư 99/2025/TT-BTC, in force from 1/1/2026 (e.g. 242 "chi phí chờ phân bổ", 3387 "doanh thu chờ phân bổ", 621/622/627 kept, no 611); chart=tt133 maps to Thông tư 133/2016/TT-BTC for SMEs (154 for production costs, 6421/6422, no 521, 3385 for unemployment insurance) with notes where the treatment differs.

POST entry (lines with side Nợ/Có, account, amount) to check it: accounts exist in the chart, debits equal credits, and the pairing matches an entry of the library. A reference written from the account guidance of the circulars – not an official template: several treatments can be valid, have your accountant review it.

Markdown · OpenAPI · Postman · llms.txt

Parameters

NameInTypeRequiredDefault
qquery|bodystringnoTransaction description (Vietnamese with or without accents, or English).
chartquery|bodystringnott99tt99 (TT 99/2025) or tt133 (TT 133/2016).
amountquery|bodynumbernoAmount before VAT (or including VAT with inclusive=true).
vat_ratequery|bodynumbernoVAT rate (0, 5, 8, 10) to split / add the VAT line.
amountsbodyobjectnoValues per role for multi-line entries, e.g. {bhxh, bhyt, bhtn, kpcd, total}.
idquery|bodystringnoOne entry by id (list=true for ids).
list / groupquerystringnoList the library (groups: cash, purchase, sales, inventory, assets, payroll, tax, finance, equity, closing, other).
entrybodyarraynoCheck an entry: [{side: "Nợ"|"Có", account, amount}].
limitquerynumberno3Results for q (1–10).

Example

curl "https://apibox.io.vn/v1/vn-journal-entries?q=mua%20h%C3%A0ng%20nh%E1%BA%ADp%20kho%20ch%C6%B0a%20thanh%20to%C3%A1n&amount=10000000&vat_rate=10&limit=1" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "q": "mua hàng nhập kho chưa thanh toán",
  "count": 1,
  "results": [
    {
      "score": 2.71,
      "id": "buy_goods_credit",
      "group": "purchase",
      "description_vi": "Mua hàng hóa nhập kho chưa thanh toán (có hóa đơn GTGT)",
      "lines": [
        {
          "side": "debit",
          "side_vi": "Nợ",
          "account": "156",
          "account_name": "Hàng hóa",
          "role": "amount",
          "value": 10000000
        },
        {
          "side": "debit",
          "side_vi": "Nợ",
          "account": "1331",
          "account_name": "Thuế GTGT được khấu trừ của hàng hóa, dịch vụ",
          "role": "vat",
          "value": 1000000
        },
        {
          "side": "credit",
          "side_vi": "Có",
          "account": "331",
          "account_name": "Phải trả cho người bán",
          "role": "total",
          "value": 11000000
        }
      ],
      "totals": {
        "debit": 11000000,
        "credit": 11000000,
        "balanced": true
      },
      "basis": "Thông tư 99/2025/TT-BTC, Phụ lục II – hướng dẫn kế toán các tài khoản 156, 133, 331"
    }
  ],
  "chart": "tt99",
  "reference_only": true,
  "reviewed": "2026-11-11"
}

Use cases

  • Suggest postings in a small accounting or expense app
  • Help students and new accountants learn TT 99 entries
  • Auto-post bank-statement lines after classification
  • Validate entries imported from another system

FAQ

Which circular should I use?

TT 99/2025/TT-BTC applies to all enterprises from 1 January 2026 and replaces TT 200/2014. Small and medium enterprises may keep TT 133/2016/TT-BTC, which is still in force (a replacement is in draft).

Are these entries official?

No. They are written by APIBox from the account guidance of the circulars, cite the accounts they follow and are reference only; check unusual transactions with an accountant.

Can it check an entry I wrote?

Yes: POST entry=[{side, account, amount}]. It checks the accounts exist in the chosen chart, the entry balances, and whether the account pairing is a known one.

Related APIs

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