A Vietnamese VAT invoice, field by field: what OCR Editor reads, and the check that runs on it.
1C26TMP · 00000931 — type 1 is a VAT invoice, C means it carries a tax-authority code, 26 is the year.
✓ Seller + symbol + number already received? Duplicates stop here.Read in Vietnamese word order — ngày 18 tháng 10 năm 2026.
✓ Inside the open accounting period, not in the future.10 digits for a company, 13 with a branch suffix — and since July 2025 a 12-digit personal ID for individuals.
✓ Format, then the vendor master: is this supplier known?Long names with diacritics and abbreviations (CÔNG TY TNHH, KCN, TP.).
✓ Matched to the vendor record even when spelled differently.Must be your own company — or the right one of your entities.
✓ Invoices issued to the wrong entity are caught before booking.| STT | Tên hàng hóa, dịch vụ | ĐVT | SL | Đơn giá | Thành tiền |
|---|---|---|---|---|---|
| 1 | Thép tấm SS400 6mm | Tấm | 40 | 980.000 | 39.200.000 |
| 2 | Bulông M12 | Hộp | 60 | 105.000 | 6.300.000 |
| 3 | Phí vận chuyển | Chuyến | 1 | 3.100.000 | 3.100.000 |
Description, unit, quantity, unit price, amount — across page breaks.
✓ Quantity × unit price = amount, line by line.Cộng tiền hàng — the sum before tax.
✓ Equals the sum of the lines.0, 5, 8 or 10 % — the rate printed on the invoice.
✓ Rate allowed on that date (8 % for most goods until 31 Dec 2026; steel stays at 10 %), and subtotal × rate.The figure and the sentence in words are both read.
✓ Subtotal + VAT = total, and the words say the same number.Whether a signature block and a tax-authority code are present.
✓ Status checked against the tax authority’s invoice lookup.Every page passes through the same six layers. Each one hands the next a cleaner version of the same document.
Scanner or copier, a phone photo, an invoice mailbox, a watched folder or an API call.
batch_1018.pdf · 42 p.Straightens skewed pages, flattens phone photos, removes shadows and noise, turns pages upright.
rotate 90° · skew −2.4°Tells invoices, receipts and delivery notes apart and splits a mixed batch into documents.
42 p. → 17 docsFinds text on the page and reads it — printed, Vietnamese diacritics, Korean, English, legible handwriting.
1,284 wordsPuts the fields and line items into a fixed schema and runs the rules on them.
12 fields · 1 to checkPeople confirm what the system was not sure of; the rest goes straight to Excel, ERP or NFFICE.
→ NFFICE Finance{
"seller_tax": "0312345678",
"invoice_no": "00000931",
"date": "2026-10-18",
"lines": 3,
"vat": 4860000,
"total": 53460000
}06 · Review & sendEach type has its own field list and its own destination. Highlighted: where the fields sit on the page.
→ NFFICE Finance · ERP
→ Expense claims
→ Three-way match
→ Receiving · three-way match
→ Shipment record
→ Import & export records
→ NFFICE HR — masked
→ NFFICE HR
Before a supplier is paid, what was ordered, what arrived and what was billed are compared line by line.
Hold — 2 boxes of M12 bolts invoiced but not received. Sent to purchasing with the delivery note attached.
After reading, the numbers have to agree with each other and with your records.
We do not quote accuracy from a brochure. These four are measured on your own documents in the pilot.
Documents that reach the target system with no human touch ÷ all documents.
Correct fields ÷ fields checked, on a labelled sample of your own documents.
Minutes a reviewer spends on the documents that do need a person.
Documents stopped by a business rule — duplicate, wrong entity, quantity mismatch.
ID numbers show as 0790 •••• 2345 unless your role may see them.
Who opened, changed or exported which document, and when.
Cloud or your own servers — for ID cards and contracts, many choose on-premise.
Who scanned each page, when, and a fingerprint of the file — the trail Vietnam’s electronic-transactions law expects when paper becomes data.
Retention set per document type, then removed on schedule.
Every field carries a confidence score. Below the threshold you set, it goes to a reviewer — above it, straight through.
Sample data
Money — must be exact.
Also checked for format and in the vendor list.
Decides the accounting period.
Matched to the item master anyway.
For reference only.
POST https://erp.sample.vn/hooks/ocrevent: "document.approved"id: 7731 · type: "INV"{ "invoice_no": "00000931", "total": 53460000 }→ 200 OK · 142 ms
E-0417 · 0790 •••• 2345 · 1990
Purchasing lead · Sao Mai Textiles
mai.tran@saomai.example
A few hundred real documents per type, and the field list each one needs.
Document types, fields, rules, thresholds and where the data goes.
Your team keeps working as today while OCR Editor runs alongside.
Straight-through rate, field accuracy and review time on your own documents.
More document types, more sites, the backlog if you want it.
VAT invoices, receipts, purchase orders, delivery notes, bills of lading, customs declarations, ID cards, contracts and business cards — in Vietnamese, Korean, English and Japanese. Other forms are added in the pilot.
It depends on your documents, so we measure it on them: field accuracy and straight-through rate on a labelled sample in the pilot. Fields below the threshold always go to a person.
For XML, the data is taken from the file itself — no reading needed. OCR covers the rest: paper, scanned PDFs, phone photos, receipts and every non-invoice document.
Legible handwriting on forms is read. Red seals and signatures are detected as present or missing — not verified as genuine.
Numbers are masked by role, every view is logged, and data can stay on your servers. Purpose and consent under Vietnam’s personal-data law are set with your legal team.
Yes — AI Data Biz offers document digitization as a service; the volume, document types and schedule are set per project.
PDF, JPG, PNG, multi-page TIFF and e-invoice XML. For paper, 300 dpi in grayscale or colour is enough; phone photos are straightened and cleaned of shadows before reading.
Yes. An invoice with the same seller, symbol and number as one already received stops before booking. Purchase order, delivery note and invoice are compared line by line, and a mismatch goes to purchasing with the delivery note attached.
Yes. Checked data goes out as Excel or CSV, through the REST API and webhooks, or straight into NFFICE Finance. MISA, Fast, Bravo, SAP and Douzone are connected per project, in the format each one imports.
Four weeks. Week 1 collects real samples, week 2 sets up types, fields and rules, week 3 runs alongside your team, and week 4 measures straight-through rate, field accuracy and review time on your own documents.