When you get the message "Arithmetic operation resulted in an overflow" in the invoice log, it's because the invoice fulfills the following criteria:
- The flow proposal has the box Manager role checked
- There is no role in the flow that has enough authorization amount to final sign the invoice
- There is no manager role on any role in the chain that build the flow, that has enough authorization amount to final sign the invoice
When you get this message in the invoice log, you need to check the flow proposal. Go through the roles in the flow and make sure that there are manager roles set on each role, and that at least one role in the chain has a general authorization amount high enough to sign the invoice in question.
If you feel uncertain about how the Manager role function works, we suggest you read up on it in the user guide.