summaryrefslogtreecommitdiff
path: root/doc/ledger3.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ledger3.texi')
-rw-r--r--doc/ledger3.texi10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index 4c108331..81777d09 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -4645,21 +4645,23 @@ and @option{--rich-data} which stores additional metadata as tags.
Using the two first lines of the above csv file,
-@smallexample @c input:DD85579
+@smallexample @c file:B2EA7E8
+,date,payee,note,amount,,,code,
767718,12/13/2011,"Withdrawal","ACE HARDWARE 16335 S HOUGHTON RD",-8.80,,00001640.04,,
767406,12/13/2011,"Withdrawal","ACE HARDWARE 16335 S HOUGHTON RD",-1.03,,00001648.84,,
@end smallexample
and launching the below command,
-@smallexample @c command:DD85579
+@smallexample @c command:B2EA7E8,with_file:download.csv
$ ledger convert download.csv --input-date-format "%m/%d/%Y" \
- --invert --account Assets:MyBank --rich-data
+ --invert --account Assets:MyBank --rich-data \
+ --file sample.dat --now=2012/01/13 \
@end smallexample
you will get the result:
-@smallexample @c result:DD85579
+@smallexample @c output:B2EA7E8
2011/12/13 * Withdrawal ;ACE HARDWARE 16335 S HOUGHTON RD
; CSV: 767718,12/13/2011,"Withdrawal","ACE HARDWARE 16335 S HOUGHTON RD",-8.80,,00001640.04,,
; Imported: 2012/01/13