This involves
- establishing how it settles
- figuring out how to get the settlement total
- updating our reconciliation / audit code to process this and to add settlement data
- eliminating all the edge cases
With regards 1 & 2 - this has always been challenging with dlocal because they amount they tote up the transactions rounded to 6 decimal places and only round it after adding them all together. Obviously we round every individual transaction and then the 2 don't add up. Currently I'm creating a rounding transaction as a 'fee' but will confirm if Finance would rather give it a gl code