SuiteScript
This release note was updated December 15, 2025.
Refer to the following sections for details on SuiteScript updates for NetSuite 2025.2:
-
SuiteScript Generative AI APIs Now Available in EU and for All System-supported Languages
-
New Preference to Remove Client Script Deployment Limit per Record
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.
SuiteScript Generative AI APIs Now Available in EU and for All System-supported Languages
SuiteScript Generative AI APIs (N/llm module) are now available to users in the European Union (EU) and fully support all NetSuite system-supported languages. This update enables developers to implement generative AI-driven solutions more widely, improving automation and localization capabilities.
To use the N/llm module, confirm that Server SuiteScript is enabled under Setup > Company > Setup Tasks > Enable Features and that developers have permissions for SuiteScript.
Developers can now build and deploy generative AI scripts for use across all supported regions and languages, removing previous localization and regulatory barriers. Review custom scripts to ensure compatibility with broader language and region support, and update any redundant localization routines.
For more information, see N/llm Module, SuiteScript 2.x Generative AI APIs, and Generative AI Availability in NetSuite.
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.
New Preference to Use LIST for SFTP File Uploads
A new preference named SFTP: Use LIST to Test That a File Exists is now available on the General Preferences page. Set this preference only when uploading to SFTP servers that don’t support the default STAT command and trigger false FILE_ALREADY_EXISTS errors.
When the SFTP: Use LIST to Test That a File Exists box is checked, the N/sftp module switches its file-existence check from STAT to LIST. With this setting, N/sftp uploads run without FILE_ALREADY_EXISTS interruptions. The change eliminates the duplicate-file error but doesn’t affect performance.
You need the Set Up Company permission to set this preference.
For details, see Setting General Transaction Preferences.