> For the complete documentation index, see [llms.txt](https://help.payorcrm.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.payorcrm.com/connecting-to-qb-desktoponline/netsuite/add-pdf-generation-restlet-code-to-netsuite.md).

# 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&amp;token=13f73876-10d5-4542-9d3e-646d06c16b43" alt=""><figcaption></figcaption></figure>
