packages/docs/docs/budgeting/rules/custom.md
This page has examples of custom rules that some of our users have found useful for their own budgets. If you have any custom rules you're proud of, click the "Edit this page" button below to propose adding them to this page tell us about them!
A: Sometimes the payee shows up slightly differently from transaction to transaction. To set the same payee every time and not create a new one every time a new transaction is imported, use a Pre rule that reads the imported payee field and finds the merchant name using a "contains" condition.
A: Set a Pre rule to check for an empty account field. When entering a transaction in the "All Accounts" ledger or from the ledger of a Category listing, your preferred default account will be auto filled.
A: Set a Post rule to check for your account or accounts where instant transactions can be made, set the action to "cleared", and select the checkbox. Cash or Venmo are typical examples of this type of account. Any time a transaction is added to the accounts listed in this rule, those transactions will automatically get a cleared state from now on.
A: Rules can be used to automatically create transfers. Under the hood, Actual creates payees for each of your accounts. To create a transfer, simply set the payee to the other account you are transferring between. It is recommended to also limit the rule to a specific account.
If you are using bank syncing on both accounts in the transfer you will need to create a rule for both accounts. This will prevent the creation of duplicate transfers. The processes will look like this: