Home
cd ../playbooks
Finance & AccountingBeginner

Invoice Organizer

Transform chaotic invoice folders into clean, tax-ready filing systems with automatic extraction, renaming, and categorization.

5 minutes
By ComposioSource
#invoices#tax#receipts#accounting#organization#bookkeeping
CLAUDE.md Template

Download this file and place it in your project folder to get started.

# Invoice Organizer

Transform chaotic folders of invoices and receipts into clean, tax-ready filing systems with automatic extraction, consistent naming, and logical organization.

## Supported Formats

- PDFs (invoices, statements)
- Scanned receipts (JPG, PNG)
- Email attachments
- Screenshots
- Bank statements

## Naming Convention

Rename all files to a consistent format:
```
YYYY-MM-DD Vendor - Invoice - Product.pdf
```

Examples:
- `2024-03-15 Amazon - Invoice - Office Supplies.pdf`
- `2024-02-28 Adobe - Receipt - Creative Cloud.pdf`
- `2024-01-10 Contractor - Invoice - Web Development.pdf`

## Workflow

### Step 1: Scan Directory

Identify all invoice-related files in the target folder:
- Count total files
- Identify file types
- Note any problematic filenames

### Step 2: Extract Information

For each document, extract:
- **Date**: Invoice or transaction date
- **Vendor**: Company or person name
- **Amount**: Total amount (with currency)
- **Description**: Product or service
- **Invoice Number**: If present

### Step 3: Rename Files

Apply consistent naming:
```
{YYYY-MM-DD} {Vendor} - {Type} - {Description}.{ext}
```

Where Type is: Invoice, Receipt, Statement, or Contract

### Step 4: Organize into Folders

Choose organization structure based on user preference:

**By Vendor**
```
Invoices/
├── Amazon/
│   ├── 2024-03-15 Amazon - Invoice - Office Supplies.pdf
│   └── 2024-02-10 Amazon - Invoice - Electronics.pdf
├── Adobe/
├── Google/
└── Other/
```

**By Category**
```
Invoices/
├── Software-Subscriptions/
├── Office-Supplies/
├── Professional-Services/
├── Travel-Expenses/
└── Utilities/
```

**By Time Period**
```
Invoices/
├── 2024/
│   ├── Q1/
│   ├── Q2/
│   ├── Q3/
│   └── Q4/
└── 2023/
```

**By Tax Status**
```
Invoices/
├── Tax-Deductible/
│   ├── Business-Expenses/
│   └── Home-Office/
├── Non-Deductible/
└── Needs-Review/
```

### Step 5: Generate CSV Export

Create spreadsheet with all invoice data:

```csv
Date,Vendor,Type,Description,Amount,Currency,Category,File Path,Invoice Number
2024-03-15,Amazon,Invoice,Office Supplies,234.56,USD,Office,/path/to/file.pdf,INV-12345
```

### Step 6: Create Summary Report

```markdown
# Invoice Organization Summary

## Statistics
- Total files processed: 156
- Successfully organized: 152
- Needs manual review: 4
- Total invoice value: $45,678.90

## By Category
| Category | Count | Total |
|----------|-------|-------|
| Software | 45 | $12,345.00 |
| Services | 32 | $18,500.00 |
| Supplies | 79 | $14,833.90 |

## Files Needing Review
- unclear_scan_001.jpg - Could not extract date
- receipt_photo.png - Amount unclear
```

## Preservation Policy

- **Originals preserved**: Work on copies, keep originals safe
- **Metadata retained**: Preserve original file dates
- **Log all operations**: Track every move and rename

## Use Cases

### Tax Preparation
- Organize by tax year
- Separate deductible from non-deductible
- Generate totals by category

### Expense Reconciliation
- Match invoices to bank statements
- Identify missing receipts
- Track vendor spending

### Multi-Year Archiving
- Consistent structure across years
- Easy retrieval
- Audit-ready organization

### Ongoing Bookkeeping
- Set up folder structure
- Establish naming conventions
- Create processing workflow
README.md

What This Does

Transform messy invoice folders into organized, tax-ready filing systems. Claude reads your invoices, extracts key information (vendor, date, amount), renames files consistently, and sorts them into logical folders.


Quick Start

Step 1: Locate Your Invoice Folder

Find where your invoices are stored.

Step 2: Download the Template

Click Download above, then:

mv ~/Downloads/CLAUDE.md ~/Documents/Invoices/

Step 3: Start Organizing

cd ~/Documents/Invoices
claude

Then say: "Organize all invoices in this folder for tax preparation"


Supported Formats

Format Examples
PDF Invoice PDFs, statements
Images Scanned receipts (JPG, PNG)
Screenshots Quick captures
Email exports Forwarded invoices

Naming Convention

Files are renamed to a consistent format:

YYYY-MM-DD Vendor - Invoice - Product.pdf

Example:

2024-03-15 Amazon - Invoice - Office Supplies.pdf

Organization Options

By Vendor

Invoices/
├── Amazon/
├── Google/
├── Microsoft/
└── Contractors/

By Category

Invoices/
├── Software/
├── Office Supplies/
├── Services/
└── Travel/

By Quarter

Invoices/
├── 2024-Q1/
├── 2024-Q2/
├── 2024-Q3/
└── 2024-Q4/

By Tax Status

Invoices/
├── Deductible/
├── Non-Deductible/
└── Review-Needed/

Output Includes

  • Renamed and sorted invoices
  • CSV spreadsheet with all details
  • Summary with statistics
  • Flags for files needing manual review

Example Prompts

  • "Organize invoices by vendor name"
  • "Sort receipts by date and create a summary"
  • "Prepare invoices for tax filing"
  • "Extract all invoice data to a spreadsheet"

Use Cases

Scenario Benefit
Tax preparation All deductions organized
Expense reconciliation Easy matching
Multi-year archives Clean historical records
Ongoing bookkeeping Consistent filing system

Tips

  • Originals preserved: Copies are organized, originals stay safe
  • Review flagged items: Some may need manual verification
  • Export to CSV: Perfect for accountants and tax software
  • Set up ongoing system: Maintain organization going forward

$Related Playbooks