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.
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:
- AI Preferences Page: You can set up OCI credentials directly within the AI Preferences section in NetSuite.
- Options Parameter: Including the
options.ociConfigparameter when callingdocumentCapture.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:
1docTask.ociConfig = {2 userId: 'user-ocid',3 tenancyId: 'user-tenancy',4 compartmentId: 'user-compartment',5 fingerprint: 'custsecret_secret_fingerprint_id',6 privateKey: 'custsecret_secret_privatekey_id'7};- 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?
What happens if a SuiteApp's usage pool is exhausted?
Is there a way to monitor my documentCapture usage in NetSuite?
What OCI configuration parameters are needed for synchronous requests?
Weekly Update History (1)
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 DocsWas this article helpful?
More in SuiteScript
- N/https Module: Binary File Support in NetSuite 2025.2
NetSuite 2026.1 adds binary file support to N/https for streamlined file handling.
- API Governance Units Calculation in NetSuite 2026.1
NetSuite 2026.1 introduces examples illustrating API governance unit calculations for both user event and scheduled scripts.
- Attach and Detach Operations in NetSuite 2026.1
Attach and detach operations for record relationships in NetSuite enhance data management and connectivity.
- Create-Form Operation in NetSuite 2026.1 REST Web Services
Create-form operation in NetSuite 2026.1 APIs streamlines record creation and enhances efficiency.
Also from NetSuite 2026.1
- Custom Labels for Additional Item Prices in NetSuite 2026.1
Custom labels enhance transaction summaries in NetSuite, improving clarity for item prices.
- Applied Trans Date and Period Enhancements in NetSuite 20...
Latest updates in NetSuite 2024.1 enhance Accounting SuiteApps with transaction line distribution features.
- Data Not Copied from Production to Sandbox in NetSuite 2026.1
In NetSuite 2026.1, key data like domains and customer roles are not copied to sandbox accounts during refreshes, impacting setup.
- Available Items Only Feature in NetSuite 2026.1
Available items only filtering boosts sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
Advertising
Reach SuiteScript Professionals
Put your product in front of NetSuite experts who work with SuiteScript every day.
Sponsor This Category