SuiteScript
This release note was updated October 20, 2025.
Refer to the following sections for details on SuiteScript updates for NetSuite 2025.2:
New NetSuite AI Connector Service
Starting August 2025, you can connect your NetSuite account to an external AI client using the NetSuite AI Connector Service. You can use this integration to:
-
Invoke the tools from the AI client using natural language prompts
-
Build AI tools with the custom tool script type
-
Deploy these tools to your NetSuite account using SuiteCloud projects and SDF
You can find sample implementations of custom tools in the MCP-Sample-Tools directory of the SuiteCloud Project Repository on Oracle Samples GitHub.
NetSuite also provides the MCP Standard Tools SuiteApp with a set of tools that let you interact with your NetSuite data. For more information, see MCP Standard Tools.
For more information, see:
NetSuite Developer Resources
We're excited to announce the launch of the NetSuite Developer Resources hub, which helps NetSuite developers extend NetSuite with a range of tools and technologies. To learn more, see Accelerate Your Development with NetSuite Developer Resources.
New N/machineTranslation Module
The N/machineTranslation module lets you translate documents into other languages using SuiteScript. You can provide a set of documents, and the module sends a request to the Oracle Cloud Infrastructure (OCI) Language service and returns the translated documents for you to use in your scripts. For more information about this service, see Language in the OCI documentation.
The module includes the following methods:
-
machineTranslation.translate(options) – Translates a set of documents into the specified language.
-
machineTranslation.createDocument(options) – Creates a document to translate. You can specify the language of the document, or you can let the module detect the language automatically based on the content of the document.
For more information, see N/machineTranslation Module.
New N/documentCapture Module
The N/documentCapture module lets you programmatically extract structured content and key information from a variety of document types (such as invoices, receipts, contracts, and so on) directly within NetSuite. This module uses the AI-driven capabilities of the Oracle Cloud Infrastructure (OCI) Document Understanding service and can automate document processing, reduce manual data entry, and enhance business workflows. For more information about the OCI Document Understanding service, refer to Document Understanding in the OCI Documentation.
You can use this module to extract text from PDF files that are located in the NetSuite File Cabinet. You can also analyze documents and images (in PDF, TIFF, PNG, or JPG format) and extract specific features from them, including tables, fields (as key-value pairs), and text.
The module includes the following main methods:
-
documentCapture.documentToText(options) – Extracts text from a PDF file.
-
documentCapture.documentToStructure(options) – Analyzes a document or an image and extracts the specified features (fields, tables, or text).
This module supports synchronous extraction requests for short documents, as well as asynchronous extraction requests for longer documents by integrating with the N/task module. You can also provide extracted text to methods in the N/llm module to further analyze the content.
For more information, see N/documentCapture Module.
New Type Supported for Signer.update(options) Parameter
The Signer.update(options) method in N/crypto/certificate Module now accepts https.SecureString as value for the options.input parameter. For more information, see Signer.update(options).
2025.2 SuiteScript Record Exposures
|
Record Type |
Newly Exposed or Updated |
Notes |
|---|---|---|
|
Budget Category |
Newly exposed |
The Budget Category record is available when the Multiple Budgets feature is enabled. The Budget Category record is scriptable in both client and server SuiteScript. The Budget Category record is fully scriptable. It can be created, read, updated, deleted, and searched using SuiteScript. |
New Preference to Remove Client Script Deployment Limit per Record
By default, a maximum of 10 client scripts can be deployed per record. Starting in NetSuite 2025.2, administrators can choose to remove this limit by updating the Remove Client Script Deployment Limit per Record preference in Setup > Company > General Preferences.
Before removing the limit, you should review your currently deployed scripts—there may be scripts that are no longer needed. This enhancement provides greater flexibility for organizations that need to deploy additional client scripts, but note that deploying a high number of scripts per record may impact performance.