NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Expense Category → Insert or update record

AI-generated

Summary

Insert or update an Expense Category record in NetSuite by providing its external identifier and optional detailed fields, including custom fields.

Inputs

  • id (required) — External identifier of the Expense Category to insert or update.
  • additionalFields — Optional fields to set on the Expense Category such as name, description, rates, subsidiary, and other related properties.
  • customFields — List of custom fields with their names, types, and values to include in the Expense Category record.
  • Prefer — Optional header to request asynchronous execution with 'respond-async' as value.
  • X-NetSuite-Idempotency-Key — Optional unique idempotency key to ensure the request executes only once asynchronously.
  • X-NetSuite-PropertyNameValidation — Optional setting for strictness of property name validation ('Error', 'Warning', 'Ignore').
  • X-NetSuite-PropertyValueValidation — Optional setting for strictness of property value validation ('Error', 'Warning', 'Ignore').
  • isDebugMode — Boolean to include full request and response details in the node output for debugging purposes.

Output shape

a single record object representing the inserted or updated Expense Category response from NetSuite's REST API, possibly including debug information if enabled

Requires the Expense Category external identifier ('id') as input parameter. Supports full record details via additionalFields and customFields inputs. Can execute asynchronously if requested by 'Prefer' header. Debug mode enriches output with HTTP request and response data.

Examples

Example 1: Insert new Expense Category with name and description

Set 'id' to external ID and provide 'name' and 'description' in additionalFields.

Example 2: Update existing Expense Category with custom fields

Set 'id' and add one or more customFields with fieldName, fieldType, and value.

Links

Discussion