NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Cash Refund → Transform to creditMemo

AI-generated

Summary

Transform an existing Cash Refund record into a Credit Memo record in NetSuite.

Inputs

  • Id (required) — The internal identifier of the Cash Refund record to transform.
  • Additional Fields — Specify various optional fields for the newly created Credit Memo, such as account details, billing and shipping addresses, line items, and other financial or custom properties.
  • Prefer — Optionally request asynchronous execution of the transformation. Select 'respond-async' for this.
  • X - Net Suite - Idempotency - Key — Provide a unique idempotency key (UUID) to ensure asynchronous requests are executed only once. This is ignored for synchronous requests.
  • X - Net Suite - Property Name Validation — Set the strictness for property name validation in the request payload.
  • X - Net Suite - Property Value Validation — Set the strictness for property value validation in the request payload.
  • Debug Mode — Include full request and response information in the output for debugging purposes.

Output shape

A single record representing the newly created Credit Memo.

If 'Debug Mode' is enabled, the output will also include the full request and response details from the NetSuite API.

Examples

Example 1: Convert a specific Cash Refund into a Credit Memo.

Set 'Id' to the internal ID of the Cash Refund.

Example 2: Create a Credit Memo from a Cash Refund with specific item adjustments.

Set 'Id' to the Cash Refund ID and configure 'Item' under 'Additional Fields' with new quantities or rates for line items.

Discussion