NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Sales Order → Transform to cashSale

AI-generated

Summary

Transform a specified Sales Order in NetSuite into a Cash Sale transaction by posting to the REST API with optional additional fields to customize the cash sale.

Inputs

  • Id (required) — The internal identifier of the Sales Order to transform.
  • Debug Mode — Enable to include full request and response information in the output for debugging purposes.
  • Additional Fields — Optional fields to customize the resulting Cash Sale, including billing and shipping addresses, payment details, dates, discounts, subsidiary, currency, and more.

Output shape

a single record representing the created Cash Sale transaction.

The output contains the data returned from the NetSuite REST API after transforming the Sales Order. When Debug Mode is enabled, additional request and response details will be included in the output.

Examples

Example 1: Transform a Sales Order to Cash Sale with minimal input

Provide the Sales Order internal ID and execute the transform without additional customization.

Example 2: Transform a Sales Order to Cash Sale with billing address override and memo

Provide the Sales Order ID and use Additional Fields to specify a custom billing address and a memo describing the Cash Sale.

Discussion