Vietnam input VAT check API

Check each purchase invoice for input VAT deduction and CIT expense: cash from 5 million VND, same-day splits, instalments, cars over 1.6 billion.

POSThttps://apibox.io.vn/v1/vn-input-vat-check

Send the purchase invoices as invoices (JSON: date, seller_tax_code, amount / vat / vat_rate / total, payment_method, optional due_date, purpose, asset, seller_status) or as an XLSX / CSV purchase list in file (columns recognised by their Vietnamese or English headers). Each line gets a status (deductible, deductible_check, partly_deductible, not_deductible), the deductible and non-deductible VAT, the CIT non-deductible expense and the issues with their article.

Checks: non-cash payment for invoices from 5 million VND including VAT (20 million before 1/7/2025), several purchases from one seller on one day totalling 5 million, cash deposited into the seller's account, mixed cash / transfer, deferred and instalment purchases whose due date passed without a non-cash payment (Công văn 5486/CT-CS), employees paying and reimbursed in cash, sales invoices (no VAT to deduct), buyer tax code mismatch, sellers that had ceased operating (when you send seller_status), passenger cars above 1.6 billion, purchases used for non-taxable activities (with taxable_ratio for mixed use) and invoices of earlier periods.

Totals by month and by status. Based on Luật Thuế GTGT 48/2024/QH15 Điều 14, Nghị định 181/2025/NĐ-CP Điều 25–26 and Nghị định 320/2025/NĐ-CP Điều 9. The seller's status at the tax office is not looked up (the portal has a captcha).

Markdown · OpenAPI · Postman · llms.txt

Parameters

NameInTypeRequiredDefault
invoicesbodyarraynoPurchase invoices: {number, symbol, date, seller_tax_code, seller_name, amount, vat or vat_rate, total, payment_method (CK, TM, mixed, trả góp, bù trừ…), cash_amount, payment_date, due_date, invoice_type (vat|sales), purpose (taxable|exempt|mixed), asset (car), car_value, seller_status, seller_ceased_date, buyer_tax_code}. Max 20,000.
filebodyfilenoOr an XLSX / CSV purchase list (multipart, raw body or file_base64).
buyer_tax_codebodystringnoYour tax code, to flag invoices issued to another code.
taxable_ratiobodynumbernoTaxable revenue / total revenue (0–1) for purchases used for both.
period_startbodystringnoFirst day of the return period (flags invoices of earlier periods).
as_ofbodystringnoDate for the due-date checks (default today).

Example

curl -X POST "https://apibox.io.vn/v1/vn-input-vat-check" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"buyer_tax_code":"0101234567","as_of":"2026-11-11","invoices":[{"number":"15","date":"2026-10-02","seller_tax_code":"0312345678","amount":10000000,"vat_rate":8,"payment_method":"tiền mặt"},{"number":"88","date":"2026-10-05","seller_tax_code":"0109999999","amount":50000000,"vat":5000000,"payment_method":"CK"},{"number":"102","date":"2026-08-05","seller_tax_code":"0109999998","total":22000000,"vat_rate":10,"payment_method":"trả góp","due_date":"2026-10-30"}]}'

Response

{
  "source": "json",
  "invoices": 3,
  "as_of": "2026-11-11",
  "totals": {
    "amount": 80000000,
    "vat": 7800000,
    "deductible_vat": 5000000,
    "non_deductible_vat": 2800000,
    "cit_non_deductible_expense": 10000000
  },
  "status_counts": {
    "not_deductible": 2,
    "deductible": 1
  },
  "lines": [
    {
      "no": 1,
      "number": "15",
      "symbol": null,
      "date": "2026-10-02",
      "seller_tax_code": "0312345678",
      "seller_name": null,
      "amount": 10000000,
      "vat": 800000,
      "total": 10800000,
      "payment_method": "cash",
      "status": "not_deductible",
      "deductible_vat": 0,
      "non_deductible_vat": 800000,
      "cit_non_deductible_expense": 10000000,
      "issues": [
        {
          "code": "cash_over_threshold",
          "vat_effect": "not_deductible",
          "vi": "Hóa đơn từ 5.000.000 đồng trở lên (đã có thuế) thanh toán bằng tiền mặt: không được khấu trừ thuế GTGT đầu vào.",
          "ref": "NĐ 181/2025/NĐ-CP Điều 26"
        }
      ]
    },
    {
      "no": 2,
      "number": "88",
      "symbol": null,
      "date": "2026-10-05",
      "seller_tax_code": "0109999999",
      "seller_name": null,
      "amount": 50000000,
      "vat": 5000000,
      "total": 55000000,
      "payment_method": "non_cash",
      "status": "deductible",
      "deductible_vat": 5000000,
      "non_deductible_vat": 0,
      "cit_non_deductible_expense": 0,
      "issues": []
    }
  ],
  "reviewed": "2026-11-11"
}

Use cases

  • Review purchase invoices before the monthly VAT return
  • Flag cash payments that lose the VAT deduction
  • Track instalment purchases that must be paid by transfer
  • Pre-check bills in an expense or accounting app

FAQ

Which threshold applies?

From 1 July 2025 every purchase from 5 million VND including VAT needs a non-cash payment document (NĐ 181/2025 Điều 26); several purchases from one seller on the same day are added up. Invoices dated before that use the old 20 million rule.

What about purchases on credit?

They are deductible on the contract and invoice. When the payment falls due without a bank transfer or other non-cash proof, the deducted VAT must be reduced in that period; the API flags due dates already passed (as_of).

Does it verify the seller is active?

No, the tax portal needs a captcha. Send seller_status=ceased and seller_ceased_date when you know it; invoices issued after that date are flagged as not deductible.

Related APIs

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