getRemainingFreeUsage() Syntax in SuiteScript 2.1

Syntax for the N/documentCapture member in SuiteScript 2.1, with Oracle’s note on sample context and full script examples.

·2 min read·View Oracle Docs

documentCapture.getRemainingFreeUsage() is documented for SuiteScript 2.1 as a member call on documentCapture. Oracle presents only its syntax, not a functional implementation. The call uses empty parentheses and assigns the call expression to usage; consult the linked module sample collection when a complete script context is needed.

What syntax does Oracle show?

Oracle identifies the following snippet as the syntax for this member:

suitescript
1// Add additional code
2...
3
4const usage = documentCapture.getRemainingFreeUsage();
5
6...
7// Add additional code

The documented call is documentCapture.getRemainingFreeUsage(). In the displayed syntax, the call expression is assigned to a constant named usage.

The surrounding comments and ellipses are part of a syntax sample, not a complete implementation. Oracle explicitly notes that this sample is not functional. It should therefore be treated as the member-call form to place within additional script code, rather than as a standalone script.

Which SuiteScript context applies?

Oracle states that the associated N/documentCapture material pertains to SuiteScript 2.1. Keep that scope attached to this syntax reference: the source does not provide a separate version-specific variation of the call.

The source also identifies the material as covering features of the N/documentCapture module. It does not document setup steps, a return type, arguments beyond the empty parentheses shown, or a complete execution flow for this member.

Where can you find complete script examples?

For complete examples, Oracle directs readers to N/documentCapture Module Script Samples. That collection identifies these sample topics:

  • Extract Text from a PDF File
  • Extract Feature Content from a Document Synchronously
  • Extract Content from a Document Asynchronously

Use those samples for broader module context. The member syntax page itself supplies the call form only.

Who This Affects

  • SuiteScript 2.1 readers working with the documented N/documentCapture module
  • Developers who need the exact member-call syntax before reviewing a full module sample
  • Teams maintaining script references that distinguish syntax snippets from functional examples

How does this fit with related reading?

The following related articles remain available for site navigation:

  • llm.getRemainingUsage() Syntax in SuiteScript 2026.2
  • NetSuite Record Syntax for SuiteScript 2.x Operations
  • Search Column Syntax for SuiteScript 2.x in NetSuite
  • N/http Module Syntax for SuiteScript Redirects

Key Takeaways

  • Oracle documents documentCapture.getRemainingFreeUsage() for SuiteScript 2.1.
  • The shown syntax assigns the call expression to usage.
  • Oracle labels the snippet as syntax, not a functional example.
  • Oracle links to N/documentCapture module script samples for complete script examples.

Frequently Asked Questions (4)

Does the documented documentCapture.getRemainingFreeUsage() call apply to SuiteScript 2.0 or only SuiteScript 2.1?
Oracle identifies the material as pertaining to SuiteScript 2.1 and attaches that scope to this syntax reference. The source does not provide a separate version-specific variation of the call for other SuiteScript versions.
Do I need to pass any arguments when calling documentCapture.getRemainingFreeUsage(), and is a return type documented?
The documented call is shown with empty parentheses—documentCapture.getRemainingFreeUsage()—so no arguments are indicated in the syntax sample. Oracle’s page does not document a return type for this member.
Can I use the shown snippet as a complete, functional script?
No; Oracle explicitly labels the surrounding comments and ellipses as part of a syntax sample and states the sample is not functional. Treat the snippet as the member-call form to place inside additional script code rather than as a standalone script.
Where can I find full script examples that show this member used in context?
Oracle directs readers to the N/documentCapture Module Script Samples page for complete examples. That collection includes samples such as Extract Text from a PDF File, Extract Feature Content from a Document Synchronously, and Extract Content from a Document Asynchronously.
Source: Syntax Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in AI

View all AI articles →