> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/xoroerp-1/accounting/bank-reconciliation/bank-rules/creating-bank-reconciliation-rule.md).

# Creating Bank Reconciliation Rule

A Bank Reconciliation Rule eases the reconciliation process by matching Bank transactions, based on the Rule Criteria, and reconciling them with an automatically generated Journal Entry. Creating bank reconciliation rule involves entering the header details, transaction search criteria, and value lines.

{% hint style="info" %}
To create a bank reconciliation rule, go to Menu > Accounting > Bank Reconciliation Rule > Bank Rule > Bank Reconcile Rule
{% endhint %}

To create the bank reconciliation rule, you'll begin by entering the header details, such as rule name, type, and bank account. Once the basic details are set, you can define the transaction search criteria and value lines.

### Bank Reconcile Rule Header Fields

<table><thead><tr><th width="218">Field</th><th>Description</th></tr></thead><tbody><tr><td>Rule Name</td><td>Enter a unique name for the rule for easy identification and reference.</td></tr><tr><td>Rule Type</td><td>This field allows you to choose the type of rule you want to create. Select Debit if you’re matching payment transactions and Credit if you’re matching deposit transactions.</td></tr><tr><td>Bank Account:</td><td>Select the bank account this rule will apply to.</td></tr><tr><td>Reference</td><td>This field allows you to enter a reference for the reconcile rule. The generated journal entry will include a memo based on the reference field from the bank transaction.</td></tr></tbody></table>

After entering the header details, proceed to set the transaction search criteria.

### Transaction Search Criteria Fields

<table><thead><tr><th width="219">Field</th><th>Description</th></tr></thead><tbody><tr><td>Match</td><td>Choose whether to match <strong>All</strong> or <strong>Any</strong> of the conditions.</td></tr><tr><td>Search By</td><td>Select the field to search from the bank statement’s transaction.</td></tr><tr><td>Operator</td><td>Choose the operator for the search (e.g., equals, contains).</td></tr><tr><td>Value</td><td>Enter the value to search for.</td></tr><tr><td>-/+</td><td>Use the +/- buttons to add or remove search conditions as needed.</td></tr></tbody></table>

One line of the generated Journal Entry will go entirely towards the account that is being reconciled. But the remaining Debit or Credit lines (depending on the Rule Type chosen), are controlled by the fields below. ***Fixed lines will show as fixed amounts and variable lines will take the remaining amount after the fixed lines and distribute it according to the percentage values.***

#### Fixed Value Lines Fields

<table><thead><tr><th width="156">Field</th><th>Description</th></tr></thead><tbody><tr><td>Store</td><td>If required, select the store of the fixed-line.</td></tr><tr><td>Account</td><td>Select the account of the fixed-line.</td></tr><tr><td>Name</td><td>If required, select an entity to associate with the fixed-line.</td></tr><tr><td>Amount</td><td>Enter an amount for the fixed-line.</td></tr><tr><td>Tax (Inclusive)</td><td>If required, select a tax code for the fixed-line.</td></tr><tr><td>Project Class</td><td>If required, enter a memo for the fixed-line.</td></tr><tr><td>Memo</td><td>Click here to add the fixed line to the rule.</td></tr></tbody></table>

After entering the details, click "Add" to add the fixed value line to the rule.

#### Remainder Variable Value Lines Fields

<table><thead><tr><th width="156">Field</th><th>Description</th></tr></thead><tbody><tr><td>Store</td><td>If required, select the store of the variable line.</td></tr><tr><td>Account</td><td>Select the account of the variable line.</td></tr><tr><td>Name</td><td>If required, select an entity to associate with the variable line.</td></tr><tr><td>Percentage</td><td>Enter a percentage for the variable line.</td></tr><tr><td>Tax (Inclusive)</td><td>If required, select a tax code for the variable line.</td></tr><tr><td>Project Class</td><td>If required, enter a memo for the variable line.</td></tr><tr><td>Memo</td><td>If required, enter a memo for the variable line.</td></tr></tbody></table>

After entering the details, click "Add" to add the variable value line to the rule.

### Allow Creating Bank Reconcile Rules During Reconciliation

XoroERP provides the ability to create Bank Reconciliation Rules directly during the reconciliation process, improving efficiency and reducing manual effort. This feature allows users to define and save rules at the time of transaction entry, ensuring faster reconciliation for future transactions.

{% hint style="info" %}
This is an app config-based feature.
{% endhint %}

#### **How it works**

**Step 1:** Navigate to **Menu → App Config → Accounting** and enable the app config **“Allow Creating Bank Reconcile Rules During Reconciliation.”**

<figure><img src="/files/WP8JqS57MrlYzgi8QcIs" alt=""><figcaption></figcaption></figure>

**Step 2:** Go to the **Reconcile Bank Account** module and select the required bank account.

<figure><img src="/files/nZIoRn6vxL34iTgMlG5x" alt=""><figcaption></figcaption></figure>

**Step 3:** For a transaction without a matching rule, click **Options → Create Journal Entry** and balance the journal entry lines.

<figure><img src="/files/o69Aya0cj9h7nRTRYEy8" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/K9dNlkdwBSpK8YgZ7Iaz" alt=""><figcaption></figcaption></figure>

**Step 4:** Click **Save**. A prompt appears with the option **“Remember this rule for future?”**

<figure><img src="/files/p5b4afTYOJ5oIPVP4Def" alt=""><figcaption></figcaption></figure>

**Step 5:** Enable the toggle and enter the rule details such as **Rule Name, Payee, Amount, Category,** and **Reference No.**, then confirm.

<figure><img src="/files/KLIiAxrFztIPewOaUIKx" alt=""><figcaption></figcaption></figure>

**Step 6:** The rule is saved and available in the **Bank Reconcile Rule Centre**.

<figure><img src="/files/SdpknZ907en34I9qfgUF" alt=""><figcaption></figcaption></figure>

**Step 7:** For future transactions matching the criteria, the system automatically identifies the rule and displays a **“Rule Found”** indicator for quick reconciliation.

<figure><img src="/files/WMwha925Fzp0xWVR5AXU" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If the **app configuration is disabled**, users will not be prompted to create a rule during reconciliation. **Bank Reconciliation Rules** must be created manually from the **Bank Reconcile Rule** page, and no rules will be generated automatically during the **Journal Entry** process.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.xorosoft.com/xoroerp-1/accounting/bank-reconciliation/bank-rules/creating-bank-reconciliation-rule.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
