Just FYI, top-level accounts like Assets: and Liabilities: in this case would look something like this:
2020-12-28 * Woodstocks Pizza Assets:Receivable:Person:FriendA $21.04 ; Cheese Pizza Assets:Receivable:Person:FriendA $7.54 ; Salad Assets:Receivable:Person:FriendA $10.00 ; Drink Assets:Receivable:Person:FriendA $2.99 ; Taxes @ 7.75% Liabilities:Credit Card:Amex $-41.57 On Thursday, 24 December, 2020 at 11:13:14 am UTC+5:30 Martin Michlmayr wrote: > * 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/2da83325-6906-49d4-9d73-3979996f54adn%40googlegroups.com.