On 30 May 2014 07:18, Esben Stien <[email protected]> wrote:
>
> I have the following bank statement from my bank:
>
> "03.11.2013";"Foo";"04.11.2013";"1.638,00";""
> "03.11.2013";"Bar";"04.11.2013";"";"492,93"
>
> The fields are:
>
> "Date";"Description";"Interest Date";"Out of Account";"In to Account"
>
> , so the ins and outs are separated, the date format is fubar, the
> separator is semicolon and the amount format is just as fubar.
>
> I could script it into something more sane, but I wonder if
>
> https://github.com/bhutley/bank-csv-to-ledger
>
> ..or another import package can work directly with this format?
>
Try

https://github.com/quentinsf/icsv2ledger

--csv-date-format STR for the date format, see
https://docs.python.org/2/library/datetime.html#strftime-strptime-behavior
for how to format that string

--delimiter ;

--debit INT to state which column is for debits

--credit INT to state which column is for credits

--ledger-decimal-comma that it uses , rather . for the decimal separator

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to