NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Credit Memo → Get record

AI-generated

Summary

Retrieve a single Credit Memo record from NetSuite by its internal id and optionally request specific fields or expand sublists.

Inputs

  • id (required) — Internal identifier of the Credit Memo to fetch.
  • isDebugMode — When true, include full request and response details in the output.
  • additionalFields — Optional collection of parameters controlling the response shape:
  • expandSubResources: set to true to automatically include all sublists, sublist lines, and subrecords.
  • fields: comma‑separated list of field or sublist names to return.
  • Prefer: choose "respond‑async" to execute the request asynchronously.
  • simpleEnumFormat: return enumeration values using only their internal ID.
  • X‑NetSuite‑Idempotency‑Key: provide a UUID for idempotent asynchronous requests.

Output shape

a single Credit Memo record (JSON) optionally accompanied by debug information

If isDebugMode is true, the node adds a debug property to the output item containing the full request and response metadata. Subresources are omitted unless expandSubResources is true or the relevant sublists are listed in fields.

Examples

Example 1: Fetch Credit Memo 567890 for audit

Set id to 567890, all other fields left at defaults.

Example 2: Retrieve a Credit Memo with all sublists expanded

Set id to 12345, enable Expand Sub Resources in Additional Fields.

Example 3: Get specific fields only

Set id to 98765, in Additional Fields set Fields to "entity,trandate,total".

Discussion