Accounting Period

In NetSuite, transactions are posted in real time. If you choose to use accounting periods, you must enter a posting period on the transaction and select its posting period from a dropdown list on the transaction page. The posting period can be future or past, depending on the close status of the period.

To access the accounting periods record in the UI, go to Setup > Accounting > Manage Accounting Periods. For information on setting up accounting periods, see Accounting Period Setup in the NetSuite Help Center.

In SOAP web services, the accounting period record is defined in the listAcct (accounting) XSD.

Supported Operations

The following operations can be used with the accounting period record.

get | getList | search | searchMoreWithId

Note:

You can also use the asynchronous equivalents of SOAP web services list operations. For information about asynchronous operations, see SOAP Web Services Asynchronous Operations. For more information about request processing, see Synchronous Versus Asynchronous Request Processing.

Field Definitions

The SOAP Schema Browser includes definitions for all body fields, sublist fields, search filters, and search joins available to this record. For details, see the SOAP Schema Browser’s accounting period reference page.

Note:

For information on using the SOAP Schema Browser, see SOAP Schema Browser.

Usage Notes

Important:

This record is available as a read-only record. To make changes to this record, you must do so through the UI.

Also note that to use the accounting periods record, a NetSuite administrator must first enable this feature in your account.

To enable Accounting Periods:

  1. Go to Setup > Company > Setup Tasks > Enable Features.

  2. Click the Accounting subtab.

  3. Check the Accounting Periods box.

  4. Click Save.

The parent field of the AccountingPeriod record is available only if the Multiple Calendars feature is disabled. If the Multiple Calendars feature is enabled, you should use the parent field of the AccountingPeriodFiscalCalendars record instead.

Sample Code

The following sample illustrates what your SOAP web services requests and responses should look like.

Sample SOAP Web Services Request

          </soap:Header>
  <soap:Body>
    <platformMsgs:get>
      <platformMsgs:baseRef xsi:type="platformCore:RecordRef" internalId="3" type="accountingPeriod" />
    </platformMsgs:get>
  </soap:Body>
</soap:Envelope> 

        

Sample SOAP Web Services Response with the Multiple Calendars feature Disabled

          <soapenv:Body>
    <getResponse xmlns="urn:messages_2022_2.platform.webservices.netsuite.com">
      <readResponse>
        <platformCore:status isSuccess="true" xmlns:platformCore="urn:core_2022_2.platform.webservices.netsuite.com"/>
          <record internalId="3" xsi:type="listAcct:AccountingPeriod" xmlns:listAcct="urn:accounting_2022_2.lists.webservices.netsuite.com">
            <listAcct:periodName>Jan 2014</listAcct:periodName>
            <listAcct:parent internalId="2" xmlns:platformCore="urn:core_2022_2.platform.webservices.netsuite.com">
              <platformCore:name>Q1 2014</platformCore:name>
            </listAcct:parent>
            ...
          </record>
        </readResponse>
      </getResponse>
    </soapenv:Body> 

        

Sample SOAP Web Services Response with the Multiple Calendars feature Enabled

          <soapenv:Body>
    <getResponse xmlns="urn:messages_2022_2.platform.webservices.netsuite.com">
      <readResponse>
        <platformCore:status isSuccess="true" xmlns:platformCore="urn:core_2022_2.platform.webservices.netsuite.com"/>
          <record internalId="3" xsi:type="listAcct:AccountingPeriod" xmlns:listAcct="urn:accounting_2022_2.lists.webservices.netsuite.com">
            <listAcct:periodName>Jan 2014</listAcct:periodName>
            ...
            <listAcct:fiscalCalendarsList>
              <listAcct:accountingPeriodFiscalCalendars>
                <listAcct:fiscalCalendar internalId="1" xmlns:platformCore="urn:core_2022_2.platform.webservices.netsuite.com">
                  <platformCore:name>Standard Fiscal Calendar</platformCore:name>
                </listAcct:fiscalCalendar>
                <listAcct:parent internalId="2" xmlns:platformCore="urn:core_2022_2.platform.webservices.netsuite.com">
                  <platformCore:name>Q1 2014</platformCore:name>
                </listAcct:parent>
              </listAcct:accountingPeriodFiscalCalendars>
            </listAcct:fiscalCalendarsList>
            ...
          </record>
        </readResponse>
      </getResponse> 

        

Related Topics

General Notices