If you are open to changing the workflow,
I would suggest moving those Friends accounts to Assets category (sometimes
they are called Payable accounts).
When you pay, your payable account goes above 0, which means there is debt
on your friend's account. When they pay, you simply take that amount from
their payable account.

This way you don't pollute your fava statement and you get automatic debt
tracking as a bonus (payable balance=0 means no debt)

To answer your original question, I think there was a post on this list
about a plug-in to rename accounts like you asked (for renaming
Expenses:Tax:* accounts into Income:*:Tax), but I couldn't find it.

On Sat, Oct 19, 2019, 20:59 <[email protected]> wrote:

> So I tend to pay things for my friends, which then will reimburse me. The
> way I set it up is by adding two accounts: Expenses:Friends and
> Income:Reimbursements. A typical transaction looks like follows
>
> 2019-04-29 * "Rent" ""
>    Assets:Chase:Checking  -2218.27 USD
>    Expenses:Friends 990
> USD
>
>    Expenses:Home:Rent
>
> Then I see on Fava on the Income statement a section for Expenses:Friends
> of course. If I filter out Expenses:Friends with
> all(-account:"Expenses:Friends"), what happens is that all the transactions
> that include this account are deleted, therefore, my expense for
> Expenses:Home:Rent is also deleted. Is there a way to just delete the
> expenses in the account Expenses:Friends ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/61f2ffb8-e2d7-4231-a1d9-765666267896%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/61f2ffb8-e2d7-4231-a1d9-765666267896%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CALOZWjVnuonDnAF2jOaaiRezwzsUKzr5YjCg_H7_gRB8OEfw7Q%40mail.gmail.com.

Reply via email to