Why are duplicate accounting events generated in the subledger?

If you’ve implemented custom accounting rules, you need to verify your implementation to avoid generation of duplicate accounting events.