AI-powered invoice management platform. Upload invoices (PDF or image), extract data automatically with AI OCR, convert currencies, track expenses, and chat with an intelligent financial assistant.
Built with Angular 18 + .NET 10 + SQLite.
- AI Invoice Upload — Drag & drop PDF/JPEG/PNG files. OCR extracts provider, date, total, category, line items, and more using Groq Vision.
- Multi-currency — Support for USD, EUR, ARS. Automatic USD conversion via live exchange rates (Frankfurter API).
- Expense History — Filter, search, and paginate your invoices. Detailed modal with line items and USD equivalent.
- AI Chat Assistant — Ask questions about your expenses, totals, categories, or providers in natural language.
- User Authentication — Register, login, JWT-based sessions, and forgot password recovery flow.
| Layer | Technology |
|---|---|
| Frontend | Angular 18 (standalone components, signals) |
| Backend | .NET 10 (Clean Architecture) |
| Database | SQLite (via Entity Framework Core) |
| AI | Groq API (Llama 3.3, Llama 4 Scout) |
| Auth | JWT + BCrypt |
| Exchange Rates | Frankfurter API |
| Styling | Tailwind CSS |
FintechCopilot.sln
├── FintechCopilot.Domain/ # Entities
├── FintechCopilot.Application/ # DTOs, Interfaces, Services
├── FintechCopilot.Infrastructure/ # Data, Repositories, External Services
├── FintechCopilot.Api/ # Controllers, Program.cs
├── FintechCopilot.Tests/ # xUnit tests
└── frontend/ # Angular 18 app
- .NET 10 SDK
- Node.js 20+
- Angular CLI (
npm install -g @angular/cli) - A Groq API key
- Clone the repository:
git clone https://github.com/Rlucca224/AInvoice.git
cd AInvoice- Set up backend secrets:
cp FintechCopilot.Api/appsettings.Development.example.json FintechCopilot.Api/appsettings.Development.jsonEdit appsettings.Development.json and add your Groq API key.
- Install frontend dependencies:
cd frontend
npm install
cd ..- Run the backend:
dotnet run --project FintechCopilot.Api- Run the frontend (in a separate terminal):
cd frontend
npx ng serve -oThe app will be available at http://localhost:4200.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/register |
Create account |
| POST | /api/auth/login |
Login |
| POST | /api/auth/forgot-password |
Request password reset |
| POST | /api/auth/reset-password |
Reset password with token |
| POST | /api/invoices/upload |
Upload invoice (AI extraction) |
| POST | /api/invoices/confirm |
Confirm and save extracted data |
| GET | /api/invoices |
List all invoices |
| GET | /api/invoices/metrics |
Expense metrics |
| DELETE | /api/invoices/{id} |
Delete invoice |
| POST | /api/chat |
Send message to AI assistant |
MIT