Skip to content

Feature Request: Allow currency exchange transactions #79

Description

@belidzs

This would be useful on trips which include multiple countries.

Expenses and balances can be difficult to track when there are multiple currencies involved. For example on a trip to Japan I may be owed 100 USD for booking some accommodations from home and owing 10.000 JPY for my expenses covered by friends abroad. It's difficult to tell whether my balance is greater than zero or not. A relatively simple solution for this would be providing a view which dynamically converts all balances to a specified base currency on the fly, but that's not very robust due to the changing nature of rates.

Instead, I recommend implementing manual settlement transactions which convert one currency to another. The currency rate should be provided by the user (and maybe suggested by the application).

In the example above once we leave Japan, we could convert the remaining balance of JPY to USD, so +100 USD, -10.000 JPY would become +32 USD, 0 JPY with a conversion rate of 146 JPY/USD (the settlement transaction would be -68 USD, +10.000 JPY)

Activity

  1. KMKoushik commented on Aug 23, 2024

    @KMKoushik
    Contributor

    this a nice feature, but i don't think i have the time to implement this now. might need some help from the community!

  2. added
    help wanted
    on Aug 23, 2024
  3. added theissue type on May 24, 2025
  4. added this to the 1.5 milestone on Jul 1, 2025
  5. Silther commented on Jul 21, 2025

    @Silther

    An option to use automatic exchange rates via an api would be preferable in my opinion.
    You could use the exchange rate of the day you made the expense or the day you settle the expense.
    Each user could have a preferred currency in his/her account.
    Maybe have an optional preferred currency in a group (travel to another country) that overwrite the account currency.

  6. modified the milestones: 1.5, 1.6 on Aug 5, 2025
  7. pchampio commented on Aug 27, 2025

    @pchampio
    Contributor

    Hello,
    Recently I was adding a sum of multiple expense on a single entry. And I had to use my calculator to do the sum before adding it to splitpro.
    But then I recalled that ihatemoney (that I was using previously) had that feature built-in spiral-project/ihatemoney#234 with is quite handy.

    My personal preference for the currency exchange feature would be the following:
    When editing the expense that I want to change currency to, I add x 25 to the amount, 25 being the exchange rate, then in JS it does the math.
    The nice thing about letting the user define the exchange rate is that it avoid the question how do you automatically get it ?

    When you modify the expense currency, do you use current rate or the expense date rate ?
    What about if I have a very big expense and I'll like to have the expense rate as the mean of the last 6 month, to avoid highs and lows.

    Having some shortcut for tipping/tax could be nice too.
    Like 19.99 + 15%.

    Finally, to wrap it up, user define abbreviation could expand TT to +15% + 20% to compute tips and taxes faster, related to: #332
    Those abbreviation could be modified in the account section.

    InputType tel could work well instead of decimal: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/tel#:~:text=elements%20of%20type%20tel,so%20much%20around%20the%20world.

  8. krokosik commented on Sep 2, 2025

    @krokosik
    Collaborator

    The latter part of your comment is unrelated to this issue. For currency conversion, I plan to put in an editable input field with a daily fetched conversion rates. You can then update it to 6 months mean or whatever you'd like.

  9. belidzs commented on Sep 16, 2025

    @belidzs
    Author

    Great work, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wanted

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions