NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Vendor Return Authorization → Transform to vendorCredit

AI-generated

Summary

Transform an existing Vendor Return Authorization record into a Vendor Credit in NetSuite by specifying the Vendor Return Authorization record's internal Id and optionally setting various Vendor Credit fields.

Inputs

  • Id (required) — Internal identifier of the Vendor Return Authorization record to be transformed.
  • Authentication Method — Method of authentication to use for the API request (OAuth1 or OAuth2).
  • Debug Mode — Whether to include full request and response info in the output.
  • Additional Fields — Optional fields to customize the resulting Vendor Credit such as Account, Amounts, Billing and Shipping Address details, Currency, Class, Department, Entity, Exchange Rate, Items, Location, Memo, Posting Period, Subsidiary, Various dates (transaction, due, created, last modified), and custom preferences controlling how the transformation occurs.

Output shape

a single record

Returns the created Vendor Credit object from NetSuite, including all its properties as returned by the NetSuite REST API. When Debug Mode is enabled, the full request and response details are included. Errors during the transform operation are surfaced in the output.

Examples

Example 1: Transform Vendor Return Authorization with ID 12345 to Vendor Credit using OAuth1 authentication and specifying a memo.

Id=12345, authMethod=oauth1, Additional Fields memo='Returned items'

Example 2: Transform Vendor Return Authorization with ID 67890 to Vendor Credit with debug info and customized billing address.

Id=67890, isDebugMode=true, Additional Fields billingAddress components set to a specific address

Links

Discussion