Comment by girvo
Just to add to this, having also implemented a production payment system, we did the same thing. One needs to be very explicit about the scale and how it should be rounded and dealt with, and how to operate on two different scale systems. Quite a fun challenge, though I do not miss the edge cases.
Our system was a payment system for childcare management software, interfacing with banks and the government directly.
I'm curious – what edge cases did you find?