NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Cash Refund → Insert record

AI-generated

Summary

Create a new Cash Refund record in NetSuite with specified details and line items.

Inputs

  • Entity — The internal or external identifier of the customer receiving the refund. This is typically a required field in NetSuite.
  • Account — The internal or external identifier of the account to which the refund is posted. This is typically a required field in NetSuite.
  • Item — A list of items for which the refund is issued, including details such as quantity, rate, amount, and associated class, department, or location.
  • Tran Date — The posting date of the cash refund. Defaults to today's date in NetSuite.
  • Currency — The internal or external identifier of the currency for the transaction.
  • Memo — A descriptive memo for the cash refund, appearing on reports.
  • External ID — A unique identifier for the cash refund record used for external tracking.
  • Create Check — Set to true to issue the refund as a check. Clear to issue a cash or credit card refund.
  • Custom Form — The internal identifier or reference name of a custom form to apply to this transaction.
  • Custom Fields — A collection of user-defined custom fields for the cash refund record, allowing you to specify field name, type, and value.
  • Additional Fields — Access other properties of the cash refund record, such as billing and shipping addresses, payment details, sales representative, department, class, and more. Most reference fields allow identification by internal or external ID.

Output shape

A single record representing the newly created NetSuite Cash Refund.

The output includes the NetSuite-assigned internal ID and other properties of the created record. If 'Debug Mode' is enabled, the output will also include full request and response information.

Examples

Example 1: Issue a cash refund to a customer for a specific amount, recorded in USD.

Set 'Entity' with the customer's ID, 'Account' with the refund account's ID, 'Currency' to 'USD', and provide the total 'Amount' for the refund.

Example 2: Create a cash refund with specific items, a memo, and mark it for printing as a check.

Specify 'Entity' and 'Account' IDs, add multiple 'Item' entries with quantities and rates, enter a 'Memo', set 'Create Check' to true, and enable 'To Be Printed'.

Example 3: Record a cash refund for a specific customer using an external reference.

Provide the 'Entity' ID, 'Account' ID, and set the 'External ID' for cross-referencing with an external system.

Discussion