diff options
author | valankar <31250800+valankar@users.noreply.github.com> | 2023-06-10 18:29:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-10 18:29:10 +0200 |
commit | 233c6b72a02184b7cc12316ad8b9c0577c1141a2 (patch) | |
tree | 6bab55b60bd420769b9bec5047be36222f49e629 | |
parent | b9e4f25ea90acb1bd0d6580fa48bf493e6354e40 (diff) | |
download | fork-ledger-233c6b72a02184b7cc12316ad8b9c0577c1141a2.tar.gz fork-ledger-233c6b72a02184b7cc12316ad8b9c0577c1141a2.tar.bz2 fork-ledger-233c6b72a02184b7cc12316ad8b9c0577c1141a2.zip |
Update doc/ledger3.texi
Co-authored-by: Alexis Hildebrandt <afh@surryhill.net>
-rw-r--r-- | doc/ledger3.texi | 13 |
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 |