B2B Portal with AI Licence Compliance
How a beverage wholesale distributor eliminated manual licence verification and legal risk using an AI compliance layer embedded in their B2B ordering portal.
Challenge
A regional beverage wholesale company selling kegs and beverages to bars, restaurants, and retail venues faced a compliance risk: Polish alcohol distribution law requires every client to hold a valid alcohol sales licence before each transaction. With a growing client base, their team was manually verifying licence documents and payment schedules — a slow, error-prone process that delayed order approvals and created legal exposure.
Solution
We built a dedicated B2B ordering portal with an embedded AI compliance layer. When clients register, they upload their alcohol sales licence documents. A Google Gemini Vision model automatically classifies the document type, extracts key fields (permit number, licence type, validity dates, issuing authority, payment schedule), and scores extraction confidence. The system enforces ordering eligibility in real time — clients with expired or non-compliant licences are blocked from placing orders until they upload updated documents. Admins receive a review queue for low-confidence extractions, and an audit log captures every AI decision for regulatory traceability.
How the AI Compliance Layer Works
Results
How It Works
Catalogue Blocked — Licence Expired
When a client's alcohol sales licence has expired, the portal blocks access to the entire product catalogue. The client sees a clear message explaining why — and what they need to do next. No workaround is possible.
Document Upload Form
The client opens the compliance upload form directly from the portal. They can submit their alcohol sales licence and payment schedule in one step — no email, no manual handoff to a sales rep.
AI Validates the Licence
Google Gemini Vision processes the uploaded documents automatically — classifying type, extracting permit number, validity dates, issuing authority and payment schedule, then confirming the licence as active. The client can see the verified status immediately on their documents page.
Catalogue Restored — Licence Active
With a valid licence confirmed, the client regains instant access to the full product catalogue, with real product images and live pricing. Compliance is re-enforced on every subsequent session without any manual step.
Client Places an Order
The client selects products and fills out the order form directly inside the portal. All ordering rules — minimum quantities, product eligibility — are enforced in real time at this layer.
Order Confirmed — Appears in ERP
Once submitted, the order is confirmed to the client and automatically pushed to the distributor's ERP system. No manual re-entry, no delay — the sales team sees the order the moment it's placed.