From 233c6b72a02184b7cc12316ad8b9c0577c1141a2 Mon Sep 17 00:00:00 2001 From: valankar <31250800+valankar@users.noreply.github.com> Date: Sat, 10 Jun 2023 18:29:10 +0200 Subject: Update doc/ledger3.texi Co-authored-by: Alexis Hildebrandt --- doc/ledger3.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/ledger3.texi b/doc/ledger3.texi index dc2890d9..83a8391f 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -4199,6 +4199,19 @@ To add a transaction that gives 2% cashback: Liabilities:Credit Card @end smallexample +Now when a report is generated, e.g. +@smallexample @c command:7D1589F +$ ledger -f cashback.dat reg +@end smallexample + +The cashback postings appear with the transaction. + +@smallexample @c output:7D1589F +23-Jun-06 McDonalds Expen:Food:Restaurants $23.98 $23.98 + Liabilitie:Credit Card $-23.98 0 + ..Credit Card Cashback $0.48 $0.48 + In:Credit Card Rewards $-0.48 0 +@end smallexample @node Building Reports, Reporting Commands, Transactions, Top @chapter Building Reports -- cgit v1.2.3