NetSuite RESTlet output pdf
<p><a href="https://stackoverflow.com/questions/36154650/netsuite-restlet-pdf-file-encoding-issue">NetSuite Restlet PDF file encoding issue</a></p>

<p>The above thread seems to be giving a solution to outputing a pdf with a NetSuite RESTlet. As far as I know, you cannot output a pdf from a restlet, so I'm very confused. I am using a restlet to generate a report and the information ultimately needs to output to a pdf so I was trying to see if there was a work around. I tried the answer code from the above thread and I got the expected error:"error code: INVALID_RETURN_DATA_FORMAT error message:Invalid data format. You should return TEXT." </p>

<p>Am I missing something? Is there a way to export xml to a pdf with a NetSuite RESTlet?</p>