500 error when sending invoices (Fixed)

Our technical experts have been able to apply fixes to resolve the issue with sending invoices.