File size: 1,353 Bytes
e20fc4d
 
 
 
 
 
 
 
 
 
 
1d54def
 
 
 
e20fc4d
 
1d54def
 
 
 
 
 
e20fc4d
 
 
 
 
 
 
 
 
1d54def
 
 
 
 
 
 
 
e20fc4d
 
1d54def
 
e20fc4d
619e247
b39fdb6
e20fc4d
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: Invoice Reader & Budget Categorizer
emoji: 🧾
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: 5.23.3
app_file: app.py
pinned: false
---

# Invoice Reader & Budget Categorizer

This project creates an application that processes uploaded invoice PDFs, categorizes expenses, analyzes spending patterns using LLMs, and provides budget optimization recommendations.

## πŸš€ Objective

Create an application that:
- Processes invoice PDFs to extract transaction details.
- Categorizes expenses into predefined categories.
- Analyzes spending trends over time.
- Provides actionable budget recommendations.

## ✨ Features

- πŸ“„ PDF upload and parsing.
- 🏷️ Transaction categorization (Utilities, Entertainment, Groceries, Travel, Shopping, Other).
- πŸ“Š Spending pattern analysis over time.
- πŸ’‘ Budget optimization suggestions.
- πŸ“ˆ Visualizations for spending insights.

## πŸ› οΈ Technical Stack

- **PDF Parsing**: `pdfplumber`
- **Data Processing**: `pandas`
- **LLM**: Hugging Face Transformers (`facebook/bart-large`)
- **Visualization**: `matplotlib`
- **Interface**: Gradio
- **Deployment**: Hugging Face Spaces

## βš™οΈ Setup Instructions

1. Clone the repository:
   ```bash
   git clone https://huggingface.co/spaces/varun321/invoice-reader-budget-categorizer
   cd invoice-reader-budget-categorizer