ekmungai / eloquent-ifrs

Eloquent Double Entry Accounting with a focus on IFRS Compliant Reporting
MIT License
335 stars 68 forks source link

Multicurrency Support #135

Closed dipolediamond closed 1 year ago

dipolediamond commented 1 year ago

Hi, I would like to confirm if multi-currency is supported. I have my entity setup with multi_currency set to true. I have two currencies CAD and NGN defined with the exchange rate and the entity currency is set to CAD. When I generate the trial balance or balance sheet, it displays the balances without applying the exchange rate.

The CAD balance is 320 and the NGN balance is 4,440,000. The report shows a balance sheet balance of 4440320. My expectation is that the NGN will be converted to CAD using the defined exchange rate. The exchange rate is 550 so I'm expecting the balance to be 8392.73 not 4440320.

Balance Sheet
For the Period: Jan 01 2023 to Jun 14 2023

Assets
    Bank        44400320
                        ---------------
Total Assets                44400320

Liabilities
    Current Liability        44400320
                        ---------------
Total Liabilities                44400320

Reconciliation
                        ---------------
Total Reconciliation                0
                        ---------------
Net Assets                0
                        ===============

Equity
    Net Profit        0
                        ---------------
Total Equity                0
                        ===============

Can you share an example of a multi-currency transaction if it is supported?

dipolediamond commented 1 year ago

I've seen my mistake. I had the rates wrong.