NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Invoice → Transform to returnAuthorization

AI-generated

Summary

Transform an existing Invoice into a Return Authorization in NetSuite by sending a POST request to the endpoint /invoice/{id}/!transform/returnAuthorization.

Inputs

  • id (required) — The internal identifier of the Invoice to transform.
  • authMethod — Authentication method used, either OAuth1 or OAuth2; defaults to OAuth1.
  • isDebugMode — Whether to include full request and response information in the output; defaults to false.
  • additionalFields — Optional fields to customize the Return Authorization, such as billing/shipping address, items, currency, subsidiary, status, payment details, and other invoice properties.

Output shape

a single record representing the created Return Authorization or details of the transform operation.

Output may include detailed request and response information if Debug Mode is enabled. The operation is synchronous and returns the transform result directly from the NetSuite REST API.

Examples

Example 1: Transform an Invoice with internal ID 123 into a Return Authorization using OAuth2 with specific billing address and memo.

Set 'id' to 123, 'authMethod' to 'oauth2', and provide desired 'additionalFields' such as billingAddress and memo.

Links

Discussion