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

The DTASOF tag in the OFX should be exclusive but is calculated inclusive #103

Open
gpaulissen opened this issue Mar 16, 2020 · 0 comments

Comments

@gpaulissen
Copy link
Contributor

See also #102 .

The code in ofx.py:

    self.buildDateTime("DTASOF", self.statement.end_date, False)

Another discussion on GitHub mentions this:

In fact, after doing more tests with OFX files, it seems to be a little bit more complicated. From my
experience, it seems that, when you require from your bank's website to have the OFX file from
2014-09-01 to 2014-09-30, you will get in the OFX file:

all the movements between 2014-09-01 to 2014-09-30
today's balance, i.e. the balance of 2014-10-12 (and NOT the balance of 2014-09-30).
I had this experience with 2 different french banks.
That would mean that it's just not possible to have the start/end balance of the period with an OFX file, if this is confirmed, it would be better to leave the field start/end balance empty.

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

1 participant