Japanese AI-OCR API: identity matching and 20+ eligibility rules across 11 document types

Production API LLM OCR Security 2026

Measured results

11 Document types supported
20+ Eligibility rules
51%% Reduction in monthly AWS infrastructure cost
~480 Automated tests

Project summary

Client Event organizer in Japan
Problem An AI-OCR API that reads 11 types of Japanese documents, matches applicant identity and screens 20+ eligibility rules. Uncertain cases go to review.
Timeline from 03/2026
Team 5 people · 5 Engineer
Key results Document types supported: 11 · Eligibility rules: 20+ · Reduction in monthly AWS infrastructure cost: 51%%
Japanese AI-OCR API: identity matching and 20+ eligibility rules across 11 document types

Project Context

An event organizer in Japan had staff check every applicant by hand: does the ID belong to the person who applied, and do they meet the entry conditions, such as income, being a doctor, or working at a listed company? VAON built an AI-OCR API that reads 11 types of Japanese documents, matches the applicant's identity (本人照合) and screens more than 20 eligibility rules (資格判定). Company checks run against listings from Japan's four stock exchanges and the government's corporate registry data. Applications that clearly pass are approved automatically; anything uncertain goes to a human reviewer with the reason attached. The project started in March 2026 and is running in production.

Challenges

1

Documents arrive as smartphone photos of Japanese text, not clean scans

Vertical text, variant and old-form kanji (髙/高, 邊/辺), numbers written in kanji such as 第一四八五四〇号, and Japanese era dates (令和, 平成) all appear. Layout and OCR confidence differ by document type, so a single generic pipeline could not read them reliably.

2

A one-character difference can be an OCR error or a different person

山田太郎 and 山田次郎 differ by one character. If the system guesses they are the same name, someone else's application gets approved. In this workflow, a wrong approval costs far more than sending the case to a reviewer.

3

More than 20 eligibility rules, each with its own business logic

Income is read from withholding slips (源泉徴収票), tax returns or payslips. Doctor status comes from a license card. "Works at a listed company" and "works at a major company" require looking up the employer. Every rule has to match how the client actually screens applicants today.

4

Business cards use abbreviated company names, and OCR can drop characters

A card often says 「JR東日本」 rather than the registered company name. Before checking whether the employer is listed, the system has to map the name on the card to the registered name and the corporate number (法人番号).

5

Public data is not enough to judge company size

The government's gBizINFO API does not publish revenue, and headcount is a single figure. Holding companies look smaller than the groups they control. Whether a subsidiary's employee counts also depends on the rule: for trading houses (商社) and megabanks, only the parent company qualifies.

6

The list of listed companies changes every week

New listings must be added and delisted companies removed from the reference data. Updated by hand, the list slowly drifts from reality, and the drift is hard to notice.

VAON's Solution

How the API reads, matches and decides

Used Azure AI Document Intelligence prebuilt models for ID documents, business cards and general text, and trained 5 custom Japanese models for health insurance cards, medical licenses, withholding slips, tax returns and payslips. After OCR, 11 document-specific normalizers handle full-width and half-width characters, kana, Japanese era dates, addresses and confidence thresholds.

Split "is this the right person" (本人照合) and "does this person qualify" (資格判定) into two independent axes, merged in a fixed priority: retake photo > human review > fail > pass. Each axis returns pass, fail or undetermined. We chose three states over a simple pass/fail so that missing data, lookup errors and ambiguous results always go to a reviewer and never turn into an automatic pass or rejection. Auto-approval happens only when both axes clearly pass.

Matched names with a variant and old-form kanji table (髙橋 = 高橋, 渡邊/渡邉 = 渡辺), while deliberately keeping pairs such as 齊/齋 and 大/太 distinct. Low-confidence vertical names are re-read with a second model, but registration data is never used to "pick" the OCR result. A one-character mismatch goes to review, not to automatic rejection.

Built one dispatcher for all eligibility rules, with a separate checker per rule that implements the logic agreed with the client. Adding a rule means adding a checker, not changing the main flow.

Resolved employers in layers: abbreviation → registered name → corporate number, then the listed-company master, consolidated subsidiaries, government size data and a client-maintained list, in that order. Within one request, the resolved company is shared by every company-related rule.

Keeping reference data current

Kept reference data current automatically: crawlers for the four exchanges (JPX, Nagoya, Fukuoka, Sapporo) run weekly, and foreign ownership data from JASDEC runs daily. A failed or empty crawl never deletes existing data. The list of very large companies (超大手) can be edited while the system runs, with no deployment.

Key Features

1

One endpoint: document images go in, a decision with its reason comes out.

2

More than 20 eligibility rules, such as income, doctor status and listed or major company employment, each implemented as its own checker.

3

Name matching with a variant and old-form kanji table, so 髙橋 and 高橋 match while a one-character mismatch goes to review.

Value Delivered

Clear passes are approved automatically, and staff look only at the cases the system is unsure about.

Every decision carries a reason code and evidence, so reviewers continue from where the system stopped instead of starting over.

Missing data, lookup errors and ambiguous results never turn into an automatic pass or rejection.

Results & how we measured

Metric Before After Change How we measured
Document types supported — 11 — Counted as the document types supported in production. Measured 2026-11-02
Eligibility rules — 20+ — Counted as the eligibility rules supported in production. Measured 2026-11-02
Reduction in monthly AWS infrastructure cost — 51%% -51% Compares monthly AWS invoices before and after removing a load balancer that current traffic did not need. Excludes Azure fees. Measured 2026-11-02
Automated tests — ~480 — Offline unit tests and integration tests against a real MongoDB, run in CI on GitHub Actions together with ruff, mypy and pre-commit. Measured 2026-11-02
Wrong corporate numbers fixed in reference data — 12 — Found by re-checking every corporate number against the registry; an automated audit script was then added. Measured 2026-11-02
Processing time on sample documents (business card to medical license) — 5.2–7.8s — Measured locally on self-made sample documents: about 5.2 s for a business card and 7.8 s for a medical license. Production times depend on image size, document type and Azure response time. Measured 2026-11-02

Current limitations

  1. 1

    Operating metrics on real applications are not published. The auto-approval rate, the share sent to human review and accuracy on production data are not included here.

  2. 2

    The 5 to 8 second processing times were measured locally on sample documents. Production times depend on image size, document type and Azure response time.

  3. 3

    Public company-size data is still limited. For a company that is in neither the listed-company nor the subsidiary data, the "major company" rule can return undetermined and go to review.

  4. 4

    The listed-company data is refreshed weekly. A company listed or delisted during the week may not be reflected right away.

  5. 5

    OCR depends on an external cloud service. Cost and prebuilt model behavior follow the provider's changes.

Related Case Studies

Facing a similar problem?

Book a 30-minute consultation with the VAON engineering team, or explore the services behind this case study.