NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Vendor Payment → Insert record

AI-generated

Summary

Create a new Vendor Payment record in NetSuite via the REST API, specifying various optional and custom fields as needed.

Inputs

  • authMethod — Select OAuth1 or OAuth2 authentication method for the request.
  • additionalFields — Specify optional fields for the Vendor Payment record including account, currency, subsidiary, date, memo, status, and detailed sublist data such as accounting book details and applied payments.
  • customFields — Add one or more custom fields to the Vendor Payment record, setting field name, type, and value accordingly.
  • isDebugMode — Enable to include detailed request and response information in the output for troubleshooting.
  • Prefer — Optionally request asynchronous execution of the API call with 'respond-async'.
  • X-NetSuite-Idempotency-Key — Provide a unique idempotency key for asynchronous requests to ensure single execution.
  • X-NetSuite-PropertyNameValidation — Set the strictness level for property name validation: Error, Warning, or Ignore.
  • X-NetSuite-PropertyValueValidation — Set the strictness level for property value validation: Error, Warning, or Ignore.

Output shape

a JSON object representing the created Vendor Payment record as returned by NetSuite REST API, including the record's internal identifiers and any response metadata

If debug mode is enabled, the output includes full API request and response details. The operation supports asynchronous execution when 'Prefer' is set to 'respond-async'. Custom fields require proper field name and type specification. Optional fields and sublists such as applied payments can be included for detailed record creation.

Examples

Example 1: Insert a basic Vendor Payment record with mandatory fields and debug mode enabled

Set authentication method, populate required fields in additionalFields, enable isDebugMode to true

Example 2: Insert a Vendor Payment with custom fields and applied payments

Fill additionalFields with account, currency, and apply items; specify multiple customFields with names and values for the record

Links

Discussion