Check Deductible Input VAT of Vietnamese Purchase Invoices
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.
Result
Press “Run” to see the result.
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).
Use this in your code
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"}]}'const res = await fetch('https://apibox.io.vn/v1/vn-input-vat-check', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"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"
}
]
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://apibox.io.vn/v1/vn-input-vat-check",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"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"}]},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-input-vat-check');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"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 = curl_exec($ch);
print_r(json_decode($response, true));API documentation → Get a free API key
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.