By default, Odoo gives you option to choose only one account at payment for write off the remaining or balance amount.
This app facilitate the user to write off the amount in to multiple accounts at customer / supplier payment.
This gives option to user whether to write off into a single account or multiple account.
If it is into single account, then the whole balance will go to single account. If it is into multiple account. User can select multiple accounts as well as they can input the percentage of amount into different accounts.
When you confirm / Validate the payment, system will check that the payment difference amount and sum of write off amounts are equal or not. If not, it will not allow you to complete the payment and it gives you the warning.
This app will be very useful especially if we want to apply withholding tax in to different accounts.
Once you complete the validation of payment, related accounting entries also will be generated.
Write off in to multiple accounts at Register payment (Advanced Version)