From 751fcef321d2f114e1aebfd07d4c836011034e89 Mon Sep 17 00:00:00 2001 From: valankar <31250800+valankar@users.noreply.github.com> Date: Sat, 10 Jun 2023 18:28:38 +0200 Subject: Update doc/ledger3.texi Co-authored-by: Alexis Hildebrandt --- doc/ledger3.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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: -- cgit v1.2.3