You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is a row for "Lateinamerika und Karibik (USD)", the wrong exchange rate is used for "Nord- und Südamerika (USD)".
You already handle that USD can appear twice in currency data, but in fact it can occur three times when there were sales in Latin America and the Caribbean.
This code would need to be changed to account for this:
if currencyCol.lowercased().contains(localization.lowercased()){
currency ="USD - RoW"
}
}
}
Here are three example lines from a German currency data .csv file:
"Rest der Welt (USD)","3","26.37","26.37","0","0","0","26.37","0.92074","24.28","EUR",
"Lateinamerika und Karibik (USD)","2","19.53","19.53","0","0","0","19.53","0.92063","17.98","EUR",
"Nord- und Südamerika (USD)","253","2381.72","2381.72","0","0","0","2381.72","0.92080","2193.09","EUR",
In this case I had USD sales in Dominican Republic (DO) and Nicaragua (NI).
When importing this file, the exchange rate 0.92063 is used for Apple Inc. sales instead of the 0.92080 exchange rate, resulting in wrong invoice totals for US sales.
Thanks for the great tool!
The text was updated successfully, but these errors were encountered:
When there is a row for "Lateinamerika und Karibik (USD)", the wrong exchange rate is used for "Nord- und Südamerika (USD)".
You already handle that USD can appear twice in currency data, but in fact it can occur three times when there were sales in Latin America and the Caribbean.
This code would need to be changed to account for this:
plutus-financial-slicer/Sources/PlutusFinancialReportSlicer/PlutusFinancialReportSlicer.swift
Lines 81 to 92 in b2eb5a8
Here are three example lines from a German currency data .csv file:
In this case I had USD sales in Dominican Republic (DO) and Nicaragua (NI).
When importing this file, the exchange rate 0.92063 is used for Apple Inc. sales instead of the 0.92080 exchange rate, resulting in wrong invoice totals for US sales.
Thanks for the great tool!
The text was updated successfully, but these errors were encountered: