alyf-de / banking

An Open Banking Integration with ERPNext
GNU General Public License v3.0
39 stars 20 forks source link

Reconcile multi-currency invoice #102

Open barredterra opened 3 weeks ago

barredterra commented 3 weeks ago

A Purchase Invoice is entered for 100 USD. The payable Account is in EUR (-> the amount gets converted to 80 EUR for the GL Entries).

The payment of 100 was made from a USD bank Account.

Expected behavior

The Bank Reconciliation Tool Beta shows the Purchase Invoice with $100 outstanding, which can be fully reconciled with the payment of $100.

Actual behavior

The Bank Reconciliation Tool Beta shows the Purchase Invoice with $ 80 outstanding (EUR-amount rendered as USD), which leaves $20 unreconciled.

Suggested fix

When a USD Bank Account is selected in the Bank Reconciliation Tool Beta, and the voucher is also in USD, it should show the outstanding amount in USD.