AI order processing
from inbox to ERP
from inbox to ERP
Automating purchase-order and invoice entry with AI document extraction, connected directly to their ERP.
Industry:
Industrial distribution
Country:
Hong Kong
Tags:
AI document extraction, Laravel, OCR, ERP integration, workflow automation
A Hong Kong distributor of industrial components, around 50 staff, supplying manufacturers and contractors across Hong Kong and the Greater Bay Area. It handled thousands of purchase orders and supplier invoices every month. Staff re-keyed the data from PDFs, scans and emails into their ERP by hand: slow, error-prone and impossible to scale. We built a pipeline that reads incoming documents, extracts the relevant fields, validates them against existing records, and posts them to the ERP, leaving the team to review only the exceptions.
Challenges
- 01Around 4,000 supplier invoices and purchase orders arrived every month as PDFs, scans and emails, in English and Chinese, with a different layout from almost every supplier.
- 02A team of four re-typed the line items, quantities, prices and reference numbers into the ERP manually, consuming most of two full-time roles.
- 03Manual entry produced frequent keying errors that later caused payment delays, supplier disputes and costly rework.
- 04Volume grew seasonally, forcing temporary staff and overtime just to keep up with data entry.
Solutions
- 01We built a document-intake pipeline that captures invoices and purchase orders from a shared inbox and a monitored folder.
- 02An OCR and LLM extraction layer reads each document and returns structured data: supplier, dates, line items, quantities, unit prices and totals, validated against the ERP’s supplier and product records.
- 03Confidence thresholds route low-certainty documents to a human review queue, while high-certainty ones are posted to the ERP automatically through its API.
- 04Every extraction is logged alongside the original document, so any entry can be traced and audited.
Benefits
- 01Manual data entry time dropped by roughly 85%, freeing close to two full-time roles.
- 02Keying errors dropped, reducing payment delays and supplier disputes.
- 03The system absorbs seasonal peaks without temporary staff or overtime.
- 04A monthly accuracy report and a review queue for uncertain documents keep quality under control.