Create Rules from the Apply Rules Dialog

Documentation •
In this article

The Apply Rules dialog allows you to create and edit Rules directly while importing bank transactions, immediately checking which transactions they will be applied to.

The main advantages are:

  • View all imported transactions, divided into incoming and outgoing transactions, with and without Rules.
  • Identify applicable Rules, displayed in bold above the corresponding transactions.
  • Create, edit or delete Rules directly from the dialog.
  • Immediately check the results when you change the conditions of a Rule, such as the description, amount or account.
  • Identify duplicate or conflicting Rules, to avoid ambiguity when applying them.
  • Choose which Rules to apply, enabling or disabling them as needed.

The following sections explain, step by step, how to create and apply Rules from the Apply Rules dialog.

1. Import bank transactions

To create Rules from the Apply Rules dialog, you must first start importing bank or postal account transactions.

Proceed as follows:

  1. Select the command Actions > Import to accounting > Transactions.
  2. Choose the import format and select the bank statement file.
  3. In the import dialog:
    • Account: specify the bank or postal account to which the transactions refer.
    • Period: specify the start and end dates of the transactions to be imported.
    • Temporary contra account: keep the default value [CA] or enter a different one. If the account is enclosed in square brackets, it is not posted to the accounts.
    • Apply Rules: enable this option, available with the Advanced plan of Banana Accounting Plus.
  4. Confirm with OK.

The following image shows the import dialog with the Apply Rules option enabled.contropartita automatizzata

After confirmation, Banana Accounting opens the Apply Rules dialog, where you can check the imported transactions and create the necessary Rules.

 2. Apply Rules dialog

After confirming the import, Banana Accounting opens the Apply Rules dialog, where you can view the imported bank transactions, check existing Rules and create new ones.

The dialog displays:

  • Temporary contra account: the default account [CA] or the one specified during import.
  • Bank account: the account to which the imported transactions are posted.
  • Imported transactions, divided into four groups:
    • Incoming transactions without Rules Money In without rules.
    • Outgoing transactions without Rules Money Out without rules.
    • Incoming transactions with Rules Money In with rules.
    • Outgoing transactions with Rules Money Out with rule.

The following image shows how bank transactions are displayed and grouped in the dialog.Rules automation

This grouping allows you to immediately identify transactions already recognized by the Rules and those for which a new Rule needs to be created.

3. Create new Rules

In the Apply Rules dialog, you can create a new Rule directly from an imported bank transaction.

Proceed as follows:

  1. Select the transaction for which you want to create a Rule.
  2. Click the three dots (…) to the right of the transaction.
  3. Select Add new rule.

The following image shows where to find the command for creating a new Rule.Rules automation

The Apply Rules, Add Rule dialog opens, where you can define the conditions for recognizing bank transactions and the accounting data to be entered.

Set the matching criteria

In the Description field, the program automatically suggests the text of the selected bank transaction. This text may contain very detailed information, such as invoice numbers, payment references and other specific data.

Important: if you keep the entire original description, the Rule may be too specific and recognize only that transaction, making it unsuitable for subsequent imports.

To create an effective and reusable Rule:

  1. Remove information that changes with each payment, such as invoice numbers or unique references.
  2. Keep recurring keywords that allow you to identify the desired transactions, for example:
    • Company name or registered business name.
    • Legal form or location, if useful for distinguishing the beneficiary.
    • Customer, contract or policy number, when it remains unchanged in subsequent payments.
    • Other recurring references that identify a specific type of transaction.

Choose the search method

You can use two methods to recognize bank transactions.

Search by phrase

The program searches the bank description for the text sequence specified in the Rule, keeping the words in the same order and without interruptions.

For example:
Best Insurance Contract 892-948

The Rule recognizes transactions containing this text sequence in the same order.

Search by independent words (with +)

By entering the + symbol at the beginning of the search criteria, the program searches for all the specified keywords, even when they appear in a different order or are separated by other words in the bank description.

For example:
+Best Insurance Contract 892-948

The Rule recognizes transactions containing all the keywords Best, Insurance, Contract and 892-948, regardless of their order.

Tip: when you want to distinguish transactions from the same supplier based on the contract, policy or customer number, use the search by independent words. This allows you to recognize transactions even when the bank changes the order of the information in the description.

Important: when the bank description contains contract, policy or customer numbers or other specific references, we recommend entering the + symbol at the beginning of the search criteria.

The + symbol allows the Rule to search for all the specified keywords and numerical sequences, regardless of their order and position in the description of the imported transaction.

The program displays the imported transactions that match the specified conditions and to which the new Rule will be applied. In the example, only one transaction is recognized.

Check that the recognized transactions are correct and confirm with OK.Rules automation

4. Confirm Apply Rules

After creating a new Rule and confirming with OK, the program returns to the Apply Rules dialog, where you can check:

  • The new Rule, identified by the label NEW, which shows the contra account and the other specified accounting data.
  • The matching transactions, displayed immediately below the Rule, to which the specified accounting data will be applied.

You can choose which Rules to apply and when to apply them:

  • Apply some Rules and continue working on the others.
  • Disable the Rules you do not want to apply.
  • Exit the dialog and resume your work later.

Apply the Rules

Two main buttons are available in the dialog:

  • Apply Rules: the program completes the matching transactions in the Transactions table and saves the new Rules and changes in the Recurring Transactions table. The dialog remains open, allowing you to continue creating and applying other Rules.
  • OK: confirms the applied Rules and closes the dialog.

The following image shows the new Rule and the recognized transactions in the Apply Rules dialog.Rules automation

Undo changes

After closing the dialog, the completed transactions are visible in the Transactions table.

If necessary, you can undo the operation:

  • From the Edit > Undo menu.
  • Using the Undo button (green arrow).

To also undo the import of bank transactions, you must execute the Undo command a second time.

5. Complete transactions with a temporary contra account

After applying the Rules, some imported transactions may still have the temporary contra account [CA], because they do not match any Rule.

To complete these transactions, you can:

The goal is to complete all imported transactions by removing the temporary contra accounts [CA].

Add accounting information to existing Rules

You can edit existing Rules in the Recurring Transactions table, by adding VAT codes, cost centers, segments and other accounting data.

The additional information will be used the next time the Rules are applied, allowing more accounting data in the imported transactions to be completed automatically.

 

How can we help you better?

Let us know what topic we should expand or add to make this page more useful.

Send us your feedback

Share this article: Twitter | Facebook | LinkedIn | Email