NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Vendor → Transform to vendorPayment

AI-generated

Summary

Transform a Vendor record into a vendor payment in NetSuite by specifying the vendor's internal ID and optional payment details.

Inputs

  • id (required) — Internal identifier of the vendor to transform.
  • isDebugMode — Whether to include full request and response info in the output.
  • authMethod — Authentication method to use, OAuth1 or OAuth2.
  • additionalFields — Optional fields to specify vendor payment details such as account, amount, currency, date, memo, and other transaction properties.

Output shape

a single record containing the response of the vendor payment creation request, optionally including full debug information if Debug Mode is enabled.

The operation performs a POST transformation on the vendor resource to vendorPayment. The response includes details of the created vendor payment. If Debug Mode is enabled, request and response details are included in the output. The operation requires the vendor's internal ID and accepts numerous optional fields for the payment. Supports synchronous and asynchronous execution via the Prefer header.

Examples

Example 1: Transform vendor with ID 123 into a vendor payment specifying an amount and memo.

Set 'id' to 123 and 'additionalFields' with total amount and memo text.

Links

Discussion