NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Purchase Order → Transform to vendorBill

AI-generated

Summary

Transform a specified Purchase Order in NetSuite into a Vendor Bill by sending a POST request to the /purchaseOrder/{id}/!transform/vendorBill endpoint, optionally including detailed additional fields and debug information.

Inputs

  • Id (required) — Internal identifier of the Purchase Order to transform.
  • Authentication Method — Choose OAuth1 or OAuth2 for authentication (default is OAuth1).
  • Additional Fields — Optional extra data to include in the Vendor Bill, such as account details, billing address, currency, items, memo, terms, and various other fields that customize the Vendor Bill record.
  • Debug Mode — Enable to include full request and response information in the output for debugging purposes.

Output shape

A single transformed Vendor Bill record representation returned by the NetSuite API after transforming the specified Purchase Order. Includes response data, and optionally detailed debug info if Debug Mode is enabled.

The output corresponds to the NetSuite API response for the vendor bill transformation endpoint. If Debug Mode is true, the output includes detailed HTTP request and response data. The operation requires the Purchase Order internal ID. Additional fields are optional and allow customization of the resulting Vendor Bill. Authentication method defaults to OAuth1 but can be set to OAuth2.

Links

Discussion