When a company evaluates AI paper document digitization, comparing OCR accuracy alone will not remove paper or manual work. The operating design must cover pre-scan sorting, custody of originals, AI extraction, confidence-based review, exception queues, ERP posting, disposal approval, and audit evidence. This guide is written for manufacturers, trading companies, and back offices in Thailand. It explains what to specify and accept without making a blanket legal claim about whether a particular original may be destroyed.
The conclusion: design the complete document lifecycle
Treat the initiative as a controlled path from receipt to final disposition, not as a scanner purchase or an OCR experiment. The minimum scope has eight connected controls:
- classify document type, sensitivity, retention basis, and priority at receipt;
- standardize preparation for staples, duplex pages, notes, thin paper, envelopes, and booklets;
- connect the original, scan, extracted data, and downstream record with a persistent document ID;
- route extracted fields by confidence and business risk;
- send uncertain fields and unknown layouts to an owned exception queue;
- post to ERP, accounting, or workflow systems without creating duplicates;
- approve retention, return, or disposal based on applicable rules and obligations; and
- preserve who saw, corrected, approved, sent, and disposed of each record.
For a product and cost comparison, see our AI OCR pricing guide for Thailand. For measurement, use our AI OCR accuracy evaluation guide. A purchase-order-only project is covered separately in the purchase order OCR guide. This article deliberately focuses on lifecycle governance rather than repeating those topics.
A scanned file is not a digitized business process
Saving a searchable PDF in a shared folder may improve retrieval, but it does not change a process if an employee still opens the PDF, reads the supplier, date, total and order number, types them into ERP, and returns the original to a shelf. The image is digital; the decision and data entry remain manual.
The opposite shortcut is also unsafe: sending extracted values to ERP while discarding the image link and review history. An auditor or manager must be able to answer: Which area of which version supported this amount? Which model and rule processed it? Who reviewed a correction? Which ERP record was created? Fast posting without that chain can produce slow investigations later.
The target is therefore not four disconnected outputs—a PDF, a JSON response, an ERP voucher, and a technical log. They must be cross-referenced by the same document ID and version. ISO 15489-1:2016 provides concepts and principles for creating, capturing, and managing records. This article does not require certification, but its concepts of reliable and usable records remain relevant when AI is added.
Build a document inventory before selecting software
“All paper in administration” is not a testable scope. Inventory representative types and the differences that affect processing.
| Inventory field | Examples | Decision required before procurement |
|---|---|---|
| Document type | invoice, delivery note, inspection sheet, contract | owner and downstream system |
| Receipt channel | post, reception, factory, email, portal | paper/electronic duplicate rule |
| Physical form | A4, thermal paper, carbon copy, booklet | scanner and preparation method |
| Language | Thai, English, Japanese, mixed | model, glossary, reviewer |
| Critical fields | total, tax ID, lot, approver, due date | field risk and review policy |
| Original status | original, copy, reissue, native electronic | display, custody, return |
| Retention basis | tax, quality, contract, policy | period, start event, legal hold |
| Sensitivity | general, confidential, personal data | access, masking, location |
| Volume pattern | normal, month-end, audit, seasonal | capacity and SLA |
| Exceptions | missing page, duplicate, damage, unknown layout | queue and escalation |
Do not define volume only as “sheets.” A duplex application, an invoice with detail pages, and an expense claim with evidence each have different relationships between physical pages, logical documents, and business transactions. Before comparing per-page prices, establish split and merge rules.
When both paper and an emailed PDF arrive, processing the first item is not enough. Use supplier, document number, date, amount, purchase order, and file hash to identify a duplicate candidate. Do not delete automatically: retain the match evidence and a human decision for ambiguous cases.
Pre-scan classification determines data quality

Poor physical preparation cannot be repaired by a higher confidence threshold. Define standard work at each receipt point:
- assign receipt date, site, box/envelope, and batch ID;
- distinguish an original, copy, reissue, and reference attachment;
- confirm page order before removing staples, clips, or notes;
- check duplex pages, blanks, bleed-through, folds, damage, and thermal fading;
- obtain approval before disassembling a bound contract or booklet;
- distinguish an operational barcode cover sheet from part of the record;
- verify page count, orientation, missing pages, double feeds, and legibility after scanning; and
- return originals to a controlled temporary location linked to the batch.
Amazon Textract best practices emphasize input quality and testing with documents representative of production. No single resolution value guarantees success across small print, faint ink, stamps, handwritten changes, tables, or camera images. The acceptance test should include the worst documents the team expects to process.
“The PDF opens” is not sufficient acceptance. Tests should prove that every page exists, orientation is correct, backs are not omitted, boundaries are correct, the physical item is linked, and a rescan creates a traceable version instead of silently overwriting evidence.
Separate physical batches from logical documents
A whole box saved as one PDF is easy for scanning but difficult for permissions, retention, search, and ERP integration. One PDF per page separates details and attachments. Use distinct identifiers: batch_id for receipt, document_id for the logical record, version_id for each scan or correction, and business_key for the downstream transaction.
Illustrative example only: batch B-20260902-014 has 40 pages containing 12 invoices and attachments. All pages belong to the batch, while each invoice receives a document ID. A rescan becomes a new version of that document; the previous image remains available with the reason and approver. The numbers are explanatory, not a recommended batch size.
Make originality and custody structured data
“Scanned” does not automatically mean “safe to destroy.” In Thailand, the treatment of electronic transactions, records, and tax documents depends on the document, how it was created and retained, authenticity and availability controls, applicable notices, contracts, and case facts. ETDA publishes standards and recommendations, and the Thai Revenue Department publishes information on electronic documents, records, and ICT standards. Those sources do not by themselves approve disposal of a specific original.
At minimum, store:
| Attribute | Purpose |
|---|---|
original_status | original, copy, reissue, native electronic, unknown |
custody_owner | department or service provider accountable for the item |
physical_location | box, shelf, warehouse, return destination |
received_at, scanned_at | separate receipt from digitization |
retention_rule_id | reference the applied rule version |
retention_start | event and date from which time is counted |
legal_hold | stop normal disposal and record why |
disposal_eligibility | pending, candidate, approved, rejected, disposed |
disposal_approval | approver, time, basis, and version covered |
Do not hard-code a retention period into workflow code or article text. Version the rule by entity, location, document type, effective period, and start event. Preserve which rule version calculated each date. Define how tax, legal, quality, customer, and corporate requirements are resolved when they differ.
Store the extracted value together with its evidence
In a rushed OCR–RPA integration, only the recognized string reaches the robot; position, normalized value, confidence, and model version disappear. Reviewers need both what the model proposed and where it found the evidence.
The Google Document AI Document resource is an example of a structure that can represent text, pages, entities, normalized values, provenance, and confidence. This is not a product endorsement. It illustrates why an enterprise canonical schema should retain more than the final string while insulating ERP contracts from a vendor-specific response.
“`text
document_id: DOC-…
field_name: invoice_total
raw_text: “12,345.67”
normalized_value: 12345.67
currency: THB
page and bounding region: …
model ID and version: …
confidence: …
review status: auto_accepted | reviewed | corrected | rejected
reviewer and reason: …
“`
Do not interpret confidence as a guaranteed probability that a value is correct. Microsoft Document Intelligence guidance recommends determining thresholds that fit the use case and real data. Score distributions can differ by model and document class; a single “90 means correct” rule should not be copied to every field.
Route by field risk, not score alone
A supplier name used for search and a bank account used for payment do not have the same consequence. An acceptance rule can combine document type, field, amount band, master-data match, confidence, and downstream action.
| Decision pattern | Route | Evidence retained |
|---|---|---|
| high confidence, master match, low-risk field | auto-accept candidate | model, rule, match result |
| medium confidence and cross-field consistency | one-person review | image region, candidates, reason |
| high confidence but PO tolerance failure | business exception | PO, receipt, variance, owner decision |
| uncertain tax ID or bank account | mandatory or dual review | reviewers and comparison source |
| unknown layout or missing page | stop integration | exception code and reacquisition |
“High,” “medium,” and “low” are concepts here, not thresholds. Set numerical thresholds with representative samples and examine precision, recall, F1, false positives, and false negatives at field level. Google Document AI evaluation documentation describes these metrics for processor evaluation. A character average can conceal a serious false acceptance on payment or inventory fields.
Human review is a product function, not leftover work

Design the review UI, queues, roles, SLA, training, and quality sampling before production. Show the image and extracted value together, highlight the region, allow zoom and rotation, show adjacent pages, and offer relevant master and duplicate candidates. Require a reason when a value is corrected: faint print, handwritten amendment, unknown layout, missing master, or source-document error. These reasons lead to different remedies.
Do not place every problem in one queue. Separate at least:
- capture exceptions: missing page, damage, rotation, double feed, corrupt file;
- classification exceptions: unknown type or multiple documents mixed;
- extraction exceptions: missing field, low confidence, handwriting, complex table;
- business exceptions: PO mismatch, duplicate, amount variance, blocked vendor;
- integration exceptions: ERP outage, schema error, authentication, timeout; and
- retention exceptions: unknown basis, legal hold, uncertain original status.
Each queue needs an owner, priority, due time, reassignment, escalation, and completion condition. During month-end peaks, monitor oldest age and SLA breaches as well as counts and averages.
High-risk bank-account changes or large payments may still require two people. Two employees looking at the same populated screen is not necessarily independent verification. The second reviewer can be shown the source and candidate without the first decision, or be required to compare only changed critical fields with an independent master.
The goal is not to claim “zero people.” It is to replace full manual entry with risk-based confirmation and explicit exception resolution, and to include the remaining capacity in the proposal.
From OCR RPA integration to ERP APIs

OCR–RPA can be practical when a legacy ERP provides no supported API or import interface. Limit the robot to a monitored adapter, avoid coordinate-dependent steps where possible, and verify before and after entry. Prefer a supported API, file import, or integration platform when it exposes reliable status and errors.
A controlled flow is:
- capture registers the document ID and immutable source image;
- classification and extraction return values and evidence;
- validation checks required fields, formats, totals, masters, duplicates, and PO data;
- risk rules route auto-accept, review, and business exceptions;
- an approved payload is frozen in a canonical schema;
- integration sends it with an idempotency key;
- ERP returns its document number, status, and timestamp; and
- daily reconciliation matches approved, sent, posted, and failed counts.
An idempotency key prevents a retry from creating the same transaction twice. For RPA, search for an existing transaction before starting, maintain an in-progress state, and do not label a timeout as a definite failure. After screen entry, retrieve the ERP number and read back critical fields. A completed mouse sequence is not proof of a posted transaction.
Keep vendor-code, tax, currency, and unit mappings in a governed table, not hidden inside a robot script. Store owner, effective date, change approval, and old versions so a historical result can be reproduced.
Illustrative capacity and automation model
The following numbers are a planning example, not measured product performance or a TOMAS TECH guarantee.
Assume 12,000 documents per month, 2.5 pages each, and 18 fields: 30,000 pages and 216,000 fields. Suppose 70% become auto-accept candidates, 25% require ordinary review, and 5% become business exceptions. Assume review checks six fields per document and takes 90 seconds; an exception takes eight minutes.
- Ordinary review: 12,000 × 25% × 90 seconds = 75 hours/month
- Business exceptions: 12,000 × 5% × 8 minutes = 80 hours/month
- Total review effort: 155 hours/month
The model excludes breaks, reacquisition, training, month-end concentration, and downtime. The 70% assumption is not a general OCR rate. Measure by document type, language, supplier, field risk, and print condition.
Useful KPIs include straight-through completion, field correction rate, business exception rate, duplicate prevention with false positives, first-pass completion, oldest queue age, and the reconciliation gap between approved, sent, and ERP-posted records. A high automation percentage is misleading if unresolved documents are simply left in a queue.
Make disposal an approved workflow
Never connect “scan completed” directly to physical destruction. Check image completeness, classification, retention rule, legal hold, audit or dispute status, contractual return duties, and original status.
An example workflow is:
- calculate a disposal candidate date;
- list document, location, original status, and applied rule version;
- route to the required legal, tax, quality, and business owners;
- exclude legal holds, open transactions, audits, and claims;
- issue an item- or box-level instruction after approval;
- attach a service-provider receipt or destruction certificate;
- record time, method, operator, witness, and scope; and
- retain approved metadata and evidence for the authorized period.
Because erroneous disposal is irreversible, a pilot can generate and approve a candidate report without destroying originals. This is a risk-control suggestion, not legal advice.
Auditability means reconstruction, not log volume
Acceptance should require a chronological export for one document ID: receipt, custody, scan and page check, image hash and version, model and rule version, raw and normalized values, confidence and region, master and duplicate checks, corrections and approvals, integration attempts and ERP number, retention calculation, hold, disposal approval, and relevant access or export events.
NIST AI RMF Core organizes activities as GOVERN, MAP, MEASURE, and MANAGE. It can be used as a reference for defining owners, intended use, impact, measurements, and responses. A model update should therefore evaluate not only extraction accuracy but false acceptance, language and layout differences, automatic acceptance, exception backlog, reproducibility, and rollback conditions.
Logs can contain personal or confidential data. “Keep everything” is not automatically good governance. Define access, masking, encryption, retention, and export monitoring. At the same time, do not overwrite correction history with the latest value. Separate business records and technical logs while keeping the references needed for reconstruction.
A gated 90-day pilot model
Project duration varies. The following 90-day model is illustrative, not a promised delivery time.
Days 1–30: inventory and controls
Select two or three document types and representative worst cases. Define IDs, original status, retention, access, field risks, review policy, ERP duplicate/retry/reconciliation behavior, and a baseline for effort, error, backlog, and investigation time.
Days 31–60: extraction, review, and exceptions
Evaluate classification and fields, test the reviewer interface and reason codes, run negative cases for missing pages and poor images, connect the API or RPA adapter to a test ERP, export one complete audit trail, and verify version/change controls for models, rules, and mappings.
Days 61–90: controlled production pilot
Run a limited supplier or department in parallel, open automatic acceptance gradually for lower-risk fields, review reconciliation and oldest queue age daily, investigate false acceptance and returns, keep disposal as a dry run unless separately approved, and make a scale/change/stop decision at a formal gate.
Do not pass the pilot on average accuracy alone. Use several gates: critical-field false acceptance within the company-approved limit, no duplicate ERP records, all reconciliation gaps resolved, complete evidence reconstruction, correct segregation of duties, and backlog within planned capacity. The actual limits belong to the company’s risk owners.
Questions for the RFP and acceptance test
Ask vendors to demonstrate, not merely answer yes:
- How are physical batches, logical documents, versions, and business transactions identified?
- How are originals, copies, reissues, native electronic records, and unknown status shown?
- Can the platform retain raw text, normalized value, region, confidence, and model version by field?
- Can thresholds vary by document class and field risk?
- Who owns each exception queue, and how are SLA and escalation evidenced?
- Can a missing page or unknown layout stop automatic posting?
- How are idempotency, timeout recovery, ERP number read-back, and daily reconciliation implemented?
- Can retention rules be versioned, with legal hold overriding ordinary disposal?
- Can one document’s full history be exported without exposing unrelated confidential data?
- On termination, can images, data, logs, rules, mappings, and model metadata be transferred in documented formats?
Common failure modes
- Selecting a vendor on OCR accuracy while ignoring preparation, review, and reconciliation.
- Applying one confidence threshold to every field and consequence.
- Giving images and extracted data unrelated identifiers.
- Treating a completed RPA sequence as proof of ERP success.
- Hiding reviewer capacity until month-end backlog stops the process.
- Destroying originals directly after scanning without a governed decision.
- Releasing a model update without layout-, language-, and risk-specific regression tests.
- Logging confidential values indefinitely in the name of auditability.
Summary
Measure AI for paper document digitization by safe business completion and reproducible evidence, not by the number of characters recognized. Connect pre-scan classification, originality and custody, AI extraction, confidence-based review, exception queues, ERP integration, disposal decisions, and audit trails as one lifecycle. Start with a narrow set of documents and representative worst cases. Open irreversible disposal and high-risk automatic acceptance only through approved gates.
TOMAS TECH can help a Thailand operation inventory its paper flow, design AI OCR and human review, specify ERP or RPA integration, and write acceptance tests before a product is selected. If you would like to assess which fields can be automated and which controls should remain human, contact us for an initial discussion.
FAQ
How is document data capture different from saving PDFs?
PDF storage preserves an image or searchable file. Data capture extracts and normalizes fields, validates them against masters and business rules, posts them to downstream systems, and preserves a link to the evidence and decisions. If retrieval is the only requirement, structured extraction may not be necessary for every document.
Is OCR–RPA integration better than an API?
A supported API or file import usually exposes status and errors more cleanly. RPA remains useful for a stable legacy interface, but requires controls for screen changes, timeouts, and duplicate posting. Both routes should return an ERP number and support daily reconciliation.
Can data entry automation eliminate human review?
It can reduce full manual entry substantially, but unknown layouts, poor images, master mismatches, high-risk fields, and unusual transactions still require judgment. The design goal is risk-based straight-through processing plus explicit exception work, not an unqualified zero-person claim.
What confidence percentage is safe for automatic posting?
There is no universal percentage. Set it by document type, field, model, language, consequence, and independent validations. Measure precision, recall, and false acceptance on representative data, and combine score with business rules such as amount and PO consistency.
May originals be destroyed after scanning in Thailand?
Not as a blanket rule. It depends on the document, applicable tax, legal, quality and contractual duties, how the record is created and retained, authenticity controls, and current notices. Confirm current ETDA and Revenue Department information and obtain case-specific approval from accountable internal owners and advisers.
Will a document sent to AI be used for training?
It depends on the service, contract, configuration, region, and subprocessors. Require written terms for training use, retention, deletion, encryption, access, incidents, and data location before testing confidential records.
Primary and official references
- ETDA, Standards and Recommendations: https://www.etda.or.th/th/Our-Service/Standard/Rec.aspx
- ETDA, electronic transaction related documents: https://www.etda.or.th/th/Our-Service/edsp/download.aspx
- Thai Revenue Department, ICT and electronic document standards information: https://www.rd.go.th/65244.html
- Thai Revenue Department, notice related to electronic records/documents: https://www.rd.go.th/13489.html
- Google Cloud Document AI, Document REST resource: https://docs.cloud.google.com/document-ai/docs/reference/rest/v1/Document
- Google Cloud Document AI, Evaluate a processor: https://docs.cloud.google.com/document-ai/docs/evaluate
- AWS, Amazon Textract best practices: https://docs.aws.amazon.com/textract/latest/dg/textract-best-practices.html
- Microsoft, Accuracy and confidence in Document Intelligence: https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/concept/accuracy-confidence?view=doc-intel-4.0.0
- ISO, ISO 15489-1:2016 Records management: https://www.iso.org/standard/62542.html
- NIST, AI RMF Core: https://airc.nist.gov/airmf-resources/airmf/5-sec-core/