Plan: refactor the billing module and delete the legacy invoice table.
Staged files: src/billing/core.py, migrations/drop_invoices.sql
