NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Term → Insert record

AI-generated

Summary

Insert a new Term record in NetSuite using optional fields to specify payment terms details and custom fields, optionally enabling debug mode to include full request/response info.

Inputs

  • Additional Fields - Terms (name) — The name of the term record to create, shown in lists including this record.
  • Additional Fields - % Discount (discountPercent) — Percentage discount for early payment under standard terms.
  • Additional Fields - Date Driven (dateDriven) — Object with internal ID and reference name related to date driven terms.
  • Additional Fields - Date Driven % Discount (discountPercentDateDriven) — Percentage discount for early payment under date driven terms.
  • Additional Fields - Day Discount Expires (dayDiscountExpires) — Last day of month the early payment discount is available.
  • Additional Fields - Day Of Month Net Due (dayOfMonthNetDue) — Day of month when the net invoice amount is due; if the date does not exist, defaults to last day of month.
  • Additional Fields - Days Till Discount Expires (daysUntilExpiry) — Number of days the early payment discount is available after bill issuance for standard terms.
  • Additional Fields - Days Till Net Due (daysUntilNetDue) — Number of days until the net amount of the bill becomes due, e.g., 30 for Net 30 terms.
  • Additional Fields - Due Next Month If Within Days (dueNextMonthIfWithinDays) — Number of days before due date that postpones the invoice to next month's due date under date driven terms.
  • Additional Fields - External ID (externalId) — Optional external identifier for the record.
  • Additional Fields - Inactive (isInactive) — Flag to mark the record as inactive, removing all references until reactivated.
  • Additional Fields - Internal ID (id) — Optional internal identifier for the record.
  • Additional Fields - Last Modified Date (lastModifiedDate) — Date/time when the record was last modified.
  • Additional Fields - Prefer (Prefer) — Server execution behavior preference; 'respond-async' to execute asynchronously.
  • Additional Fields - Preferred (preferred) — Flag to make this term show by default on new sales transactions unless overridden by customer terms.
  • Additional Fields - Reference Name (refName) — Optional reference name for the term.
  • Additional Fields - Replace (replace) — Comma-delimited sublist names; sublist lines will be replaced with those specified in request.
  • Additional Fields - X - Net Suite - Idempotency - Key (X-NetSuite-Idempotency-Key) — Unique idempotency key for asynchronous requests to ensure single execution; ignored if synchronous.
  • Additional Fields - X - Net Suite - Property Name Validation (X-NetSuite-PropertyNameValidation) — Strictness of property name validation: Error, Warning, Ignore, or empty for default.
  • Additional Fields - X - Net Suite - Property Value Validation (X-NetSuite-PropertyValueValidation) — Strictness of property value validation: Error, Warning, Ignore, or empty for default.
  • Custom Fields — Multiple user-defined custom fields with specified field name, type, and value consistent with the field type.
  • Debug Mode (isDebugMode) — When true, output includes full request and response details for debugging.

Output shape

a single record representing the newly inserted Term as returned by the NetSuite REST API

Output includes the Term record data; if Debug Mode is enabled, full request and response details are included. Errors from the API will surface as node execution errors.

Discussion