Closed VagyokC4 closed 4 years ago
Hi, I confirm that it was an issue in ported .Net code.
The problem is solved; the fix is available in NLedger/next-dev branch (commit b02e5318); test file is also added (/test/nledger/gh-issues-7.test; it works well for NLedger 0.8 and Ledger 3.2.1).
You can take fixed binaries created by CI build (please, check https://github.com/dmitry-merzlyakov/nledger/blob/next-dev/_CI.BuildLog.md) or just get the latest next-dev sources.
I can confirm the issue has been resolved in NLedger 0.8. Great work! Thank-you!
Hi @dmitry-merzlyakov ,
I found a discrepancy in the equity calculations between Ledger and NLedger.
Using the following test.ledger I am added a 0.5 fee to 4 transactions:
NLedger calculated the fee correctly in the balance sheet, but not in the equity
But original Ledger correctly calculates in both reports.
The above journal is a small example that shows the error, but this number exponentially grows when viewed with a larger ledger file as seen here:
and here:
And one last image that shows the pattern of the mis-calculation (side-by-side):