Siddharth Gupta

Invoice Automation Bot

From timesheet hours to a paid invoice, automatically.

Interfaces
CLI · web UI
Stack
Python · HTML-to-PDF templates · Slack API · Google Sheets API · email

Flow

  1. Generate: pull hours from the Cronolog timesheet system and render a PDF invoice from an HTML template.
  2. Send: post the invoice on Slack.
  3. Track: log it in a Google Sheet that keeps every invoice and payment in one place.
  4. Reconcile: scan email for payment confirmations and mark matching invoices as paid.

Using it

A web UI covers day-to-day use, and the CLI has commands to generate an invoice (optionally skipping Slack or Sheets), scan email a set number of days back, mark an invoice paid and list invoices.