* Jimi Damon <jda...@gmail.com> [2020-12-23 08:28]:
> I know about how you can set up a matcher like
> = /Pizza/
>    (taxes )  0.0775

= /^Pizza:/
    Pizza:Taxes           (roundto(amount * 0.0775, 2))
    CreditCard            (roundto(-amount * 0.0775, 2))

This does what you want.

Unfortunately, it leads to an error due to a bug, but if you e.g.
change the tax rate from 0.0775 to 0.0774 it works.

P.S. Please use top-level accounts like Assets: and Liabilities:
-- 
Martin Michlmayr
https://www.cyrius.com/

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/20201224054305.GA5493%40jirafa.cyrius.com.

Reply via email to