spliit icon indicating copy to clipboard operation
spliit copied to clipboard

[Missing currency] Macau Pataca (MOP)

Open ivancwc opened this issue 3 months ago • 2 comments

Could you please consider adding MOP (Macanese/Macau Pataca), the official currency of Macau, to the available currency options? This would be helpful for users dealing with transactions or data involving Macau.

Thank you!

ivancwc avatar Oct 13 '25 09:10 ivancwc

I’m looking at adding new currencies to the codebase and noticed that the UI currently supports only those available in the Frankfurter forex rate API. List of supported currencies: https://api.frankfurter.dev/v1/currencies

The API provides forex rates for a given currency (e.g. https://api.frankfurter.app/2025-10-17?base=HKD ), which are used when an expense is not in the same currency as the group’s default. However, it doesn’t support MOP, so a custom rate will need to be provided for it.

If there are no concerns about this approach, I’m happy to raise a PR. 😄

Image

derekl-beep avatar Oct 17 '25 06:10 derekl-beep

I’m looking at adding new currencies to the codebase and noticed that the UI currently supports only those available in the Frankfurter forex rate API. List of supported currencies: https://api.frankfurter.dev/v1/currencies

The API provides forex rates for a given currency (e.g. https://api.frankfurter.app/2025-10-17?base=HKD ), which are used when an expense is not in the same currency as the group’s default. However, it doesn’t support MOP, so a custom rate will need to be provided for it.

If there are no concerns about this approach, I’m happy to raise a PR. 😄

Image

Yes I believe a custom rate is good, please go ahead. Thank you for your support.

ivancwc avatar Oct 17 '25 12:10 ivancwc