NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Vendor → Transform to vendorBill

AI-generated

Summary

Send a POST request to transform a specified Vendor record into a Vendor Bill in NetSuite, optionally customizing the bill details using various additional fields.

Inputs

  • id (required) — The internal identifier of the Vendor to be transformed into a Vendor Bill.
  • additionalFields — Optional collection of fields to customize the Vendor Bill such as Account details, Amount, Approval Status, Billing Address, Department, Currency, Date, Discount Amount, Due Date, Entity, Expense items, Item details, Location, Memo, Payment Hold flag, Posting Period, Reference number, Status, Subsidiary, Terms, and others according to NetSuite's vendorBill schema.
  • isDebugMode — Boolean flag to include full request and response details in the output for debugging.
  • authMethod — Select the authentication method, either OAuth1 or OAuth2, to authenticate the request.
  • Prefer — Set the server behavior for asynchronous execution, e.g., 'respond-async'.
  • X-NetSuite-Idempotency-Key — User-defined unique UUID key to ensure idempotency for asynchronous requests.
  • X-NetSuite-PropertyNameValidation — Strictness level for property name validation: Error, Warning, or Ignore.
  • X-NetSuite-PropertyValueValidation — Strictness level for property value validation: Error, Warning, or Ignore.

Output shape

a JSON object representing the created or transformed Vendor Bill record from NetSuite, including any additional debug information if requested.

The result includes the Vendor Bill details as returned by the NetSuite REST API after transforming the Vendor. If 'Debug Mode' is enabled, full request and response information is appended. The operation requires the Vendor's internal ID and optionally accepts many vendorBill-specific fields to customize the bill upon transformation. The request is asynchronous if 'respond-async' is specified in 'Prefer' header.

Examples

Example 1: Transform a Vendor with ID 123 into a Vendor Bill with a specified amount and due date.

Set 'id' to 123, 'userTotal' and 'dueDate' inside additionalFields. Execute operation to create the Vendor Bill in NetSuite.

Links

Discussion