Inspiration

As a beginner developer, I wanted to build something practical that businesses actually need. Invoice generation is a common challenge for freelancers and small businesses who need quick, professional billing without expensive software. I was inspired by the BitBuilders Code Race 2026 to create not just a calculator, but a complete invoice management system with automatic business intelligence tracking.

What it does

InvoCraft is a web-based invoice calculator that generates professional invoices with automatic business tracking:

  • ✅ Creates itemized invoices with customer details, quantities, and prices
  • ✅ Calculates subtotals, configurable tax rates, and grand totals automatically
  • Auto-saves every invoice to local storage with timestamps
  • Tracks real-time analytics: total invoices, total revenue, and today's count
  • ✅ Exports professional branded PDFs with one click
  • ✅ Browse complete invoice history in an elegant modal viewer

The custom feature (auto-save history + analytics dashboard) transforms a simple calculator into a business intelligence tool that helps users track their revenue and invoice patterns over time.

How we built it

Technology Stack:

  • Backend: Python 3.9 + Flask
  • Frontend: HTML5, CSS3, Vanilla JavaScript
  • PDF Generation: jsPDF library
  • Data Storage: JSON file-based persistence

Key Implementation:

The auto-save system automatically captures every invoice:

def save_invoice_to_history(invoice_data):
    history = load_invoice_history()
    invoice_data['timestamp'] = datetime.now().isoformat()
    invoice_data['date'] = datetime.now().strftime('%Y-%m-%d')
    history.append(invoice_data)
    with open('invoice_history.json', 'w') as f:
        json.dump(history, f, indent=2)

Built With

Share this project:

Updates