Connecting to NetSuite
Before you start
You'll need to be a NetSuite Administrator to set this up. ChargeOver connects to NetSuite using a certificate instead of a username and password, so nobody's NetSuite login gets shared with ChargeOver, and you can turn off ChargeOver's access from NetSuite at any time.
Setup takes about 20 minutes, and has 6 parts. The first 3 are only in NetSuite. For the rest, the NetSuite page in ChargeOver walks you through it one step at a time.
- Turn on the NetSuite features ChargeOver uses
- Create a role for ChargeOver
- Create the ChargeOver ID fields
- Create an integration record, and paste its Client ID into ChargeOver
- Upload ChargeOver's certificate to NetSuite, and paste its Certificate ID into ChargeOver
- Connect, and pick a subsidiary if you use them
To get to the NetSuite page in ChargeOver, click the configuration gear icon in
the top right, go to Integrations, and search for NetSuite. It starts with a
checklist of steps 1 to 3, so you can do those first.
NetSuite is an add-on. If its tile says Plan Upgrade Required, click

If you have a NetSuite sandbox, we recommend connecting a ChargeOver test account to your sandbox first. The steps are exactly the same.
Step 1: Turn on NetSuite features
- In NetSuite, go to
Setup > Company > Enable Features - Click the
SuiteCloudsubtab - Under SuiteTalk (Web Services), check REST Web Services
- Under Manage Authentication, check OAuth 2.0
- Click
Save

Step 2: Create a role for ChargeOver
ChargeOver should use its own role, with only the permissions it needs.
- In NetSuite, go to
Setup > Users/Roles > Manage Roles > New - Give the role a name, like
ChargeOver Integration - Under Subsidiary Restrictions, make sure the role can access the subsidiary ChargeOver will create customers in (or choose All)
- Under Authentication, check Web Services Only Role. This means nobody can log in to the NetSuite website with this role, it can only be used by integrations.

Then go to the Permissions tab and add these permissions. Each group of
permissions is on its own subtab (Transactions, Lists, Setup, or
Reports).

| Subtab | Permission | Level | Why ChargeOver needs it |
|---|---|---|---|
| Setup | Log in using OAuth 2.0 Access Tokens | Full | To connect to NetSuite |
| Setup | REST Web Services | Full | To send data to NetSuite |
| Setup | Manage own OAuth 2.0 Client Credentials certificates | Full | To renew its certificate automatically before it expires (see Renewing your certificate) |
| Setup | Accounting Lists | View | To list your payment terms and payment methods |
| Setup | Custom Fields | View | To find the line fields your revenue recognition dates go in (only if you use revenue recognition, see Revenue recognition) |
| Transactions | Invoice | Edit | To create your invoices |
| Transactions | Credit Memo | Full | To sync credits and write-offs (see Credits and write-offs), void invoices, and undo a void |
| Transactions | Customer Payment | Full | To create your payments, and delete them when you void one in ChargeOver (see Voiding a payment) |
| Transactions | Customer Refund | Full | To sync refunds and chargebacks, and delete them when you void one (see Refunds and chargebacks) |
| Transactions | Find Transaction | View | To look up invoices, payments, and credits already in NetSuite, so we don't add duplicates |
| Lists | Customers | Edit | To find, create, and update your customers |
| Lists | Contacts | Edit | To add and update each customer's contacts |
| Lists | Perform Search | Full | To look for customers that are already in NetSuite, so we don't add duplicates |
| Lists | Currency | View | To set each new customer's currency |
| Lists | Items | Edit | To find your items, and create the ones that aren't in NetSuite yet |
| Lists | Accounts | View | To list your income, bank, and accounts receivable accounts for the settings |
| Lists | Tax Records | View | To find the tax codes for invoices with tax (only if you charge tax) |
| Lists | Tax Details Tab | Edit | To put ChargeOver's tax on invoices (only if you charge tax and your account uses SuiteTax, see Taxes) |
| Lists | Subsidiaries | View | To list your subsidiaries during setup (only if you use subsidiaries) |
| Lists | Classes | View | To list your classes for the settings (only if you use Classes) |
| Lists | Departments | View | To list your departments for the settings (only if you use Departments) |
| Lists | Locations | View | To list your locations for the settings (only if you use Locations) |
| Lists | Revenue Recognition Field Mapping | View | To find the line fields your revenue recognition dates go in (only if you use revenue recognition) |
| Reports | SuiteAnalytics Workbook | View | To look up customers, currencies, and subsidiaries |
The level matters. NetSuite's levels go View, Create, Edit, then Full, and each one includes the ones before it (so Edit can create too). Use the level in the table, not just View. ChargeOver adds and changes your customers, items, and invoices, and deletes payments, credits, and refunds when you void them in ChargeOver. It never deletes customers, contacts, items, or invoices, so those only need Edit.
When you're done, the Setup, Transactions, and Lists subtabs should look like this (leave out the ones the table says are "only if" when you don't use them):



Click
Give the role to a user
The role has to belong to a NetSuite user (an employee record), which ChargeOver will act as. This can be you, or a user you set up just for integrations.
- In NetSuite, open the employee record for that user
- Click
Edit , then go to the Access tab - Under Roles, add the
ChargeOver Integrationrole - Click
Save
The user doesn't need to log in with this role, and doesn't need a password for it.
Step 3: Create the ChargeOver ID fields
ChargeOver puts its own ID on every record it syncs, so it can always find its
records in NetSuite (and never makes duplicates). NetSuite only lets ChargeOver
use custom fields you create, so create these four before you connect. Give them
exactly these IDs. NetSuite adds the custentity, custbody, or
custitem to the front for you.
| Field | Kind of field | Label | ID | Type | Applies To |
|---|---|---|---|---|---|
| ChargeOver ID (customers) | Entity Field | ChargeOver ID | _chargeover_id | Free-Form Text | Customer and Contact |
| ChargeOver ID (transactions) | Transaction Body Field | ChargeOver ID | _chargeover_id | Free-Form Text | Sale and Customer Payment |
| ChargeOver invoice number | Transaction Body Field | ChargeOver Invoice # | _chargeover_number | Free-Form Text | Sale |
| ChargeOver ID (items) | Item Field | ChargeOver ID | _chargeover_id | Free-Form Text | Non-inventory Item, Service, and Other Charge |
For each field:
- In NetSuite, go to
Customization > Lists, Records, & Fields, pick Entity Fields, Transaction Body Fields, or Item Fields (the Kind of field column), and clickNew - Fill in the Label and ID, and pick the Type
- On the Applies To tab, check the boxes in the Applies To column
- On the Display tab, set Display Type to Inline Text. Your team can still see the field, but can't change it by accident.
- Click
Save
When you're done, NetSuite lists them as custentity_chargeover_id,
custbody_chargeover_id, custbody_chargeover_number, and
custitem_chargeover_id.
These four are all you need to connect. ChargeOver can also fill in optional fields, like links back to ChargeOver, External Keys, and subscription nicknames, and sync your own custom fields. You can add those any time, now or after you're connected. See Optional ChargeOver fields.
Don't change what's in the ChargeOver ID fields in NetSuite. That's how ChargeOver tells which NetSuite records belong to which ChargeOver records.
If you restricted access on a field's Access tab, make sure the
ChargeOver Integration role can Edit it.
Step 4: Create an integration record
This is Step 1 on the NetSuite page in ChargeOver.
- In NetSuite, go to
Setup > Integration > Manage Integrations > New - Set the Name to
ChargeOver, and leave State as Enabled

- On the Authentication tab, under OAuth 2.0:
- Uncheck Authorization Code Grant
- Check Client Credentials (Machine To Machine) Grant
- Under Scope, check REST Web Services
- Uncheck Token-based Authentication if it's checked. ChargeOver doesn't use it.
- Click
Save

After you save, NetSuite shows a Client ID and Client Secret at the bottom of the page. Copy the Client ID now, NetSuite only shows it once. ChargeOver doesn't need the Client Secret.
Paste the Client ID into the Client ID box in ChargeOver, and click
If you lose the Client ID, you'll need to reset the credentials on the integration record (or create a new one) to get a new one.
Step 5: Upload ChargeOver's certificate
This is Step 2 on the NetSuite page in ChargeOver. ChargeOver makes its
certificate for you, so just click

Then upload the certificate to NetSuite:
- In NetSuite, go to
Setup > Integration > OAuth 2.0 Client Credentials (M2M) Setup - Click
Create New - Fill in the mapping:
- Entity: the user you gave the role to in Step 2
- Role:
ChargeOver Integration - Application: the
ChargeOverintegration record from Step 4 - Certificate: the certificate you downloaded from ChargeOver
- Click
Save

NetSuite adds the mapping to the list. Copy its Certificate ID, paste it
into the Certificate ID box in ChargeOver, and click
Step 6: Connect ChargeOver to NetSuite
This is Step 3 on the NetSuite page in ChargeOver. Fill in your Account
ID: in NetSuite, go to Setup > Company > Company Information. It looks like
1234567, or 1234567_SB1 for a sandbox.
Click

Pick a subsidiary
If your NetSuite account uses subsidiaries (NetSuite OneWorld), ChargeOver asks
which subsidiary to create new customers in (Step 4 on the NetSuite page).
Pick one and click

Customers stay in the subsidiary they were created in. If you change this later, it only affects customers ChargeOver creates from then on.
Once everything checks out, you'll see that you're connected:

Click
- Connection shows the finished setup steps, with
Test Connection (to make sure ChargeOver can still log in to NetSuite), the certificate, andStart Over - Configuration has the settings for how things sync, like custom fields and items
Starting over
To change anything you set up here (the integration record, certificate,
NetSuite account, or subsidiary), click
ChargeOver is disconnected from NetSuite until you connect again. It keeps track of what changes in the meantime, and syncs it once you're connected.
If ChargeOver ever gets disconnected from NetSuite, the NetSuite page goes back to the Connect step, with why it was disconnected, so you can fix it and connect again.
If the ChargeOver ID fields aren't set up
When you connect, or click custentity_chargeover_id isn't on contacts (the
field doesn't have Contact checked under Applies To). Fix it in NetSuite,
then click ==Connect== (or ==Test Connection==) again.
If you connected before these fields existed, ChargeOver fills in the ChargeOver ID on every customer and contact it already synced, in the background, once the fields are set up.
If the role is missing permissions
When you connect, or click

Add them to the role in NetSuite (Setup > Users/Roles > Manage Roles), then
click
ChargeOver can only check that the role can see each kind of record, not that it can change them. So if syncing fails with a permission error later, check the levels in the table in Step 2 too (for example, Customers needs Edit, not just View).