The XML file will return the Original file content while using the fileObj.getContents(). XBRL files often come in Base64 encoding, and it’s common to convert them to UTF-8 for further processing. let fileObj = file.load({ id: File_Internal_ID }); let fileContents = fileObj.getContents(); // convert data from Base64 to UTF_8 fileContents = encode.convert({ string: fileContents, inputEncoding:… Continue reading Fetching File Content for the XBRL (Other Binary File Type) using SuiteScript