Skip to content
dotenum.
DEMO 01 / DOCUMENT INTELLIGENCE

From purchase order to approved business record.

A working local application that shows how document extraction, deterministic checks, human review, approval, and a business-system handoff can fit together.

Independent demonstration · synthetic documents · simulated ERP. The sample extraction shown here is precomputed and disclosed in the application.

Actual review screen showing a sample purchase order, validation finding, and editable fields
THE PROBLEM

Document input still needs business judgment.

A purchase order can arrive as a PDF with fields that are incomplete, inconsistent, or difficult to transfer into another system. Extracting text is only one part of the job. Someone still needs to check amounts, resolve exceptions, approve the record, and know whether the destination system accepted it.

Demo 01 models that full path. One synthetic sample contains a mismatch between its extracted grand total and its line items. The application holds it for correction before approval and shows the resulting state in a simulated ERP.

THE WORKFLOW

Six stages, one traceable path.

01 / 06

Receive

Start with a synthetic purchase order or upload a PDF in the local application.

02 / 06

Extract

Sample documents load disclosed, precomputed extraction. A configured Azure GPT-4o integration can process uploaded PDFs.

03 / 06

Validate

Deterministic rules check required fields, dates, line totals, grand total, and duplicate PO numbers.

04 / 06

Review

An operator can correct fields, save changes, and revalidate before approval.

05 / 06

Approve

An approver can approve a clean record or reject it with a reason. The role switch is a UI simulation.

06 / 06

Sync

Approval attempts a write to a simulated ERP. Failures can be retried without creating a duplicate record.

RECORDED IN THE LOCAL APPLICATION

Watch the actual workflow.

A captioned, approximately one-minute recording shows sample intake, correction, approval, and the simulated ERP result.

The recording uses synthetic purchase orders and a simulated ERP.

Download WebM walkthrough
WHAT IT DOES

The parts beyond extraction.

01

Visible validation

Findings identify missing or inconsistent purchase-order data before approval.

02

Human correction

Editable fields and revalidation keep a person in control of exceptions.

03

Approval gate

Unresolved findings and unsaved changes block approval.

04

Recovery path

A simulated ERP failure preserves the approved data for retry.

05

Idempotent sync

The document ID is used to avoid duplicate writes on retry.

06

Traceable states

The interface shows processing history and the resulting mock ERP record.

SCREENSHOTS / ACTUAL APPLICATION

These are captures from the local demo using synthetic purchase-order data. Select any image to open it at full size.

Workflow overview: The local application shows incoming documents and their current states.
Workflow overview

The local application shows incoming documents and their current states.

Review and correction: A sample order with a total mismatch is held for review.
Review and correction

A sample order with a total mismatch is held for review.

Review queue: The operator can inspect findings and correct sample data.
Review queue

The operator can inspect findings and correct sample data.

Simulated ERP: An approved record appears in the demo's mock business system.
Simulated ERP

An approved record appears in the demo's mock business system.

IMPLEMENTATION

A small system with clear boundaries.

The local demo uses a React, TypeScript, Vite, and Tailwind interface; a Python FastAPI backend; SQLite for workflow state; and a simulated ERP adapter. The application also supports PDF uploads through an Azure GPT-4o extraction integration when credentials are configured.

The included synthetic samples use precomputed extraction so the documented review path can run without Azure credentials. Validation, corrections, approval decisions, simulated sync failures, and retry use live API state. The operator/approver switch illustrates roles in the interface; it is not authentication or authorization.

This is an independent demonstration, not a client project or a production ERP integration. The application is currently run locally, so there is no public live-demo link.

HOW THIS RELATES TO DOTENUM

One demonstration, three kinds of work.

AI Workflow Automation

The flow joins intake, checks, review, approval, and handoff instead of ending at extraction.

Custom AI Applications

The interface gives operators a queue, editable fields, visible findings, and recovery controls.

AI Engineering Partnerships

The source separates extraction from deterministic rules and the business-system adapter.

LET’S TALK

Have a document process that needs engineering?

Tell us about the documents, the review decisions, and the systems involved. We can discuss what a reliable workflow would need.