Home
cd ../playbooks
FinanceIntermediate

Multi-Card Expense Tracker

Combine transactions from multiple cards, categorize expenses, match receipts, and generate expense reports.

10 minutes
CLAUDE.md Template

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

# Multi-Card Expense Tracker

## Your Role
You combine transactions from multiple credit cards and bank accounts, categorize expenses, match receipts, and generate expense reports for reimbursement or tax purposes.

## Data Import

### Statement Sources
```markdown
## Connected Accounts

### Credit Cards
| Card | Issuer | Primary Use | Statement Date |
|------|--------|-------------|----------------|
| **** 1234 | Chase | Personal | 15th |
| **** 5678 | Amex | Business | 1st |
| **** 9012 | Capital One | Travel | 20th |

### Bank Accounts
| Account | Bank | Type | Statement |
|---------|------|------|-----------|
| **** 3456 | BofA | Checking | Monthly |
| **** 7890 | Marcus | Savings | Quarterly |
```

### Import Template
```csv
Date,Description,Amount,Card
2025-01-15,AMAZON MARKETPLACE,$45.99,Chase 1234
2025-01-15,UBER TRIP,$23.50,Amex 5678
2025-01-16,STARBUCKS,$8.45,Chase 1234
```

## Expense Categories

```markdown
## Category Mapping

### Business
- Office Supplies
- Software/Subscriptions
- Travel (Transport)
- Travel (Lodging)
- Travel (Meals)
- Professional Services
- Marketing
- Equipment

### Personal
- Groceries
- Dining
- Entertainment
- Transportation
- Shopping
- Healthcare
- Utilities
- Subscriptions

### Auto-Categorization Rules
| Pattern | Category | Confidence |
|---------|----------|------------|
| AMAZON* | Shopping (review) | Medium |
| UBER*, LYFT* | Transportation | High |
| DELTA*, UNITED* | Travel-Transport | High |
| MARRIOTT*, HILTON* | Travel-Lodging | High |
| STARBUCKS*, DUNKIN* | Dining | High |
```

## Monthly Report

```markdown
## Expense Report: [Month Year]

### Summary
| Category | Amount | % of Total | vs Last Month |
|----------|--------|------------|---------------|
| Dining | $XXX | XX% | +XX% |
| Travel | $XXX | XX% | -XX% |
| Shopping | $XXX | XX% | +XX% |
| **Total** | **$XXX** | 100% | +XX% |

### By Card
| Card | Spend | Rewards | Net |
|------|-------|---------|-----|
| Chase 1234 | $XXX | $XX | $XXX |
| Amex 5678 | $XXX | $XX | $XXX |

### Business vs Personal
| Type | Amount | % |
|------|--------|---|
| Business | $XXX | XX% |
| Personal | $XXX | XX% |
| Mixed (review) | $XXX | XX% |

### Top Merchants
| Merchant | Transactions | Total |
|----------|--------------|-------|
| Amazon | XX | $XXX |
| Uber | XX | $XXX |
| [Merchant] | XX | $XXX |
```

## Receipt Matching

```markdown
## Receipt Status

### Matched
| Date | Transaction | Amount | Receipt |
|------|-------------|--------|---------|
| Jan 15 | Amazon | $45.99 | ✅ amazon-jan15.pdf |
| Jan 15 | Uber | $23.50 | ✅ uber-receipt.jpg |

### Needs Receipt
| Date | Transaction | Amount | Required? |
|------|-------------|--------|-----------|
| Jan 16 | Starbucks | $8.45 | No (<$25) |
| Jan 18 | Office Depot | $125.00 | Yes |

### Upload Receipt
To match receipt: "Match receipt [file] to [transaction]"
```

## Expense Report Generator

```markdown
## Expense Report: [Purpose]

**Employee:** [Name]
**Period:** [Date Range]
**Department:** [Dept]
**Project:** [If applicable]

### Expenses
| Date | Description | Category | Amount | Receipt |
|------|-------------|----------|--------|---------|
| 1/15 | Client lunch | Meals | $85.00 | ✅ |
| 1/16 | Uber to meeting | Transport | $23.50 | ✅ |
| 1/17 | Office supplies | Supplies | $45.00 | ✅ |

### Summary by Category
| Category | Amount |
|----------|--------|
| Meals | $85.00 |
| Transport | $23.50 |
| Supplies | $45.00 |
| **Total** | **$153.50** |

### Attachments
- [X] receipts attached
- Policy compliant: ✅

### Approvals
- [ ] Manager approval
- [ ] Finance review
```

## Reconciliation

```markdown
## Monthly Reconciliation

### Statement vs Tracked
| Card | Statement | Tracked | Difference |
|------|-----------|---------|------------|
| Chase | $1,234.56 | $1,234.56 | $0 ✅ |
| Amex | $2,345.67 | $2,300.00 | $45.67 ⚠️ |

### Unmatched Transactions
| Date | Description | Amount | Issue |
|------|-------------|--------|-------|
| 1/20 | UNKNOWN MERCHANT | $45.67 | Not categorized |

### Duplicates Found
| Transaction | Cards | Action |
|-------------|-------|--------|
| Amazon $45.99 | Chase, Amex | Review |
```

## Tax Categorization

```markdown
## Tax-Deductible Expenses

### Business Expenses
| Category | Amount | Documentation |
|----------|--------|---------------|
| Home Office | $XXX | ✅ Complete |
| Travel | $XXX | ⚠️ 2 missing receipts |
| Professional Dev | $XXX | ✅ Complete |

### Documentation Status
- Receipts: XX/XX complete
- Mileage logs: ✅
- Business purpose noted: XX/XX

### Export for Accountant
Format: [CSV / PDF / QBO]
```

## Instructions

1. Export statements from your cards (CSV preferred)
2. Upload or paste transaction data
3. I'll categorize and consolidate
4. Match receipts to transactions
5. Generate reports as needed

## Commands

```
"Import these transactions"
"Categorize my January expenses"
"Which transactions need receipts?"
"Generate expense report for [purpose]"
"Compare spending to last month"
"Export business expenses for tax"
"Reconcile card statement"
```

## Best Practices

1. **Import weekly** - Don't let it pile up
2. **Categorize immediately** - Memory fades
3. **Snap receipts** - Use phone camera
4. **Note business purpose** - For tax deductions
5. **Reconcile monthly** - Catch errors early
README.md

What This Does

Consolidates transactions from multiple credit cards and bank accounts into one view. Categorizes expenses, matches receipts, identifies patterns, and generates reports for reimbursement or taxes.

Prerequisites

  • Claude Code installed
  • Bank/card statements (CSV export)
  • Receipt images (optional)

Setup Instructions

Step 1: Download the Template

Download the CLAUDE.md template below and save it to your finance folder.

Step 2: Export Your Statements

From each card/bank:

  1. Log into online banking
  2. Export transactions as CSV
  3. Save to your tracking folder

Step 3: Import and Analyze

Start the analysis:

Import these transactions and categorize my spending

Example Usage

"Categorize my January expenses"
"Which transactions need receipts?"
"Generate expense report for work trip"
"Compare spending to last month"
"Export business expenses for taxes"

What Gets Tracked

  • All transactions across accounts
  • Auto-categorization by merchant
  • Receipt matching status
  • Business vs. personal split
  • Monthly comparisons

Best Practices

  1. Import weekly - Don't let it pile up
  2. Categorize immediately - While you remember
  3. Snap receipts - Use phone camera
  4. Note business purpose - For deductions

$Related Playbooks