AttenTech
Document APIs

Document Parsers

Turn tax, passbook, and civil-registration documents into structured data in one call.

Get API AccessPrivate beta only
// OVERVIEW

How Document Parsers works

Feed in a photo or scan of any supported document type and get back clean, structured fields — document type, amounts, dates, and account numbers — normalized to a single schema. One endpoint covers tax forms, bank passbooks, and civil-registration paperwork, so your workflow doesn't need a different parser for each.

Multi-document classification

Automatically detects whether the input is a tax document, passbook, or civil-registration form before extraction, so callers don't need to pre-sort files by type.

Normalized financial fields

Amounts, dates, and account numbers are parsed and formatted consistently across document types — no per-document regex or cleanup on your end.

Built for scanned and photographed batches

Tuned on real-world submissions — folded passbooks, faded stamps, skewed scans — not just clean digital originals.

parse
attentechth.com/api/documents/parse
01// parse a mixed batch of documents in one call
02import { Documents } from '@attentech/sdk'
03
04const documents = new Documents({
05 region: 'th-bangkok',
06 pdpa: true,
07})
08
09const result = await documents.parse({
10 document: 'auto',
11 image: scanImage,
12})
13
14if (result.valid) {
15 const { docType, amount, date, accountNo } = result.fields
16 save(result)
17}
// PROCESS

How Document Parsers extract structure from tax, passbook, and registration forms

The engine first identifies which document type it's looking at, then routes to the right extraction and validation logic for that form — so a tax filing and a bank passbook don't get forced through the same generic template.

DOC TYPE
AMOUNT
DATE
ACCOUNT NO.
Capture
Classify & Extract
Validate
Structured Output

Ready to integrate Document Parsers?

Get API access in days, or bring us in to run the full workflow for you — sovereignty by design at every step.

Get API AccessPrivate beta only