Receipt & Document Intelligence Pipeline for Vault
A document processing platform that turns receipts and order emails into clean, itemised purchase data.
- Industry
- Consumer & Retail Tech
- Country
- United Kingdom
- Timeline
- Ongoing
- Team
- Senior cross-functional team
Where the client was
The pipeline had to accept whatever a user submits: a scanned receipt, an e-receipt, an order email with a PDF attachment. It needed to reliably extract individual line items, recognise that "TESCO STORES 3211" and "Tesco Extra" are the same merchant, map product descriptions to a common product catalogue, detect the same receipt submitted twice, and report failures with a clear reason instead of silently losing documents. All of it asynchronous, resistant to abuse, and ready to scale with the user base.
What we delivered
Two ingestion channels
Mobile scanning with on-device document detection and image enhancement, and email ingestion through personal forwarding addresses, with message bodies and attachments parsed into the same pipeline regardless of format.
Double extraction
Document data is extracted by two independent services, and a document counts as processed only when both results are in. This catches errors that a single engine would miss on low-quality documents.
Full processing history
The system records the outcome of every stage, so it is always clear what exactly happened to any given receipt or email. That makes finding the cause of a problem and tracing data during an audit much easier.
Merchant unification
Different spellings of the same shop on receipts are recognised and merged into a single merchant. Spending at one chain shows up together no matter how the store printed its name, and cross-store analytics builds on that.
Product unification
Line-item descriptions are mapped to a common product catalogue, enabling price comparison between stores and spending analytics.
Deduplication
The same receipt submitted twice is detected both within a single account and across the whole platform, with the duplicate's history kept for audit. This matters wherever purchase data is tied to rewards.
Operations console
An internal tool where the team reviews unmatched merchants, raw products, and problematic emails. Corrections flow back into the master data, so the pipeline improves with every reviewed case.
Abuse protection
Daily submission limits per user, file type and size restrictions, and per-stage processing caps keep the pipeline stable under hostile traffic.
How the work was run
A pipeline that turns messy real-world documents into analytics-ready purchase data, built for reliability at consumer scale.
Scope of work
We designed and built the document processing platform end to end.
Designing the event-driven pipeline architecture: the orchestrator, the immutable record and snapshot model, and the Pub/Sub messaging between services.
Building the email ingestion path: personal forwarding addresses, message and attachment extraction, and matching incoming mail to the right user.
Implementing mobile receipt scanning with live edge detection, frame confidence scoring, and image enhancement tuned for receipt paper.
Building merchant unification with similarity matching and alias management, and product unification onto a common product catalogue.
Implementing user-level and platform-wide deduplication over receipt snapshots, with duplicate metadata preserved for audit.
Developing the internal operations console for human review of unmatched merchants, raw products, and failed emails.
Preparing the purchase data for Genie Vision, the B2B analytics product for retail chains, where the same data drives market analysis and campaigns.
Technologies
What stands out most is the level of involvement and commitment from Codino’s management team throughout the project. They remain closely engaged, pay strong attention to detail, and at the same time maintain a broader view of the platform and its long-term objectives.
Mohsin RashidCEO, Genie VaultLet's Talk About Your Project
Not sure where to start? Begin with the AI Readiness Audit