SuiteScript 2.x AI APIs for Document Processing in NetSuite

Updated for NetSuite 2026.1 with SuiteScript 2.x AI APIs enhancing document processing and automation.

·3 min read·NetSuite 2026.1·View Oracle Docs

TL;DR Opening

Starting in NetSuite 2026.1, new SuiteScript 2.x AI APIs are introduced, enabling powerful artificial intelligence capabilities within the NetSuite platform. These APIs enhance document processing, allow for interactions with large language models (LLMs), and provide translation services, all aimed at streamlining business workflows and improving efficiency. The content in this help topic pertains to SuiteScript 2.1.

What's New in SuiteScript 2.x AI APIs

The SuiteScript 2.x AI APIs provide developers and administrators with tools to integrate artificial intelligence into their NetSuite environment. Leveraging Oracle Cloud Infrastructure (OCI) services, these APIs simplify complex processes, enhance productivity, and automate functions that traditionally required manual inputs.

Key Features

  1. N/documentCapture Module

    • The N/documentCapture module provides access to document extraction capabilities in scripts. This module lets you extract structured content and key information from a variety of document types (such as invoices, receipts, contracts, and so on) in PDF, TIFF, PNG, or JPG format. It can process formats like PDF, TIFF, PNG, and JPG.
    • OCI Service Used: Document Understanding
    • Benefits:
      • Reduces manual data entry
      • Enhances document processing workflows
      • Supports both synchronous and asynchronous document requests
  2. N/llm Module

    • The N/llm module provides access to large language model (LLM) capabilities in scripts. This module lets you generate text, summarize content, and extract information using AI-driven models directly from your SuiteScript code.
    • OCI Service Used: Generative AI
    • How It Helps:
      • Automates and enhances data analysis and interactions
      • Facilitates integration with existing SuiteScript workflows
  3. N/machineTranslation Module

    • The N/machineTranslation module provides access to translation services in scripts. This module lets you translate text between supported languages, helping you work more effectively with multilingual content, localize business data, and improve user experiences for a global audience.
    • OCI Service Used: Language
    • Advantages:
      • Improves effectiveness in multilingual environments
      • Supports various localization needs

Real-World Applications

  • Automating Invoice Processing: The N/documentCapture module can dramatically reduce the time spent on data entry by extracting information directly from invoices, which can then be automatically entered into financial systems.
  • Content Localization: Businesses operating internationally can leverage the N/machineTranslation module to localize marketing materials quickly, ensuring they're effective in diverse markets.
  • Data Analysis and Report Generation: With the N/llm module, users can generate detailed reports and summaries from raw data, saving valuable time in data analysis tasks.

Who This Affects

  • Developers: Those creating scripts utilizing SuiteScript for this AI functionality will see significant enhancements in capabilities.
  • Administrators: Administrators can implement these APIs to improve workflow efficiency across the platform.
  • Finance Teams: Teams handling document processing will benefit from automation in extracting and entering data.
  • Multinational Businesses: Companies requiring multilingual capabilities will find the translation API invaluable.

Key Takeaways

  • The new SuiteScript 2.x AI APIs introduced in NetSuite 2026.1 provide significant AI functionalities.
  • N/documentCapture automates document extraction, enhancing workflow efficiency.
  • N/llm facilitates text generation and analysis, improving data processing tasks.
  • N/machineTranslation enables effective localization, essential for global operations.
  • These APIs collectively enhance business processes, driving higher productivity and reducing manual efforts.

Version History

  • 2026.1: Introduction of SuiteScript 2.x AI APIs for Document Processing, including N/documentCapture, N/llm, and N/machineTranslation modules.

--- Context from https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_5101751849.html ---
You may have questions about how NetSuite features use artificial intelligence (AI). AI is computer software that simulates how humans think and reason. Machine Learning (ML) lets computer systems learn and improve from experience, without explicit programming.

Note:
Oracle NetSuite is continuously developing features and enhancements powered by AI. As we add more AI features into NetSuite, you can learn more about them in What's New in NetSuite AI. You can read more about AI features in the NetSuite Help Center, in SuiteAnswers, and in the Oracle Help Center.

You can also take the free AI in NetSuite learning path to learn about artificial intelligence (AI) features in NetSuite and how to use them.

Frequently Asked Questions (4)

Are there specific file formats that the N/documentCapture module can process?
Yes, the N/documentCapture module can process PDF, TIFF, PNG, and JPG file formats.
What Oracle Cloud Infrastructure service does the N/llm module use?
The N/llm module uses the Generative AI service from Oracle Cloud Infrastructure.
Can the N/machineTranslation module handle multiple languages for localization?
Yes, the N/machineTranslation module supports multiple languages, enhancing localization for global audiences.
Is it possible to use the N/documentCapture module for both synchronous and asynchronous processing?
Yes, the N/documentCapture module supports both synchronous and asynchronous document processing requests.

Weekly Update History (2)

SuiteScriptupdated

Updated SuiteScript 2.x AI APIs to include the N/documentCapture module.

View Oracle Docs
SuiteScriptadded

Added a new topic, SuiteScript 2.x AI APIs, to the SuiteScript 2.x area. This topic lists the SuiteScript modules that use AI features and related OCI services.

View Oracle Docs
Source: SuiteScript 2.x AI APIs Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?