Skip to main content

Connect NetSuite to Tesorio

Prepare NetSuite, install the Tesorio bundle and connect with OAuth 2.0, then check the first import.

Tesorio connects to NetSuite with OAuth 2.0. You install the Tesorio bundle in NetSuite, set up an integration user, and add a Tesorio certificate so NetSuite can check that the sign-in comes from Tesorio. The certificate contains no secret, and Tesorio renews it automatically.

Before you start

  • A Tesorio admin: a user whose permission group includes the Administration module.

  • A NetSuite Administrator. The steps install a bundle, turn on features, edit a role and set up a user. The Tesorio admin and the NetSuite Administrator can be the same person.

  • Connect the right NetSuite account. Once Tesorio has imported its data, the connection can't switch to another account.

  • Already connected with token-based authentication? Tesorio sends you a NetSuite connection link to move to OAuth 2.0. Do the steps below, and use that link in In Tesorio. Keep your old access token until Tesorio confirms the move is done.

In NetSuite

1. Turn on the features Tesorio uses

  1. Go to Setup > Company > Enable Features.

  2. On the Company tab, under International, check Multiple Currencies. Tesorio needs it even if you use one currency.

  3. On the SuiteCloud tab, under SuiteTalk (Web Services), check SOAP Web Services and REST Web Services.

  4. On the same tab, under Manage Authentication, check OAuth 2.0.

  5. On the Analytics tab, check SuiteAnalytics Workbook.

  6. Click Save.

2. Install the Tesorio bundle

  1. Go to Customization > SuiteBundler > Search & Install Bundles.

  2. Search for Tesorio Bundle and click the bundle with ID 180202.

  3. Click Install and keep the options as they are. Click Install Bundle, and OK if NetSuite asks you to confirm.

  4. Wait until the bundle shows a green check on the Installed Bundles page. This can take a few minutes.

If the bundle is already installed, update it to the latest version from Customization > SuiteBundler > Search & Install Bundles > List. If you use your own role for Tesorio instead of the Tesorio Permissions Role, give it the permissions in step 3 yourself.

3. Check the Tesorio Permissions Role

The bundle adds the Tesorio Permissions Role. Go to Setup > Users/Roles > Manage Roles, find Tesorio Permissions Role and click Edit.

  • Accessible Subsidiaries: select All. You can leave out subsidiaries you don't want in Tesorio, unless you use customer and invoice messages in NetSuite. Then Tesorio needs all subsidiaries. Always keep your top-level subsidiary: Tesorio adds the contacts you create in Tesorio under it in NetSuite.

  • Web Services Only Role: leave it unchecked.

  • Permissions > Lists: Currency (View) and Messages for Analytics and REST (View). If you use SuiteTax, set Tax Details Tab to Full.

  • Permissions > Setup: Log in using OAuth 2.0 Access Tokens (Full) and Manage own OAuth 2.0 Client Credentials certificates (Full). Tesorio needs the second one to renew its certificate before it expires.

  • Credit memos: if Tesorio applies credit memos for you, also give Allow Non G/L Changes (Full) and Override Period Restrictions under Permissions > Setup. Override Period Restrictions lets Tesorio apply credit memos in a locked period. In a closed period, NetSuite must allow non-G/L changes for that period, or you reopen it first. Applying credit memos from Tesorio is available when Tesorio turns it on for your company.

Click Save.

4. Set up the integration user

Use a dedicated NetSuite user for Tesorio, not a person's own login. If that person leaves and their user is turned off, the connection stops.

  1. Go to Lists > Employees > Employees. Click New Employee, or Edit next to an existing user.

  2. On the Access tab, check Give Access.

  3. Add the Tesorio Permissions Role and click Add.

  4. Click Save.

5. Find your Account ID

Go to Setup > Company > Company Information and copy the Account ID. A sandbox Account ID uses capital letters and an underscore, for example 1234567_SB1.

In Tesorio

  1. Open the NetSuite connection page. New customers also reach it from Time to Connect. To move from token-based authentication, use the link Tesorio sent you instead. Use this page, not Add app on Data Sources, which asks for tokens. If the page asks for a Token ID instead of a Certificate ID, your company already has a NetSuite connection: ask your Tesorio contact for a NetSuite connection link.

  2. Click Download the Tesorio certificate. Tesorio makes a certificate for each company, so use only the file from your own Tesorio account.

  3. In NetSuite, go to Setup > Integration > Manage Authentication > OAuth 2.0 Client Credentials (M2M) Setup and click Create New. If you don't see this page, check that OAuth 2.0 is turned on (step 1 in NetSuite) and that you are an Administrator or have the OAuth 2.0 Authorized Applications Management permission.

  4. Select the integration user as Entity, Tesorio Permissions Role as Role, and Tesorio as Application. Upload the certificate file and click Save. If Tesorio isn't in the Application list, update the Tesorio bundle.

  5. Copy the Certificate ID from the list.

  6. Back in Tesorio, enter the Account ID and the Certificate ID, then click Connect.

If your NetSuite administrator doesn't use Tesorio, copy the link below Connect and send it to them. It opens the same page without signing in to Tesorio and works for 14 days.

Tesorio tests the connection before it saves it. When you see NetSuite Connected, the first import starts.

Sandboxes: a NetSuite sandbox connects to its own Tesorio sandbox account, which has its own certificate. NetSuite doesn't copy the certificate mapping to a sandbox, and a sandbox refresh removes it. Do steps 2 to 6 under In Tesorio in each sandbox you connect, from that sandbox's Tesorio account. After a refresh, map the certificate again and ask your Tesorio contact for a NetSuite connection link to enter the new Certificate ID.

Check the first import

From then on, Tesorio syncs on your company's sync schedule. See Set a Sync Schedule.

If the connection stops working

Tesorio signs in to NetSuite with credentials your team set up. When those credentials stop working, Tesorio stops syncing with NetSuite until someone updates them. Your data in Tesorio stays, but it isn't updated.

How you'll know

  • When a sync can't sign in, the people on your sync failure list get the email Tesorio Sync - No valid Credentials Alert. To choose who gets it, see Set a Sync Schedule.

  • Tesorio shows the banner Some integration credentials are invalid. Admins see an Update credentials link in it. Other users see Please contact your administrator.

  • On Administration > Integrations, the Sync card says NetSuite credentials are invalid, with an Update Credentials button.

Who fixes it

You need two people, who can be the same person:

  • A Tesorio admin: a user whose permission group includes the Administration module.

  • Your NetSuite administrator, because most fixes start in NetSuite.

💡 Tip: Using a dedicated integration user in NetSuite, not a person's own login, avoids most of these breaks. When that person leaves and their user is turned off, the connection stops.

What usually causes it

  • The integration user was turned off, lost the Tesorio Permissions Role, or lost login access.

  • The access token was revoked or deleted (token-based authentication).

  • The certificate mapping was removed or revoked (OAuth 2.0). A sandbox refresh also removes it.

  • The certificate expired (OAuth 2.0). Tesorio renews it before it expires, but only while the role has Manage own OAuth 2.0 Client Credentials certificates.

  • Someone changed the Tesorio Permissions Role.

Reconnect with token-based authentication

  1. In NetSuite, check that the integration user is active and has the Tesorio Permissions Role.

  2. Create a new access token: Setup > Users/Roles > Access Tokens > New. Select the Tesorio application, the integration user and the Tesorio Permissions Role, then click Save. Copy the Token ID and Token Secret. NetSuite shows them only once.

  3. In Tesorio, click Update Credentials on the Administration > Integrations page, or in the banner.

  4. Enter the Token ID, Token Secret and Account ID, then click Connect.

If your NetSuite administrator does the NetSuite part, you can send them the page that Update Credentials opens. Its link works for 14 days.

Reconnect with OAuth 2.0

  1. In NetSuite, check that the integration user is active and has the Tesorio Permissions Role, with the Log in using OAuth 2.0 Access Tokens and Manage own OAuth 2.0 Client Credentials certificates permissions.

  2. Open Setup > Integration > Manage Authentication > OAuth 2.0 Client Credentials (M2M) Setup and check that a Tesorio row for the integration user is there and not revoked. When Tesorio renews its certificate, it revokes the old row, so revoked older rows are normal.

  3. Click Update Credentials on the Administration > Integrations page, or in the banner. If the page asks for a Token ID instead of a Certificate ID, ask your Tesorio contact for a NetSuite connection link.

  4. On that page, enter the Account ID and the Certificate ID of the active Tesorio row, then click Connect. If there's no active row, do steps 2 to 6 under In Tesorio above.

When it works

Tesorio shows NetSuite Connected, emails your sync failure list that the credentials were updated, and starts a sync right away.

If you see an error

  • Invalid credentials. Please contact support: check the Account ID (a sandbox looks like 1234567_SB1) and that the token or certificate mapping is for the integration user, the Tesorio Permissions Role and the Tesorio application. A certificate from another Tesorio account doesn't work.

  • Enter the NetSuite account ID, e.g. 1234567 or 1234567_SB1.: the Account ID isn't in the right format. Find it in NetSuite under Setup > Company > Company Information.

  • Data has already been imported from this account, so it can't be switched to another one.: the Account ID isn't the account Tesorio already imports from. Check the Account ID. To move to another NetSuite account, contact Tesorio support.

If you still can't connect, contact Tesorio support and include the error message. With OAuth 2.0, you can also send your Account ID and Certificate ID to your Tesorio contact, and Tesorio connects the account for you.

Related articles

Did this answer your question?