Invoice organizer

From borghei/Claude-Skills · View interactive version

Invoice organizer is an AI agent skill from the GitHub repository borghei/Claude-Skills. Categorize invoices and receipts by vendor, expense, and tax bucket, detect duplicates, and produce a tax-ready monthly summary. Use during bookkeeping, tax prep, or expense reimbursement.

How to use this skill

Skill file

Invoice Organizer

Bulk-categorize a CSV of invoices or receipts, detect duplicates, and produce a tax-ready monthly summary.


Table of Contents


Keywords

invoice, invoices, receipt, receipts, expense, expenses, bookkeeping, accounting, tax, tax prep, categorization, vendor, reimbursement, monthly summary


Clarify First

Before categorizing, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.


Quick Start

Categorize 200 Receipts in 1 Minute

  1. Export receipts from your bank or expense tool as a CSV with columns: date,vendor,description,amount, all in one currency (convert any foreign-currency rows first)
  2. Run:

```bash

python scripts/invoice_categorizer.py receipts.csv

```

  1. Review the categorized output and override anything wrong via the rules file
  2. Export the monthly summary for handoff to your accountant

Core Workflows

Workflow 1: Monthly Bookkeeping

Goal: Convert a month of unstructured receipts into a categorized, tax-ready summary in under 10 minutes.

Steps:

  1. Export receipts as CSV from your bank, card, or expense tool
  2. Run: python scripts/invoice_categorizer.py receipts.csv
  3. Review the uncategorized bucket — these need rules added or manual override
  4. Add rules to assets/category_rules.json for any recurring vendors
  5. Re-run; uncategorized count should drop each month as the rules file grows
  6. Drop the monthly summary into assets/monthly_summary_template.md

Expected Output: Categorized expense list + monthly totals by category + duplicate-suspect list.

Time Estimate: 10 minutes/month after initial rules are seeded.

Workflow 2: Duplicate Detection

Goal: Catch double-entered receipts before they reach the books.

Steps:

  1. Run: python scripts/invoice_categorizer.py receipts.csv --json
  2. Inspect the duplicates_suspected list
  3. Confirm whether each is a true duplicate (same charge entered twice) or a coincidence (same amount on different days at different vendors)
  4. Remove confirmed duplicates from the source CSV; re-run

Expected Output: Cleaned CSV with no duplicate rows.

Time Estimate: 2-3 minutes per month.

Workflow 3: Vendor Spend Review

Goal: Find spend creep — vendors whose monthly total grew significantly without you noticing.

Steps:

  1. Run categorizer for the last 3-6 months separately
  2. Compare per-vendor totals month-over-month
  3. Flag any vendor where total grew > 25% with no obvious business reason
  4. Either renegotiate, switch, or accept; revisit quarterly

Expected Output: Vendor-spend trend list with flagged growth.

Time Estimate: 15 minutes per quarter.


Tools

invoice_categorizer.py

Reads a CSV of receipts/invoices and:

# Human-readable summary
python scripts/invoice_categorizer.py receipts.csv

# JSON for programmatic use
python scripts/invoice_categorizer.py receipts.csv --json

# Use a custom rules file
python scripts/invoice_categorizer.py receipts.csv --rules my-rules.json

Expected CSV columns: date, vendor, description, amount. Amounts are treated as one currency. A currency column is allowed but ignored: it is not read, shown in the output, or used to convert.

Date formats accepted: YYYY-MM-DD, MM/DD/YYYY, DD/MM/YYYY


Reference Guides


Templates


Best Practices


Scope & Limitations

In Scope:

Out of Scope:

Important Caveats:


Integration Points

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.