NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Cash Sale → Transform to cashRefund

AI-generated

Summary

Convert a Cash Sale into a Cash Refund in NetSuite via the REST API, returning the new refund record.

Inputs

  • id (required) — Internal identifier of the Cash Sale to transform.
  • isDebugMode — If enabled, the node returns the full request and response payload for debugging.

Output shape

a single cash refund record matching the NetSuite Cash Refund API response; when Debug Mode is enabled, the output also contains the raw request and response objects under an additional "debug" property.

The response includes all standard Cash Refund fields such as tranId, total, line items, etc. If "isDebugMode" is true, the details of the HTTP request and response are wrapped in the output to aid troubleshooting.

Examples

Example 1: Create a refund from a specific cash sale

Set the Cash Sale ID to 12345 and optionally enable Debug Mode to inspect the API interaction.

Discussion