diff options
author | Kai Wohlfahrt <kai.wohlfahrt@gmail.com> | 2021-01-16 14:46:35 +0100 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2021-01-31 09:59:02 +0800 |
commit | ebd2d8dd0865ef41d1931c5304cb42ee1b312cb7 (patch) | |
tree | 112e3b0377b1cf44989cf01e729271542657faa6 /doc/ledger3.texi | |
parent | ff1d1d9e5c93fa84a3abcb5bb5e21013ee8f77d9 (diff) | |
download | fork-ledger-ebd2d8dd0865ef41d1931c5304cb42ee1b312cb7.tar.gz fork-ledger-ebd2d8dd0865ef41d1931c5304cb42ee1b312cb7.tar.bz2 fork-ledger-ebd2d8dd0865ef41d1931c5304cb42ee1b312cb7.zip |
Add example of single-column CSV import
Diffstat (limited to 'doc/ledger3.texi')
-rw-r--r-- | doc/ledger3.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi index ece57253..ab034d95 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -4735,6 +4735,16 @@ ledger how to interpret the dates. Importing csv files is a lot of work, but is very amenable to scripting. +If your csv has only one amount column with opposite signs for credits +and debits, this is also supported. For example, the first fiew lines +of the above account could also be in the following format: + +@smallexample +,date,payee,note,credit,,code, +767406,12/13/2011,"Deposit","CASH DEPOSIT",45.00,00001646.89,, +767718,12/13/2011,"Withdrawal","ACE HARDWARE 16335 S HOUGHTON RD",-8.80,00001640.04,, +@end smallexample + If there are columns in the bank data you would like to keep in your ledger data, besides the primary fields described above, you can name them in the field descriptor list and Ledger will include them in the |