LazyFP is a web-based tool designed to simplify the management, organization, and export of electronic invoices (PDFs). It scans, parses, groups, and renames invoices automatically, saving you time during reimbursement processes.
- Web UI: specialized interface to manage local invoice files.
- Auto-Parsing: Automatically extracts key information (Invoice No, Date, Amount, Seller, Purchaser) from PDF invoices.
- Deduplication: Identifies and moves duplicate invoices to a
dump/folder. - Organization: Sorts invoices into folders by
Purchaser/Quarterand standardizes filenames (Suffix-Seller-Amount.pdf). - Export: Generates a ZIP file for a specific quarter containing all organized invoices and a summary Excel sheet.
-
Clone the repository:
git clone https://github.com/YourUsername/lazyfp.git cd lazyfp -
Install dependencies:
pip install -r requirements.txt
-
Start the server:
python app.py # OR uvicorn app:app --host 0.0.0.0 --port 8000 -
Open the Web UI: Go to
http://localhost:8000in your browser. -
Workflow:
- Upload: Drag and drop PDF invoices or place them in the
fp/directory. - Scan: The system parses the files.
- Deduplicate: Click to remove duplicates.
- Organize: Click to sort files into folders and rename them.
- Export: Select a Purchaser and Quarter to download a ZIP package.
- Upload: Drag and drop PDF invoices or place them in the
app.py: FastAPI backend and API routes.main.py: Core invoice processing logic (parsing, regex).static/: Frontend HTML/JS.fp/: Default directory for invoice input and organization.fp/organized/: Destination for organized invoices.fp/dump/: Destination for duplicate invoices.requirements.txt: Python dependencies.
MIT