Version: eXtendPS-DE 1.2.8 and above
Audience: Administrator, User
Overview
The Invoice JSON View feature allows you to view incoming PromoStandards invoice responses in JSON format. This tool helps you analyze the data available from PromoStandards and determine whether it needs to be mapped to your NetSuite Vendor Bill during creation.
Configuration
Follow these steps to enable the Invoice JSON View feature in your NetSuite environment:
Script Deployment Setup
To enable the Invoice JSON View feature, add a new "eXtendPS-DE Suitelet" script deployment.
- From an Administrator role, go to Customization → Scripting → Scripts and locate the "eXtendPS-DE Suitelet" Suitelet
- If an existing script deployment for eXtendPS-DE Invoice JSON has not been created, create a new script deployment with these settings:
- Name: eXtendPS-DE Invoice JSON
- Script ID: _extend_psde_invoice_search
- Note: NetSuite will automatically prefix "customdeploy" to the script ID
- Set the "Deployment Type" script parameter as
getinvoice
Center Link Configuration
- Add the center link from the links subtab of the script deployment from the previous section. For detailed instructions on creating eXtendPS-DE center links, refer to the eXtendPS-DE Center Links Creation Guide.
Usage
Once configured, you can access and use the Invoice JSON View feature:
- Navigate to eXtendTech → eXtendPS-DE → Invoice JSON
- Enter a Reference Number in the search field. This can be either a Purchase Order number or a vendor Invoice number
- If the specified reference number exists in your NetSuite account, the Vendor and Order Type fields will automatically be populated
- Click Submit to generate the invoice response in JSON format

Frequently Asked Questions (FAQs)
Q: What types of reference numbers can I search for?
A: You can search using either your Purchase Order number or the vendor's Invoice number
Q: Why would I need to view the JSON response?
A: Viewing the JSON response helps you understand the data structure coming from PromoStandards, which is useful for troubleshooting or when setting up custom field mappings to your NetSuite Vendor Bills.