summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ledger3.texi13
1 files changed, 13 insertions, 0 deletions
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