For the complete documentation index, see llms.txt. This page is also available as Markdown.

NetSuite API

Create a read-only NetSuite login, then paste the credentials on the Drivepoint Data Sources screen. Public beta.

This connection is separate from Netsuite Financials. Set up the emailed Income Statement and Balance Sheet first. Those reports are what Drivepoint uses in production. This API connection does not replace them, and it does not change how your accounts are mapped.

A NetSuite administrator creates the login in NetSuite. You then enter the credentials yourself on the Data Sources screen in Drivepoint. Do not email the keys.

In NetSuite

A NetSuite administrator does these steps. Consumer Key, Consumer Secret, Token ID, and Token Secret are each shown once. Copy them into a password manager before you leave the page.

1. Turn on the features

Go to Setup > Company > Enable Features > SuiteCloud and enable:

  • Client SuiteScript

  • Server SuiteScript

  • Token-Based Authentication

  • REST Web Services

Save. You do not need SuiteAnalytics or SOAP Web Services.

2. Create the integration

  1. Go to Setup > Integration > Manage Integrations > New.

  2. Name it Drivepoint.

  3. Set State to Enabled.

  4. Under Token-based Authentication, check Token-based Authentication only. Leave TBA: Authorization Flow unchecked.

  5. Under OAuth 2.0, leave Authorization Code Grant unchecked. If it is checked, NetSuite asks for a Redirect URI and save fails with "Invalid Redirect URI". There is no redirect URI for this connection.

  6. Save, then copy Consumer Key and Consumer Secret.

3. Create a View role

  1. Go to Setup > Users/Roles > Manage Roles > New.

  2. Name it Drivepoint.

  3. Set access to View (not Full or Edit).

  4. Under Permissions, add every entry on Transactions, Reports, Lists, and Setup. Granting the whole tab at View is what lets the first sync succeed.

  5. On Setup, include Log in using Access Tokens, REST Web Services, and User Access Tokens if that last one appears.

  6. Save. Do not use the Administrator role for this token.

If a permission is missing because a feature is off in your account (for example Accounting Book), skip that one and tell us.

4. Assign the role

  1. Go to Setup > Users/Roles > Manage Users.

  2. Use a dedicated user if you have one. Otherwise edit the user who will own the token.

  3. Open Access, add the Drivepoint role, and save.

The user must be active.

5. Create the access token

  1. Go to Setup > Users/Roles > Access Tokens > New.

  2. Application: the Drivepoint integration.

  3. User: the user from step 4.

  4. Role: Drivepoint.

  5. Token name: Drivepoint.

  6. Save, then copy Token ID and Token Secret.

6. If you restrict access by IP address

If NetSuite only accepts web-service calls from listed IP addresses, add the addresses Drivepoint sends you. Calls do not come from your office network.

In Drivepoint

Open Data Sources. Find NetSuite API. This is not the NetSuite card used for emailed reports.

NetSuite API on the Data Sources screen

Click Connect and paste the five values from NetSuite into that screen.

Connect NetSuite API dialog
  • Account / Realm ID. Use the Account ID from Setup > Company > Company Information, not your NetSuite website address. Production looks like 1234567. Sandbox looks like 1234567_SB1 (underscore). 1234567-sb1 and https://1234567.app.netsuite.com are the website, not the Account ID.

  • Consumer Key and Consumer Secret from the integration.

  • Token ID and Token Secret from the access token.

  • Start date is optional. Leave it blank to start at midnight UTC two years before the day you connect. If you set it, use YYYY-MM-DD only.

  • Object types is optional. Leave it blank to sync the default records listed below. See Object types for how that field works.

Click Connect. The first sync starts after that.

What data you get

One table per record type. Line items on an order, bill, journal, or inventory movement are stored on that record. There is no separate lines table.

This connection does not create an Income Statement or a Balance Sheet. Those stay on the emailed reports.

Leaving Object types blank syncs these records:

Record name
What it is

salesorder

Sales orders

invoice

Invoices

creditmemo

Credit memos

cashsale

Cash sales

customerpayment

Customer payments

customerdeposit

Customer deposits

itemfulfillment

Item fulfillments

returnauthorization

Return authorizations

purchaseorder

Purchase orders

itemreceipt

Item receipts

vendorbill

Vendor bills

vendorcredit

Vendor credits

vendorpayment

Vendor payments

vendorreturnauthorization

Vendor return authorizations

journalentry

Journal entries

inventoryadjustment

Inventory adjustments

inventorytransfer

Inventory transfers

transferorder

Transfer orders

inventoryitem

Inventory items

item

Items

vendor

Vendors

customer

Customers

location

Locations

account

Chart of accounts

subsidiary

Subsidiaries

department

Departments

classification

Classes

currency

Currencies

accountingperiod

Accounting periods

accountingbook

Accounting books

Object types

Object types is the optional field at the bottom of the connect dialog. It chooses which records from the table above get synced.

Leave it blank unless you need a shorter sync. A blank field syncs every record in the table. That is the right choice for almost every account.

To sync a shorter set, type a comma-separated list of record names from the table. Example:

salesorder,invoice,item,location

  • That list replaces the default list. It does not add to it. If you enter only salesorder, Drivepoint syncs sales orders and nothing else.

  • Use the lowercase record name from the table, not the NetSuite menu label. salesorder, not Sales Order.

  • Spaces after commas are fine.

  • Only names in the table are supported. transaction, transactionaccountingline, and inventorybalance are not records this connection can read.

Known limitations

  • This is a public beta. Some accounts, roles, and record types will fail on the first sync.

  • Emailed Income Statement and Balance Sheet reports stay the production source for those statements. This connection does not produce them, and it does not change account mapping.

  • Saved searches, SuiteAnalytics datasets, and native financial reports are not part of this connection.

  • A record your account does not use is skipped or reported as an error. Examples: Accounting Book when Multi-Book is off, Class when Classes are off, and item when that record is not exposed.

  • Inventory on-hand balances are not available. NetSuite does not expose them as a record this connection can read.

  • The first sync of a two-year history can take a long time. NetSuite limits how many calls an integration can make at once.

  • Connections created before this default list was expanded keep the smaller set until you disconnect and connect again.

Was this helpful?