Skip to content

Logistics / GUP

Custom document management and ERP integration layer built for a state logistics enterprise. AI-powered invoice reconciliation, supplier portal, procurement approval workflows, and automated financial reporting - processing thousands of documents monthly with near-zero manual intervention.

All case studiesClient projectEnterprise ERP + AILogistics / GovernmentGermany

The problem and the build

What was broken, and what we shipped.

97.3% match accuracy
5 days → 1 day close
Zero manual entry

The problem

A state logistics enterprise was drowning in paperwork. Thousands of invoices, delivery receipts, and procurement documents arrived every month from hundreds of suppliers in inconsistent formats - scanned PDFs, different invoice layouts, mixed handwritten and digital entries. Finance staff spent 3+ days every month manually cross-referencing shipment receipts against purchase orders, and errors caused supplier disputes, delayed monthly close, and compliance problems with state reporting requirements. The existing ERP had no document intelligence - it stored data but couldn't read or match documents.

What we built

We built a custom document management and ERP integration layer on top of their existing PostgreSQL infrastructure. The core is a document ingestion pipeline: invoices and delivery receipts arrive via email or upload, are extracted using Claude's vision capabilities regardless of format or layout, and normalized into structured records. Each extracted document is automatically matched against open purchase orders in the database using a multi-field reconciliation algorithm (supplier ID, amounts, line items, delivery dates). Matches above the confidence threshold are auto-approved and the ERP record updated. Discrepancies route to the responsible approver via a FastAPI-powered web portal with the mismatched fields highlighted for quick resolution. A supplier self-service portal allows vendors to submit and track their documents directly, reducing inbound email volume by 60%. Monthly financial reports generate automatically on the 1st of each month with full audit trail.

How it runs

The flow from trigger to delivery, and the stack under it.

FastAPItrigger
Automationorchestration
Claude API (Vision)intelligence
Telegram Botdelivery
PythonFastAPIClaude API (Vision)PostgreSQLRedisCeleryTelegram BotDocker
24/7, no humans

Results

What changed once it went live.

Document ingestion: any PDF format → structured ERP record in under 90 seconds

Invoice reconciliation accuracy: 97.3% auto-match rate on standard documents

Finance team time on reconciliation: 3 days/month → under 4 hours for exception handling only

Monthly financial close: 5 days → 1 day

Supplier self-service portal: 60% reduction in inbound supplier email and calls

Full audit trail: every document action timestamped and stored for state compliance

Zero manual data entry for routine invoices - human review only on flagged exceptions

Want something similar?

Free 30-min audit. We tell you what to automate and what it costs.

From $1,0002-6 week deliveryFixed scope
Book a free audit