Hey guys,

I am trying to use an automatic transaction to keep track of my "rewards"
on my credit card. I have a card that provide 1% cash back on transactions.
I started with this:

; This automated transaction will compute the "cash back" on my
; Capital One rewards card.
= /Liabilities:Capital One/
  Assets:Capital One Rewards                               -0.01
  * Income:Miscellaneous                                    0.01

This worked until I started registering payments to my card. Obviously
payments don't get a "cash back" reward. I've dug into the manual and while
I'm convinced ledger can do what I want, I'm just not sure how to make an
automatic transaction that only triggers when the matched transaction is
negative, i.e. when I charge something, but not when I pay.

Can anyone point me in the right direction?

--Paul

Reply via email to