> 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="/files/brWegaoGYxqoBxeqmvN1" alt=""><figcaption></figcaption></figure>
