Bank Reconciliation Suggestion Record Actions

Note:

The availability of these record actions in SuiteScript enables external AI clients to accept or reject bank reconciliation suggestions through the NetSuite AI Connector Service using Model Context Protocol (MCP).

For information about discovering and performing record actions from an AI client, see Record Action Tools.

accept

Corresponding UI Button

Submit in the suggestion row on the Match Suggestions subtab of the Match Bank Data page. In the expanded view, the button is Match and Submit or Apply and Submit, depending on the suggestion type. These custom UI buttons do not invoke the record action.

Action Description

Accepts a bank reconciliation suggestion and submits the resulting match for reconciliation.

The action.ALL_QUALIFIED_INSTANCES constant is not supported.

Returns

{notifications: [], response: {}}

Supported Script Types

Client and server scripts. For more information, see Enabling SuiteScript and SuiteScript 2.1 Script Types.

Since

2026.2.0.13

The internal ID for this action is accept.

The Accept action appears on the Bank Reconciliation Suggestion record type. To perform this action, your role needs the Reconcile permission with Create access or higher. For more information, see Permissions for Banking Features.

For help reviewing suggestions in the UI, see Reviewing Match Suggestions.

Parameters

The only required parameter is recordId, which specifies the internal ID of the bank reconciliation suggestion.

For information about the parameters required to perform an action, see action.execute(options).

Code Sample

              require(['N/action'], function (action) {
    var bankRecSuggestionId = 123; // Replace with an existing suggestion ID.

    var result = action.execute({
        recordType: 'bankrecsuggestion',
        id: 'accept',
        params: {
            recordId: bankRecSuggestionId
        }
    });
}); 

            

reject

Corresponding UI Button

Reject Suggestion in the expanded suggestion view on the Match Suggestions subtab of the Match Bank Data page. This custom UI button does not invoke the record action.

Action Description

Rejects a bank reconciliation suggestion. The action.ALL_QUALIFIED_INSTANCES constant is not supported.

Returns

{notifications: [], response: {}}

Supported Script Types

Client and server scripts. For more information, see Enabling SuiteScript and SuiteScript 2.1 Script Types.

Governance

None

Since

2026.2.0.13

The internal ID for this action is reject.

The Reject action appears on the Bank Reconciliation Suggestion record type. To perform this action, your role needs the Reconcile permission with Edit access or higher. For more information, see Permissions for Banking Features.

For help reviewing suggestions in the UI, see Reviewing Match Suggestions.

Parameters

The only required parameter is recordId, which specifies the internal ID of the bank reconciliation suggestion.

For information about the parameters required to perform an action, see action.execute(options).

Code Sample

              require(['N/action'], function (action) {
    var bankRecSuggestionId = 123; // Replace with an existing suggestion ID.

    var result = action.execute({
        recordType: 'bankrecsuggestion',
        id: 'reject',
        params: {
            recordId: bankRecSuggestionId
        }
    });
}); 

            

Related Topics

General Notices