Skip to main content

Module categorize

Module categorize 

Source
Expand description

Rules-based transaction categorization.

The RulesEngine matches transaction payee/narration against a set of rules to determine the contra-account. Rules can use substring matching, regex patterns, or exact matching. They are evaluated in priority order (highest first), with first match winning.

The engine can also load the built-in merchant dictionary from crate::merchants as low-priority fallback rules.

Structs§

Rule
A categorization rule.
RuleMatch
Result of a successful categorization match.
RulesEngine
Rules engine for transaction categorization.

Enums§

RulePattern
Pattern types for matching.