2

Given a ledger-cli entry like

2017-11-30 * Terrace door ; :share:
    Expenses:Housing:Fixed                    719.06
    Assets:Bank:Checking Account

what would an automated transaction / transaction pattern match look like that

  • identifies that the account Expenses:Housing:* is involved and
  • the transaction uses the tag :share: ?
  • 1
    That's a really obscure package. Have you tried the Google Group? (Look at the bottom of READMD.md.) – RonJohn Dec 6 '17 at 6:19
3

Just combine both conditions with &

= /Expenses:Housing:/ & tag("share")

But also make sure you have two or more spaces before your tag comment:

2017-11-30 * Terrace door       ; :share:
    Expenses:Housing:Fixed                    719.06
    Assets:Bank:Checking Account
| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.