NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Vendor Bill → Remove record

AI-generated

Summary

Delete a Vendor Bill record in NetSuite by specifying its internal identifier, optionally controlling request execution mode and idempotency.

Inputs

  • Id (required) — The internal identifier of the Vendor Bill record to delete.
  • Debug Mode — Set to true to include full request and response details in the operation output.
  • Additional Fields — Optional parameters including 'Prefer' to request asynchronous execution ('respond-async') and 'X - Net Suite - Idempotency - Key' to provide a UUID for idempotency on asynchronous requests.

Output shape

a single JSON object representing the result of the delete operation

By default the operation returns standard response data; when Debug Mode is enabled, full HTTP request and response information is included. If 'Prefer' is set to 'respond-async', the operation executes asynchronously and includes the preference applied response header. When idempotency key is used with async requests, repeated requests with the same key execute only once.

Examples

Example 1: Delete a Vendor Bill synchronously by ID

Set Id with the Vendor Bill internal ID, leave Additional Fields empty, and Debug Mode off.

Example 2: Delete a Vendor Bill asynchronously

Set Id, in Additional Fields set Prefer to 'respond-async' and provide a unique UUID for idempotency key, optionally enable Debug Mode.

Discussion