The problem
B2B payments are more than just sending money. Businesses deal with invoices arriving in different formats, manually checking details, chasing approvals, creating payment requests, and tracking whether payments have actually been completed.
These disconnected steps create operational overhead, delays, and room for human error, especially for small and medium-sized businesses without dedicated finance operations teams.
Our solution: RaisinPay
RaisinPay is an AI-powered B2B invoice and payment coordination platform that brings the process into one workflow.
A business can create a payment request or upload an invoice. AI extracts the relevant information, identifies missing fields and inconsistencies, checks for potential duplicates, and explains anything that needs attention.
The user then reviews the extracted information and explicitly approves the exact payment details. Once approved, RaisinPay creates and sends an invoice through PayPal. The application can then retrieve the invoice's actual PayPal status so the business can track the payment through completion.
The key idea is to coordinate the entire journey rather than treating invoice processing, approval, and payment as separate activities.
How we built it
We built RaisinPay as a full-stack application with a TypeScript-based web stack, persistent transaction records, server-side AI processing, and PayPal's Developer Platform.
AI is used for invoice extraction and structured analysis, while deterministic application logic handles arithmetic checks, validation, and duplicate detection. Human approval is required before payment execution.
PayPal Sandbox provides the payment integration, allowing the application to create and send invoices and retrieve their actual status without using real money.
What we learned
One of our biggest learnings was that adding AI to a financial workflow requires more than generating a convincing response. Financial data needs validation, decisions need explicit approval, and payment status must come from the payment provider rather than assumptions made by the application.
We also learned how to connect AI-assisted document processing with a real payment workflow, while keeping the user in control of financial decisions.
What's next
We see RaisinPay evolving into a broader payment operations platform, helping businesses coordinate supplier payments, approvals, invoice verification, and reconciliation through a single interface.
Built With
- ai
- groq
- next.js
- openrouter
- paypal
- prisma
- react
- sqlite
- typescript