A React Native app built with Expo that transforms natural language input into professional invoices with Stripe payment integration and PDF generation.
- Chat-style Interface: Natural language invoice creation
- Voice Input: Speak your invoice requirements (coming soon)
- Smart Parsing: AI-powered invoice data extraction
- Invoice Review: Edit and customize invoice details
- Stripe Integration: Automatic payment link generation
- PDF Generation: Professional invoice PDFs with QR codes
- Share & Print: Easy sharing via email, messages, or print
Screenshots will be available once the app is running
- Node.js (v16 or higher)
- Expo CLI (
npm install -g @expo/cli) - iOS Simulator (for iOS development) or Android Studio (for Android)
-
Fix npm cache permissions (if you encounter permission errors):
sudo chown -R $(whoami) ~/.npm
-
Install dependencies:
npm install
-
Start the development server:
npm start
-
Run on your device:
- iOS: Press
iin the terminal or scan QR code with Camera app - Android: Press
ain the terminal or scan QR code with Expo Go app - Web: Press
win the terminal
- iOS: Press
Update the API endpoints in utils/api.ts:
- Replace
API_BASE_URLwith your backend URL - Implement the
/api/parse-invoiceendpoint for GPT integration - Implement the
/api/create-paymentendpoint for Stripe integration
The app currently runs in mock mode with sample data. To enable real API calls:
- Uncomment the real API calls in
utils/api.ts - Comment out the mock functions in
App.tsx
tapinvoice/
├── App.tsx # Main app component with chat interface
├── components/
│ ├── ChatBubble.tsx # Chat message component
│ └── InvoiceReviewForm.tsx # Invoice editing form
├── types/
│ └── index.ts # TypeScript type definitions
├── utils/
│ ├── api.ts # API calls and mock functions
│ ├── invoice.ts # Invoice calculations and utilities
│ └── pdfTemplate.ts # HTML template for PDF generation
└── assets/ # Static assets
-
Start a conversation: Type or speak your invoice requirements
- Example: "I need to invoice John Smith for 5 hours of consulting at $100/hour"
-
Review the parsed data: The AI will extract invoice details and show a summary
-
Edit if needed: Tap "Review & Generate Invoice" to edit details
-
Generate PDF: The app creates a professional PDF with payment link and QR code
-
Share: Use the share button to send via email, messages, or save to files
- Voice input with speech recognition
- Real-time GPT integration
- Stripe payment processing
- Invoice templates
- Client management
- Invoice history
- Recurring invoices
- Create feature branch:
git checkout -b feature/new-feature - Make changes and test thoroughly
- Update types in
types/index.tsif needed - Add tests for new functionality
- Submit pull request
# Build for iOS
expo build:ios
# Build for Android
expo build:android- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues:
- Check the Expo documentation
- Search existing GitHub issues
- Create a new issue with detailed information
- Built with Expo
- UI inspired by modern chat interfaces
- PDF generation powered by expo-print
- QR codes generated with react-native-qrcode-svg