NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Tax Type → Insert or update record

AI-generated

Summary

Insert or update a NetSuite Tax Type record by specifying its external Id along with optional additional and custom fields.

Inputs

  • Id (required) — External identifier of the Tax Type record to insert or update.
  • Additional Fields — Optional parameters including country, custom form, description, external ID, internal ID, name, preference settings for asynchronous execution, properties for replacing sublists or selected fields, and NetSuite-specific headers for idempotency and validation levels.
  • Custom Fields — List of custom fields with field name, type, and corresponding values allowing extended metadata for the Tax Type record.
  • Debug Mode — Boolean flag to include full request and response details in the output for debugging purposes.

Output shape

a single record representing the inserted or updated Tax Type, potentially including debug information if enabled.

The operation targets the PUT endpoint /taxType/{id}, replacing or updating the Tax Type record identified by the given external Id. Use 'Debug Mode' to receive full request and response details. Custom fields must be specified with correct field types and values to be applied successfully.

Examples

Example 1: Update a tax type name and description

Provide the external Id and in Additional Fields set the 'name' and 'description' properties.

Discussion