Invoice PDF
Works with the Invoice PDF.
Base URL
https://{{accountid}}.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=customscript_prac_api_invoicepdf&deploy=customdeploy_prac_api_invoicepdf_v1
HTTP: GET
Gets the PDF Invoice for a given invoice internal ID.
Required Parameters
| Name | Value | Notes |
|---|---|---|
| script | customscript_prac_api_invoicepdf | |
| deploy | customdeploy_prac_api_invoicepdf_v1 | |
| custparam_id | {{integer}} | The internal id of the invoice you are retrieving. |
Response Information
IMPORTANT: Response content-type returned is 'text/plain' and contains a Base64 encoded string. The consumer/client must convert the Base64 back to Binary.
BONUS: Decoding the Base64 Response
Please reach out to us and we can assist with this.