diff options
Diffstat (limited to 'doc/ledger3.texi')
-rw-r--r-- | doc/ledger3.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi index afb84856..8fa12142 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -4186,8 +4186,8 @@ can be setup with the following: ; the amount of the transaction multiplied by the "cashback" tag. = "Liabilities:Credit Card" and %cashback - Assets:Credit Card Cashback (-tag("cashback")) - Income:Credit Card Rewards (tag("cashback")) + Assets:Credit Card Cashback (-amount * tag("cashback") * 0.01) + Income:Credit Card Rewards (amount * tag("cashback") * 0.01) @end smallexample To add a transaction that gives 2% cashback: |