Import Rules¶
Automate transaction categorization with Import Rules. Save time and ensure consistent categorization across all your imports.
What Are Import Rules?¶
Import Rules automatically assign categories to transactions based on pattern matching. When you import a CSV file, FRacker applies these rules to categorize transactions without manual intervention.
Benefits: - Time Savings - No manual categorization needed - Consistency - Same merchants always get same category - Accuracy - Reduce human error - Efficiency - Process hundreds of transactions instantly
How Import Rules Work¶
- You import a CSV file
- FRacker reads each transaction description
- Rules are checked in order (first match wins)
- If a pattern matches, the category is automatically assigned
- Unmatched transactions get a default category
Rule Matching¶
- Case-insensitive - "starbucks" matches "STARBUCKS" and "Starbucks"
- Partial matches - "star" matches "Starbucks Coffee #1234"
- First match wins - Once a rule matches, no further rules are checked
- Order matters - More specific rules should come before general ones
Creating Import Rules¶
Step 1: Navigate to Import Rules¶
- Go to Settings → Import Rules
- Click Add Import Rule
Step 2: Configure the Rule¶
| Field | Description | Example |
|---|---|---|
| Field to Match | Which transaction field to check | "Description" |
| Match Pattern | Text to search for | "starbucks" |
| Category | Category to assign | "Dining Out" |
| Is Transfer | Mark as transfer between accounts | ☐ or ☑ |
Step 3: Save and Test¶
- Click Save Rule
- Import a test CSV
- Verify the rule works as expected
- Adjust if needed
Rule Examples¶
Basic Categorization¶
Coffee Shops:
Matches: "STARBUCKS #1234", "Starbucks Coffee", "STARBUCKS RESERVE"
Gas Stations:
Matches: "SHELL GAS STATION", "Shell #12345", "SHELL OIL"
Income Rules¶
Salary:
Freelance:
Transfer Rules¶
Venmo/PayPal:
Between Accounts:
Advanced Patterns¶
Multiple Merchants:
For chains with location numbers:
Utilities:
Pattern: electric
Category: Utilities - Electric
Matches: CITY ELECTRIC, ELECTRIC COMPANY, ELECTRIC UTILITY
Rule Strategy¶
Specific Before General¶
Order rules from most specific to most general:
Without this order, "amazon" would match first and the others would never apply.
Common Patterns First¶
Put frequently-matching rules near the top for faster processing.
One Merchant, Multiple Categories¶
If a merchant sells multiple categories of items:
Option 1: Use the most common category
Option 2: Be specific with sub-patterns
Pattern: target pharmacy → Healthcare
Pattern: target grocery → Groceries
Pattern: target → Shopping - General
Regular Expressions (Advanced)¶
While FRacker uses simple substring matching, you can still be strategic:
Match Start of String: Use very specific patterns:
Avoid False Matches: Be as specific as needed:
"star" might match "STAR MARKET" and "STARBUCKS"
Better: "starbucks" and "star market" as separate rules
Managing Import Rules¶
Editing Rules¶
- Find the rule in the list
- Click Edit
- Modify fields
- Click Save
Note
Editing a rule only affects future imports. Past transactions are not automatically updated.
Deleting Rules¶
- Click Delete next to a rule
- Confirm deletion
Deleted rules won't be applied to future imports.
Rule Order¶
Rules are applied in creation order. To change order:
- Delete rules
- Recreate in desired order
Or:
- Note current rules
- Delete all
- Recreate in optimal order
Testing Import Rules¶
Test Before Full Import¶
- Export a small CSV (10-20 transactions)
- Create your rules
- Import the test CSV
- Review categorization in preview
- Adjust rules as needed
- Import full history once satisfied
Review After Import¶
- Navigate to Transactions
- Filter by date range of import
- Spot-check categories
- Note any miscategorizations
- Create/adjust rules for next time
Common Scenarios¶
Recurring Subscriptions¶
Pattern: netflix → Subscriptions - Streaming
Pattern: spotify → Subscriptions - Music
Pattern: gym membership → Health & Fitness
Groceries¶
Pattern: kroger → Groceries
Pattern: whole foods → Groceries
Pattern: safeway → Groceries
Pattern: farmers market → Groceries
Restaurants¶
Online Shopping¶
Pattern: amazon → Shopping - Online
Pattern: ebay → Shopping - Online
Pattern: etsy → Shopping - Online
Troubleshooting¶
Rule Not Matching¶
Problem: Expected rule doesn't apply
Solutions: - Check spelling in pattern - Verify field to match is correct - Check rule isn't being overridden by earlier rule - Test with simpler pattern - Check for extra spaces in pattern
Wrong Category Assigned¶
Problem: Transaction gets unexpected category
Solutions: - Check for conflicting rules - Review rule order (first match wins) - Make patterns more specific - Test with sample data
Transfers Not Detected¶
Problem: Transfers counted as income/expense
Solutions: - Create rule with "Is Transfer" checked - Match common transfer descriptions - Be specific to avoid false positives
Too Many False Matches¶
Problem: Rule matches unintended transactions
Solutions: - Make pattern more specific - Add distinguishing characters - Split into multiple specific rules - Use longer match strings
Best Practices¶
- Start Simple - Begin with obvious patterns
- Test Incrementally - Add rules one at a time
- Review Regularly - Check new merchants monthly
- Be Specific - Avoid overly broad patterns
- Document Intent - Use clear rule naming
- Update As Needed - Adjust when merchants change names
- Share With Family - Coordinate rules with family members
Advanced Tips¶
Handling Name Changes¶
When merchants rename:
Old: "UBER EATS"
New: "UBER * EATS"
Create rules for both patterns to catch historical and future transactions.
Seasonal Rules¶
For seasonal merchants:
"holiday market" → Shopping - Gifts (November-December)
"tax preparation" → Professional Services (January-April)
You may need to manually categorize or adjust after season ends.
Multiple Locations¶
For chains with many locations:
Next Steps¶
- Import Transactions to test your rules
- Configure Account Types for accurate parsing
- Create Categories for your rules to assign
- Review Reports to verify categorization accuracy
