NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Intercompany Journal Entry → Get record

AI-generated

Summary

Retrieve a single Intercompany Journal Entry record from NetSuite by its internal ID, optionally expanding sub-resources, selecting specific fields, or performing the request asynchronously and including debug info.

Inputs

  • id (required) — Internal identifier of the Intercompany Journal Entry to fetch.
  • isDebugMode — If true, the node outputs full HTTP request and response details alongside the record data.
  • additionalFields — Collection of optional parameters:
  • expandSubResources (boolean): Expand all sublists, lines and subrecords.
  • fields (string): Comma‑separated list of field names to return.
  • Prefer (options): Set to "respond-async" to execute the request asynchronously.
  • simpleEnumFormat (boolean): Return enumeration values as internal IDs only.
  • X-NetSuite-Idempotency-Key (string): Unique key for asynchronous requests to ensure idempotency.

Output shape

A single Intercompany Journal Entry record (JSON). When Debug Mode is enabled, debug information is added to the output object.

If the Prefer header is set to "respond-async", the service returns a 202 status and a location URL for polling. The node will supply the async response once complete, still wrapping the record data.

Examples

Example 1: Fetch Journal Entry #123 with full debug info

Id: 123
isDebugMode: true
additionalFields: {fields: "tranDate,account,amount"}

Example 2: Retrieve Journal Entry #456 with all sub‑resources expanded

Id: 456
additionalFields: {expandSubResources: true}

Example 3: Execute request asynchronously for Journal Entry #789

Id: 789
additionalFields: {Prefer: "respond-async", X-NetSuite-Idempotency-Key: "123e4567-e89b-12d3-a456-426614174000"}

Discussion