Banking Statement

The Banking Statement record contains account and balance information, including the associated account, as-of date, opening balance, and balance.

The internal ID for this record is bankingstatement.

Note:

The availability of this record in SuiteScript enables external AI clients to access banking statement data through the NetSuite AI Connector Service. These connections use Model Context Protocol (MCP). For more information, see NetSuite AI Connector Service.

To read this record, your role needs the Reconcile permission with View access or higher. Account, subsidiary, and applicable transaction restrictions also apply. For more information, see Permissions for Banking Features.

The record does not have a standard record form.

For information about scripting with records, see SuiteScript 2.1 Scripting Records and Subrecords and N/record Module.

Supported Script Types

The Banking Statement record is supported in server-side scripts only. It is available in SuiteScript 2.1.

Supported Functions

You can read Banking Statement records through SuiteScript. Creating, updating, copying, transforming, deleting, and searching through N/search are not supported.

Script Sample

The following sample loads a Banking Statement record and reads its account, as-of date, opening balance, and balance.

            /**
 * @NApiVersion 2.1
 */
define(['N/record'], (record) => {
    const readBankingStatement = (statementId) => {
        const statement = record.load({
            type: record.Type.BANKING_STATEMENT,
            id: statementId
        });

        return {
            accountId: statement.getValue({ fieldId: 'account' }),
            asOf: statement.getValue({ fieldId: 'asof' }),
            openingBalance: statement.getValue({ fieldId: 'openingbalance' }),
            balance: statement.getValue({ fieldId: 'balance' })
        };
    };

    return { readBankingStatement };
}); 

          

Related Topics

General Notices