NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Accounting Period → Insert record

AI-generated

Summary

Insert an Accounting Period record in NetSuite with required fields Start Date, End Date, and Period Name, along with optional additional and custom fields.

Inputs

  • Start Date (required) — Enter or pick the date this period starts.
  • End Date (required) — Enter or pick this period's end date.
  • Period Name (required) — The unique name for the period within a fiscal calendar.
  • Additional Fields — Optional fields such as A/P Locked, A/R Locked, Closed, Fiscal Calendars, Parent, Is Posting, Is Quarter, Is Year, adjustment flags, and others to further define the accounting period.
  • Custom Fields — Multiple custom fields with type-specific values to extend the record with user-defined data.
  • Debug Mode — Enable to include full request and response details in the output for troubleshooting.
  • Prefer — Specify the server behavior, like 'respond-async' for asynchronous execution.
  • X-NetSuite-Idempotency-Key — Unique key to ensure the asynchronous request executes only once.
  • X-NetSuite-PropertyNameValidation — Set strictness level of property name validation: Error, Warning, Ignore.
  • X-NetSuite-PropertyValueValidation — Set strictness level of property value validation: Error, Warning, Ignore.

Output shape

A single record representing the newly created Accounting Period, including its properties as accepted by NetSuite.

The returned record includes the fields set and may optionally include full request/response information if Debug Mode is enabled. The operation conforms to NetSuite SuiteTalk REST API semantics. Asynchronous execution can be requested with the Prefer option.

Discussion