OCI Credentials for Expanded DocumentCapture Usage in NetSuite

Starting in NetSuite 2026.1, OCI credentials allow expanded usage for documentCapture, ensuring uninterrupted access to document processing services.

·3 min read·NetSuite 2026.1·View Oracle Docs

TL;DR Opening

Starting in NetSuite 2026.1, users can now utilize Oracle Cloud Infrastructure (OCI) credentials to expand their monthly usage pool for the documentCapture module. This enhancement is crucial for organizations needing to process a high volume of documents without exhausting their free limit.

What's New

NetSuite has introduced functionality that allows customers to leverage OCI credentials, which can significantly increase their document processing capacity. Calls made to documentCapture.documentToStructure(options) consume requests from the free monthly pool, but obtaining additional usage via OCI credentials can mitigate limitations when processing documents. This feature is vital for businesses operating in data-intensive environments.

Monthly Usage Pools

  • Free Usage Pool: Each NetSuite account automatically receives a monthly quota for documentCapture requests, which is renewed each month. Tracking this usage can be done on the AI Preferences page in NetSuite.
  • SuiteApp Usage Pools: Each SuiteApp installed on an account has its own distinct monthly usage pool for documentCapture methods. This separation means that the usage of SuiteApps does not interfere with the quota available for regular scripts. For example:
    • If you install multiple SuiteApps, each can independently draw from its usage pool.

Utilizing OCI Credentials

Organizations can configure their OCI accounts to enhance the documentCapture functionality by providing OCI credentials, which shifts usage from the NetSuite free pool to the OCI account. There are two main ways to configure OCI credentials:

  1. AI Preferences Page: You can set up OCI credentials directly within the AI Preferences section in NetSuite.
  2. Options Parameter: Including the options.ociConfig parameter when calling documentCapture.documentToStructure(options) will override any existing configurations set in the AI Preferences.

Synchronous vs. Asynchronous Requests

  • Synchronous Requests: For standard usage, you need to provide basic OCI configuration parameters:
docTask.ociConfig = {
    userId: 'user-ocid',
    tenancyId: 'user-tenancy',
    compartmentId: 'user-compartment',
    fingerprint: 'custsecret_secret_fingerprint_id',
    privateKey: 'custsecret_secret_privatekey_id'
};
  • Asynchronous Requests: For document capture tasks that require asynchronous processing, additional fields must be provided:
docTask.ociConfig = {
    objectStorageNamespace: 'oraclenetsuite',
    outputBucketName: 'in-bucket-name',
    inputBucketName: 'out-bucket-name'
};

Usage Management

To manage and view your usage:

  • Navigate to Setup > Company > AI > AI Preferences.
  • In the AI Preferences page, click the SuiteScript subtab to find details regarding the monthly limits and your current usage status.

Who This Affects

This change impacts:

  • Administrators: Who configure AI preferences and monitor usage.
  • Developers: Creating and managing integration with document capture capabilities.
  • IT Teams: Implementing OCI credential configurations for streamlined document processing.

Key Takeaways

  • OCI credentials can be used to augment monthly usage for the documentCapture module since NetSuite 2026.1.
  • Each SuiteApp operates with its own independent usage pool for documentCapture requests.
  • Adjustments to OCI parameters can be done either through the AI Preferences page or by directly embedding them in your scripting calls.
  • Users can monitor their remaining free usage directly in NetSuite, ensuring they stay within their allocated limits.

Frequently Asked Questions (4)

How do I configure OCI credentials to expand documentCapture usage in NetSuite?
OCI credentials can be configured on the AI Preferences page in NetSuite or by including the 'options.ociConfig' parameter when calling 'documentCapture.documentToStructure(options)'. This allows you to shift the usage from the free pool to the OCI account.
What happens if a SuiteApp's usage pool is exhausted?
Each SuiteApp has its own independent usage pool for documentCapture requests. The exhaustion of one SuiteApp's pool does not affect the usage of other SuiteApps or the main account's free usage pool.
Is there a way to monitor my documentCapture usage in NetSuite?
Yes, you can monitor your documentCapture usage by navigating to Setup > Company > AI > AI Preferences and checking the SuiteScript subtab. This provides details on monthly limits and current usage.
What OCI configuration parameters are needed for synchronous requests?
For synchronous requests, you need to provide OCI configuration parameters like 'userId', 'tenancyId', 'compartmentId', 'fingerprint', and 'privateKey' within your script.

Weekly Update History (1)

SuiteScriptadded

Added a new section, Using OCI Credentials to Obtain Additional Usage, to the N/llm Module topic. This section describes the free monthly usage pool for N/llm requests and how to obtain additional usage by providing Oracle Cloud Infrastructure (OCI) credentials.

View Oracle Docs
Source: Using OCI Credentials to Obtain Additional Usage Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?