const attach = new SimpleAttachmentService();
attach.setUsername('john.doe'); // Put up a real username before using this method.
attach.setPassword('123456'); // Put up a real password before using this method.
const docID = ss.getDocIdByIds('155931135900000084', '155931135900000001');
const attachId = attach.createAttachmentByUrl('http://simple.instance.com/v1/attachments/download/159229954513242397', docID, 'test.sop');