About PayPilot AI
Inspiration
Freelancers and small businesses often spend too much time creating invoices, managing payment requests, and tracking customer payments. We wanted to make this process easier with the help of AI.
This inspired us to build PayPilot AI, an AI-powered invoice and payment assistant that helps businesses create invoices from simple natural-language instructions and collect payments securely.
What it does
PayPilot AI allows users to:
- Create invoice drafts using Google Gemini AI.
- Convert natural-language requests into structured invoice details.
- Review and edit invoice information before approval.
- Generate secure payment links after seller approval.
- Allow customers to pay through PayPal Sandbox.
- Verify successful payments and update invoice status.
- Track invoices and payments through a dashboard.
How we built it
We used React, TypeScript, and Tailwind CSS to build the frontend. Java 22 and Spring Boot power the main backend, while Node.js and Express handle the AI service.
Google Gemini helps extract invoice information from user instructions. MySQL stores invoice and payment records. PayPal Developer Sandbox provides the payment integration for testing the checkout and payment process.
We also implemented a human approval step. AI can prepare an invoice draft, but the seller must review and approve it before a payment link is generated.
Challenges we faced
One of our main challenges was connecting the AI-generated invoice details with the backend while keeping the information accurate.
We also worked on integrating PayPal Sandbox, handling payment verification, managing secure payment links, and ensuring that an invoice is marked as paid only after successful payment verification.
Testing the complete workflow across the frontend, AI service, backend, database, and payment system was another important challenge.
What we learned
Building PayPilot AI helped us gain practical experience with AI integration, full-stack development, API communication, database management, payment workflows, and secure application design.
Most importantly, we learned that AI should assist users while important financial decisions remain under human control.
What's next
We aim to improve PayPilot AI with more invoice management features, better payment tracking, and additional tools to help freelancers and small businesses manage their payments efficiently.