Repository navigation
[Expert Review] Tax & Currency: Can two correct calculations produce different results? #37
willgittens
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Two systems calculate tax on the same invoice. Both use the same percentage. Both use decimal arithmetic. Yet the totals differ.
One system rounds each invoice line. The other rounds only the total.
Which result is correct?
In financial software, calculation correctness depends on more than arithmetic. It also depends on applicable policies, rounding boundaries, currency rules, calculation context and sometimes jurisdiction-specific requirements.
FinKore already defines exact monetary behavior and explicit rounding. We want expert guidance on the financial meaning surrounding those calculations.
Questions for tax and financial-calculation specialists
What we want to learn
We want to understand the limits of generic monetary calculation primitives and whether future FinKore specifications should introduce tax-calculation context, exchange-rate metadata or other financial concepts.
We do not want to embed national tax rates or jurisdiction-specific rules into the universal Core.
Have you encountered two systems producing different amounts from the same financial inputs? What caused the discrepancy?
All reactions