Rules & Merchants
Rules are applied during import and can also be used to update existing analyzed rows. User rules override system rules.
When you upload a file, Pinke normalizes the raw rows (building a full-text search blob and detecting merchants via aliases). When you analyze, the pipeline applies: user rules → merchant defaults → system rules → ML fallback → review queue. User rules always win.
contains — Simple substring search (case-insensitive). "aws" matches "AWS Emea Luxembourg"
matches (regex) — Regular expression pattern for advanced matching.
| Pattern | Matches | Use case |
|---|---|---|
| amzn.*mktp | AMZN MKTP DE S1234 | Wildcard between words |
| paypal.*\d{4} | PAYPAL REF 8812 | Match digits (\d = digit) |
| (rewe|aldi|lidl) | REWE SAGT DANKE | Match any of several words |
Tip: Use contains for simple keywords. Use regex only when you need wildcards or alternatives.
Your rules
Personal rules that override system rules. Supports text, merchant, and amount matching.
System rules
Read-only rules grouped by category.