# Add PDF generation Restlet code to Netsuite

Download the below Restlet code (Right click -> Save link as->Extract the .js file from the zip file) and follow the steps given below.&#x20;

The Restlet code allows Invoice PDFs to be shared with customers through PDF download links on the application.

{% embed url="<https://www.payorcrm.com/wp-content/uploads/2024/06/getInvoicePdf.zip>" %}

<figure><img src="https://3374705038-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LNdJcNMhJqomLNd_IiQ%2Fuploads%2FVNPxODK21KBi4bkrZwGg%2FSteps%20to%20add%20restlet%20code.png?alt=media&#x26;token=13f73876-10d5-4542-9d3e-646d06c16b43" alt=""><figcaption></figcaption></figure>
