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

Set currency for import #52

Open
colindean opened this issue Jun 10, 2018 · 4 comments
Open

Set currency for import #52

colindean opened this issue Jun 10, 2018 · 4 comments

Comments

@colindean
Copy link
Contributor

I've got a QFX file from Vanguard. It's denoted in USD, but ledger-autosync outputs transactions with a $ for USD amounts. I'd prefer if I could have it output USD to conform to the rest of my records. I don't see a way to do that presently.

@egh
Copy link
Owner

egh commented Jun 10, 2018

Seems like a good idea. I prefer $but I guess that is a personal choice :)

@colindean
Copy link
Contributor Author

Adding a commodity directive worked for me:

commodity USD
  alias $

This was previously undocumented because now been added to to the ledger documentation as of last night.

@501st-alpha1
Copy link
Contributor

Adding a commodity directive worked for me:

Do you mean that ledger-autosync now outputs transactions with USD instead of $? I was trying to do the inverse in #46, but it didn't work for me when importing a CSV file.

@colindean
Copy link
Contributor Author

No, setting that directive makes USD and $ show up as USD in reports.

jeffrichards pushed a commit to jeffrichards/ledger-autosync that referenced this issue Apr 5, 2021
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

3 participants