Distribution and logistics · AI development
Invoices checked against orders, without the retyping.
An AI agent reads supplier paperwork from email and checks it against the ERP. Documents that match go in. Mismatches wait for a person.
The problem
A distribution business got invoices, purchase orders, and delivery notes by email all day. Someone opened each one, read it, and typed the details into the ERP by hand.
Checking was the slow part. Does the invoice match the order? Does the delivery note show the same items? Miss a mismatch, and you might pay for goods that never arrived.
What we built
Watches the shared inbox
The agent picks up every invoice, purchase order, and delivery note as it arrives.
Pulls out the details
Supplier, items, totals, and dates are taken from each document and stored as clean data.
Checks against the ERP
Each document is matched to its order in the ERP. Items, totals, and dates must agree.
Posts what matches
When everything agrees, the agent posts it to the ERP. Nobody types it in.
Flags mismatches
When something is off, a person sees exactly what differs and decides what happens next.
How AI helps
Reads any supplier's layout
Every supplier formats documents differently. The AI reads what each one says, with no template to set up.
Line-by-line comparison
Each line and total is compared with the order, not just the final amount.
Never posts a mismatch
Anything that does not match waits for a person to approve. It was tried on the company's past paperwork before going live.
How it works
- 01
An invoice, purchase order, or delivery note arrives by email.
- 02
The agent reads it and pulls out supplier, items, totals, and dates.
- 03
It compares those details with the matching order in the ERP.
- 04
If everything agrees, it posts the document to the ERP.
- 05
If not, it waits for a person to review and approve.
Built with
- Backend
- PythonFastAPI
- AI
- OpenAILangChain
- Data
- PostgreSQLRedis
- Infrastructure
- AWSDocker
- Integrations
- EmailERP
What changed
- The team no longer retypes paperwork into the ERP.
- Mismatches are caught before they reach the books.
- People spend their time on the documents that need a decision.