I can only offer you 2 options:
1. either set up the correct registration of the obligations of the action and, accordingly, carry out payments / warehouse operations
2. either at the end add virtual payments for the difference in obligations (somehow it is possible to calculate and add a payment by actions)
If you can't set it up on your own as you need - I recommend that you contact the integrators for the need to configure the PSU for your workflow
https://crm-onebox.com/en/partner/search/?tags[]=%D0%A1 %D0%B8%D1%81%D1%82%D0%B5%D0%BC%D0%BD%D1%8B%D0%B9%20%D0%B8%D0%BD%D1%82%D0%B5 %D0%B3%D1%80%D0%B0%D1%82%D0%BE%D1%80%20OneBox