NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Cash Refund → Insert record

AI-generated

Summary

Inserts a new cash refund record in NetSuite using the REST API.

Inputs

  • entity (required) — The customer or vendor associated with the refund (internal or external identifier).
  • tranId — Refund number. If omitted, NetSuite generates the next number in the sequence.
  • tranDate — Date of the refund (defaults to today).
  • total — Total amount of the refund.
  • currency — Currency of the refund (internal or external identifier).
  • subsidiary — Subsidiary for the refund (internal or external identifier).
  • department — Department (internal or external identifier).
  • location — Location (internal or external identifier).
  • class — Class (internal or external identifier).
  • memo — Memo describing the refund.
  • createdFrom — Reference to an existing transaction that this refund is created from (internal or external identifier).
  • isDebugMode — When true, the node output includes the full HTTP request and response details.
  • customFields — Array of custom field objects to set on the cash refund record.

Output shape

The created cash refund record as returned by NetSuite, containing all standard fields (e.g., internalId, tranId, tranDate, total, etc.). If isDebugMode is enabled, an additional request and response object are included showing the HTTP request sent and the raw response received.

The node does not enforce required fields beyond what the NetSuite API expects; you must provide at least the entity and amount-related fields for a valid insert. All other parameters correspond directly to NetSuite Cash Refund fields and are passed through unchanged.

Links

Discussion