Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postfinance date format #83

Open
ideco opened this issue Jan 30, 2023 · 4 comments
Open

Postfinance date format #83

ideco opened this issue Jan 30, 2023 · 4 comments

Comments

@ideco
Copy link

ideco commented Jan 30, 2023

Hi,

the csv import for postfinance expects a booking date with in a sensible ISO format:

book_date = datetime.strptime(book_date, "%Y-%m-%d").date()

However in my csv export from postfinance I get the following format:

Booking date;Notification text;Credit in CHF;Debit in CHF;Value;Balance in CHF
31.12.2022;"Preis für Bankpaket Smart";;-5;31.12.2022;7881.98

Am I using the wrong export or did they change the format? In case of the latter I can gladly provide a fix :-)

@tarioch
Copy link
Owner

tarioch commented Jan 30, 2023

@przemator do you know? I don't have access to a postfinance export.

@tarioch
Copy link
Owner

tarioch commented Jan 30, 2023

or maybe @kosli

@kosli
Copy link

kosli commented Feb 4, 2023

or maybe @kosli

I am not using the PostFinance CSV format but only CAMT.054/053 so I cannot help here :-(

@przemator
Copy link
Contributor

hi @ideco I just had a look at my old PostFinance CSV from 2021 and the date format there is YYYY-MM-DD. I also generated a new CSV now and it's DD.MM.YYYY. So it looks like they've changed it. I haven't been using beancount since then, so I haven't noticed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants