NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Vendor Return Authorization → Transform to vendorCredit

AI-generated

Summary

Transform a Vendor Return Authorization record into a Vendor Credit in NetSuite by specifying the internal ID of the Vendor Return Authorization and optionally providing additional fields to customize the Vendor Credit.

Inputs

  • Id (required) — The internal identifier of the Vendor Return Authorization record to transform.
  • Debug Mode — Toggle to include full request and response details in the output for debugging purposes.
  • Additional Fields — Optional fields to customize the Vendor Credit output, including account details, amounts, dates, billing address, entity, currency, items, expenses, and other financial and metadata fields supported by NetSuite.

Output shape

A single JSON object representing the created Vendor Credit record, including its properties and any NetSuite response data.

The output optionally includes detailed request and response info if Debug Mode is enabled. The operation requires a valid internal ID and supports asynchronous execution preferences and idempotency keys via additional fields.

Examples

Example 1: Basic transformation

Provide the internal identifier (Id) of the Vendor Return Authorization to transform it directly into a Vendor Credit.

Example 2: Transformation with custom fields

Supply Id along with Additional Fields such as memo, date, currency, or item lines to customize the resulting Vendor Credit record.

Discussion