BMS API : Error 500 when calling get attachments from invoice