Skip to main content
Match rules are where you set your reconciliation policy — how strict or forgiving Matcher should be when deciding two transactions are the same. Tight rules mean more manual review but fewer false matches; looser rules automate more but need careful oversight. You can enforce exact matches, allow controlled variance, tolerate timing differences, or compare free-text references by similarity.

How rules work


When a matching run starts, Matcher evaluates rules in priority order.
  • Rules are evaluated from the lowest priority number to the highest.
  • The first rule that produces a match determines the outcome.
  • If no rule matches, the transaction becomes an exception.
This approach ensures deterministic matching while allowing progressively looser rules as fallbacks.

Rule types


Exact

Requires a strict match on configured fields.
  • Best for: Deterministic matches where values should align 1:1.

Tolerance

Allows controlled variance in amount matching.
  • Best for: Known variance patterns such as fees, rounding, or FX differences.

Date lag

Allows date differences between transactions.
  • Best for: Posting delays between systems.

Fuzzy

Replaces exact reference equality with normalized string-similarity scoring, while keeping the financial gate (amount, currency, date) exact. FUZZY always proposes a match for review and never auto-confirms.
  • Best for: Free-text memos or truncated references where the reference varies but the amount, currency, and date still align.

Creating match rules


Exact rule

cURL

Config reference

Boolean
default:"true"
Require exact amount match
Boolean
default:"true"
Require exact currency match
Boolean
default:"true"
Require exact date match
Boolean
default:"true"
Require exact reference match
String
default:"DAY"
Date comparison precision: DAY or TIMESTAMP
Boolean
default:"true"
Case-insensitive reference comparison
Boolean
default:"false"
Require reference to be present on both sides
Boolean
default:"false"
Match on base (converted) amount instead of original
Boolean
default:"false"
Match on base currency instead of original
Integer
default:"100"
Accepted and validated, but reserved/inert — does not change the calculated confidence score (see note below)
Integer
default:"90"
Accepted and validated, but reserved/inert — does not change the calculated confidence score (see note below)
matchScore and matchBaseScore are currently inert. They are accepted and validated in the rule config, but the scoring engine ignores them: confidence is always computed from the fixed internal component weights (amount 40, currency 30, date 20, reference 10). These fields are reserved for future use and setting them does not alter the confidence score or auto-confirm behavior. See Confidence scoring.
The response echoes the persisted rule with its assigned id and timestamps.
API Reference: Create match rule

Tolerance rule

cURL

Config reference

Decimal
default:"0.005"
Maximum percentage variance allowed (0.005 = 0.5%)
Decimal
default:"0.50"
Maximum absolute amount variance allowed
Integer
Number of days allowed between transaction dates
Integer
Decimal places for rounding
String
Rounding strategy: HALF_UP, BANKERS, FLOOR, CEIL, or TRUNCATE
String
Base for percentage calculation: MAX, MIN, AVERAGE, LEFT, or RIGHT
Boolean
default:"true"
Require currency match
Boolean
default:"true"
Require reference match
Boolean
default:"true"
Case-insensitive reference comparison
Boolean
default:"false"
Require reference to be present on both sides
Boolean
default:"false"
Match on base (converted) amount
Boolean
default:"false"
Match on base currency
Integer
default:"85"
Accepted and validated, but reserved/inert — does not change the calculated confidence score
Integer
default:"80"
Accepted and validated, but reserved/inert — does not change the calculated confidence score
Example:
  • Transaction A: $1,000.00
  • Transaction B: $1,005.00
  • Variance: 0.5% → Matches (within 0.5% tolerance and $0.50 absolute tolerance)

Fuzzy rule

cURL

Config reference

Decimal
default:"0.80"
Minimum normalized reference similarity (0–1) required to gate as a match
Boolean
default:"true"
Require exact amount match
Boolean
default:"true"
Require exact currency match
Boolean
default:"true"
Require exact date match
String
default:"DAY"
Date comparison precision: DAY or TIMESTAMP
Boolean
default:"true"
Require a non-empty reference on both sides
Integer
default:"70"
Nominal score ceiling (the graded similarity scorer drives the actual confidence)
FUZZY relaxes only the reference comparison (equality becomes similarity); the amount, currency, and date gate exactly as in an EXACT rule. Because it proposes rather than auto-confirms, its matches always land below the auto-confirm threshold for human review.

Date lag rule

cURL

Config reference

Integer
Maximum number of days difference allowed
Integer
default:"0"
Minimum number of days difference required
Boolean
default:"true"
Whether the boundary days are inclusive
String
default:"ABS"
How to measure the lag: ABS (absolute), LEFT_BEFORE_RIGHT, or RIGHT_BEFORE_LEFT
Decimal
default:"0"
Allowed amount difference to account for fees
Integer
default:"80"
Accepted and validated, but reserved/inert — does not change the calculated confidence score. Note that DATE_LAG rules always score the reference component as 0, capping the maximum score at 90
Boolean
default:"true"
Require currency match

Allocation settings (all rule types)

All rule types accept additional allocation settings for split and aggregate matching:

Rule priority


Rules are evaluated by priority. Lower numbers run first.

Priority strategy

Reorder rules

You can reorder rules by providing the rule IDs in the desired order:
cURL
API Reference: Reorder match rules

Testing rules


Test rules in dry-run mode before committing matches.
cURL
Dry run mode evaluates all rules and shows potential matches without persisting results.

Managing rules


List rules

cURL

Response

The list endpoint returns a summary view of rules. To see the full configuration details for a specific rule, use the individual rule endpoint or the create response which includes the complete config object.
API Reference: List match rules

Update a rule

cURL
API Reference: Update match rule

Delete a rule

cURL
API Reference: Delete match rule

Best practices


Lead with exact rules. Add tolerance rules only for the variance you can justify and explain.
Use gaps (1, 10, 20, 50) so you can insert rules without renumbering your entire set.
Treat rule updates as production changes. Validate match rates and exception volume before committing.
A rule should document the variance it covers and the risk it introduces.
If a rule never matches, it may be unnecessary. If it matches too often, it may be too broad.
High tolerance increases false positives. Use it as a fallback and review results carefully.

Next steps


Exception routing

Configure classification, assignment, and escalation for unmatched transactions.

Confidence scoring

Understand how scores are calculated and how thresholds impact automation.