NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Accounting Period → Insert record

AI-generated

Summary

Insert a new Accounting Period record in NetSuite via a POST request to the /accountingPeriod endpoint.

Inputs

  • isDebugMode — When true, the operation returns the full HTTP request and response details for debugging. Default is false.
  • authMethod — Selects the authentication method for the NetSuite request. Options are 'oauth1' (default) or 'oauth2'.
  • additionalFields — Collection of fields that define the Accounting Period record. Several sub‑fields are required for a successful insert, others are optional.
  • customFields — Fixed collection of custom field definitions to attach to the record. Each item must provide a fieldName (loaded dynamically), a fieldType, and a value matching that type.

Output shape

object

Returns the created Accounting Period record as supplied by NetSuite, including system fields such as internal ID. If isDebugMode is enabled, the response also contains the request and raw response data.

Examples

Example 1: Create a simple open period.

Set startDate, endDate, periodName (all required). Leave other optional fields at their defaults.

Links

Discussion