Reconciliation
Create matching rule
Create a reconciliation matching rule with the Python SDK.
POST
Create matching rule
Use
blnk.reconciliation.create_matching_rule to create a matching rule.
Call the method
blnk.reconciliation.create_matching_rule
| Field | Type | Description |
|---|---|---|
name | str | Name of the matching rule. |
description | str | Short description of what the rule does. |
criteria | list[dict] | Array of match criteria. Each entry sets how one field is compared. |
criteria[].field | str | Field to match: amount, currency, reference, description, or date. |
criteria[].operator | str | How to compare the field: equals or contains. |
criteria[].allowable_drift | number | Optional tolerance for amount (percentage) or date (seconds). |
Save the rule ID
Use
response.data["rule_id"] in matching_rule_ids when you start reconciliation.Related docs
How reconciliation works
Criteria, operators, and drift behavior.
Create matching rule
HTTP request and response schema.