Skip to content

Commit

Permalink
add blurb for transfer rules
Browse files Browse the repository at this point in the history
  • Loading branch information
youngcw committed Dec 3, 2023
1 parent 941838c commit 664987d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions docs/budgeting/rules/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,34 @@

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](/contact)!

**Q: How do I set a default account when I add transactions?**
### Q: How do I set a default account when I add transactions?

**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.

![](/img/rules-custom/custom-rules-1.png)

**Q: I have accounts (like cash or Venmo) that instantly “clear” at the moment of purchase. How can I automate toggling the "cleared" status?**
### Q: I have accounts (like cash or Venmo) that instantly “clear” at the moment of purchase. How can I automate toggling the "cleared" status?

**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.

![](/img/rules-custom/custom-rules-2.png)

### Q: I use bank sync. How do I create transfers and not make duplicates?

**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.

![](/img/rules-custom/custom-rules-transfer.png)

If you are using bank sycing on both accounts in the transfer you will need to create a rule for both accounts.

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error documentation

sycing is not a recognized word. (unrecognized-spelling)
This will prevent the creation of duplicate transfers.
The processes will look like this:
1. Bank account **A** is imported and has a transfer
2. Your rule will catch the transaction that should be labeled as a transfer and create the transfer.
3. The transfer will show up in both accounts.
4. Bank account **B** is imported and contains a transaction for the same transfer.
5. Your second rule will catch the transfer transaction and set it as a transfer.
6. Actual's deduplication will see two transfers of the same amount on the same day with the same payee and delete the duplicate.

Binary file added static/img/rules-custom/custom-rules-transfer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit 664987d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@check-spelling-bot Report

🔴 Please review

See the 📜action log or 📝 job summary for details.

Unrecognized words (1)

sycing

To accept these unrecognized words as correct, you could run the following commands

... in a clone of the git@github.com:actualbudget/docs.git repository
on the youngcw/transfer-rules branch (ℹ️ how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/main/apply.pl' |
perl - 'https://github.com/actualbudget/docs/actions/runs/7079550414/attempts/1'
If the flagged items are 🤯 false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it,
    try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

Please sign in to comment.