NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Vendor Bill → Transform to vendorReturnAuthorization

AI-generated

Summary

Transform a Vendor Bill record into a Vendor Return Authorization in NetSuite by specifying the Vendor Bill's internal ID and optional additional fields for the new record.

Inputs

  • id (required) — Internal identifier of the Vendor Bill to transform.
  • isDebugMode — Include full request and response details in the output when enabled.
  • additionalFields — Optional additional parameters to customize the Vendor Return Authorization such as billing address, class, currency, subsidiary, memo, transaction date, items, and other header or sublist fields.

Output shape

a single record representing the created or transformed Vendor Return Authorization

The output includes the newly created Vendor Return Authorization record data. When 'Debug Mode' is enabled, the output also contains detailed request and response information for debugging. This operation requires the internal ID of the source Vendor Bill and allows optional field overrides, including nested collections for detailed customization.

Examples

Example 1: Transform a Vendor Bill with ID 123 into a Vendor Return Authorization applying specific additional billing address and memo.

Provide 'id' as 123 and set relevant fields under 'additionalFields' to override or specify details for the Vendor Return Authorization.

Discussion