Consider a transaction
```
2025/04/09 * Invoice
    My:Bank
    Expenses:Accessories                     €100.00
    Expenses:Business:Tax                     €20.00
```

If I define
```
= /Expenses:?/ & %/\\bTVA20\\b/
    My:Bank                                     -0.2
    Expenses:Business:Tax                        0.2
```
The above transaction can be written as:
```
2025/04/09 * Invoice  ; TVA20:
    My:Bank
    Expenses:Accessories                     €100.00
```
But I don't want to hard-code `My:Bank ` in the automated transaction (what 
if in another transaction I want to use `My:Other:Bank` instead). It would 
be nice if in the automated transaction I could access the account that 
balances the transaction and subtract from it an additional 20%. Can this 
be done?

Thanks

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/ledger-cli/65fa0a9d-f5cf-4276-ba33-de86f2516a47n%40googlegroups.com.

Reply via email to