List index out of range
Syncing expenses as bills will throw this error in cases when ConnectWise PSA version is below 2020.1.
This happens due to the bug in the ConnectWise PSA REST API that doesn't provide proper expense details.
There's no workaround for this issue. Please upgrade ConnectWise PSA to the latest version.
We've updated the code to print a more informative error message similar to
"Error: The required field expense bills.detail.id is not found. This expense is not supported. This can be caused by an API bug in ConnectWise PSA versions before 2020.1. If you're using an older version of ConnectWise PSA, please upgrade."