Accounting Period

An accounting period record exposes an accounting period to REST web services. This record has the following subrecords:

Accounting periods support general ledger management. When accounting periods are enabled, users can select a past or future posting period for each transaction, and accounting personnel can more effectively monitor and control the status of accounts.

To access this record in NetSuite, go to Setup > Accounting > Manage G/L > Manage Accounting Periods.

For more information about managing accounting periods in NetSuite, see Manage Accounting Periods Page.

The REST API Browser includes information about the field names and field types of the accounting period record and about the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser’s accountingPeriod reference page.

For information about using the REST API Browser, see The REST API Browser.

Record ID

The record ID for an accounting period REST record is accountingperiod.

Inaccessible Elements

The following sublist is not accessible through REST web services:

  • User Notes

Elements with Different Functionality

The following fields only appear in the base accounting period type:

  • allowNonGLChanges

  • isAdjust

The following sublist only appears in the base accounting period type:

Note:

The accounting period is a base period if isYear = "false" and isQuarter = "false".

The following field only appears in the quarter and base accounting period types:

Note:

The accounting period is a quarter period if isQuarter = "True" and isYear = "false".

Additional Details

You must have a parent period to set up a new quarter or base period.

Code Sample

This sample shows how to create a new base accounting period:

            POST /services/rest/record/v1/accountingperiod { "allLocked": false, "allowNonGLChanges": false, "apLocked": false, "arLocked": false, "closed": false, "endDate": "2051-01-31", "parent": "546", "isAdjust": false, "isInactive": false, "isPosting": true, "isQuarter": false, "isYear": false, "payrollLocked": false, "periodName": "January 2051 1692277896", "startDate": "2051-01-01"
} 

          

Related Topics

REST Web Services Supported Records
SuiteTalk REST Web Services Overview and Setup
Working with Records
NetSuite Record Structure
The REST API Browser

General Notices