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

Vanguard OFX Import Failing due to negative units #236

Open
stin7 opened this issue Aug 31, 2024 · 1 comment
Open

Vanguard OFX Import Failing due to negative units #236

stin7 opened this issue Aug 31, 2024 · 1 comment

Comments

@stin7
Copy link

stin7 commented Aug 31, 2024

$ python run.py 
...
AssertionError
> .venv/lib/python3.9/site-packages/beancount_import/source/ofx.py(997)get_entries()
-> assert units < ZERO

Looking in the OFX file downloaded from Vanguard, I see entries like this:
<UNIQUEIDTYPE>CUSIP</SECID><SUBACCTSEC>CASH<UNITS>-0.00007<TFERACTION>OUT<POSTYPE>LONG

Any thoughts on how I might try to fix? I'd rather not write a custom importer since I would guess this could be common.

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

2 participants
@stin7 and others