Hi,

I was just trying out an example where I bought pizza for friends and then
was just going to have them venmo me for the cost of the pizza plus the tax
added.

I had something like this


2020/12/20 * Woodstocks Pizza
    ; tag: FriendA
    Pizza:Cheese    $21.04
    Pizza:Salad       $7.54
    Pizza:Drink        $10.00
    ; Pizza:Taxes    (PizzaCurrentTransaction * 0.0775 )  My ideal
    CreditCard


But I'd really like to add in the taxes as well with some line saying

0.0775 * this current transaction without having to calculate it manually
and then add it in.

I know about how you can set up a matcher like
= /Pizza/
   (taxes )  0.0775

to calculate the taxes but in my case I really want to have the taxes stay
with the transaction that can be looked up with tag FriendA.

Is there a way to calculate the taxes on the current transaction using a
math expression ?

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 on the web visit 
https://groups.google.com/d/msgid/ledger-cli/CAHkuPsu3wv11uQ%3DGh0pj6QaH6JxY%2Bj%3D9Mu3eKWr%2BqNvJ2TQLeA%40mail.gmail.com.

Reply via email to