1

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: ?

closed as off-topic by Pete B., Nathan L, Dheer, Michael, MD-Tech Dec 7 '17 at 10:16

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about accounting are off-topic unless they relate directly to personal finance or investing from an individual's perspective." – Pete B., Nathan L, Dheer, Michael, MD-Tech
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 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
1

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

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