After this article
You’ll be able to connect NetSuite to Lumos to sync employees and their roles, remove access during offboarding, import vendor bills as spend, and import contracts from a NetSuite File Cabinet folder.Capabilities
Removing a user’s last role also turns off their login access, since a NetSuite user needs at least one role to log in.
Connecting or reconnecting the integration starts a sync right away, and your employees and roles appear in Lumos when it finishes. After that, Lumos syncs on its regular integration sync schedule. To refresh sooner, see Triggering Syncs Deep Dive. Contract and spend imports run on their own daily schedule, which Lumos turns on for you.
Known limitations: this card doesn’t sync login activity. Contract ingestion skips files created before January 1, 2020, and supports PDF, Word, Excel, PowerPoint, email (
.eml), JPEG, PNG, and TIFF files.
Read-only access vs provisioning
Is read-only possible? No. This card writes to employee records when it suspends or deprovisions a user or removes a role, so the role needs Edit on Employees and Employee Record and Full on Bulk Manage Roles. For a read-only connection, use NetSuite Read-Only. Watch out for. The NetSuite cards are separate connections, each with its own access token and role. Switching cards means creating a new connection, not changing a setting on this one.Required plan and roles
- Lumos enablement: the w/ Contract Ingestion version of the NetSuite (Spend Management) card isn’t shown until Lumos turns it on for your organization. Ask your Lumos point of contact to enable it before you start, and send them the internal ID of the File Cabinet folder to import contracts from. Lumos sets the folder and turns on daily contract and spend imports for you. Contracts are imported daily at 6 AM US Central, into Found Documents.
- Lumos role: an Admin in Lumos. Only Admins can connect integrations (see Lumos roles).
- NetSuite features: enable SuiteTalk web services (REST and SOAP) and Token-Based Authentication (TBA) on the Setup > Company > Enable Features page, under the SuiteCloud tab. Contract ingestion uses SOAP web services to download documents, so both must be on.
- Token role permissions: create a role for the integration and add these permissions under the Permissions subtab. They’re grouped by what they’re for:
- To authenticate and run queries:
- Setup > Login using Access Tokens: Full
- Setup > REST Web Services: Full
- Setup > User Access Tokens: Full
- Reports > SuiteAnalytics Workbook: Edit
- To sync and offboard employees and roles. Offboarding writes to employee records, so these need Edit and Full rather than View:
- Lists > Employee Record: Edit
- Lists > Employees: Edit
- Setup > Bulk Manage Roles: Full
- To import vendor bills as spend:
- Transactions > Bills: View
- Transactions > Find Transactions: View
- Lists > Vendors: View
- Lists > Currency: View
- Lists > Accounts: View
- To import contracts. The card’s in-app instructions don’t list these two, but contract ingestion reads the File Cabinet and downloads files over SOAP:
- Lists > Documents and Files: View
- Setup > SOAP Web Services: Full
- To authenticate and run queries:
- File Cabinet folder: contracts are imported from one folder in your NetSuite File Cabinet. Lumos needs that folder’s internal ID (see Lumos enablement above).
Instructions
Phase 1: Prepare NetSuite- Log in to NetSuite with an Admin account. Save the subdomain from your account URL. For
https://1234567.app.netsuite.com/the subdomain is1234567. - If you haven’t already, enable SuiteTalk web services (REST and SOAP) and Token-Based Authentication on the Setup > Company > Enable Features page, under the SuiteCloud tab.
- Create a role for the integration at Setup > Users/Roles > Manage Roles > New. Choose a name, select All under Accessible Subsidiaries, and add the 14 permissions listed above under the Permissions subtab. Click Save.
- Attach the role to a user. Use a dedicated integration user rather than a person’s own admin account, so the token keeps working when that person leaves or changes roles. Go to Lists > Employees > Employees, click Edit next to the integration user (or create one), open the Access > Roles subtab, add the role, and click Save.
- Create an integration record at Setup > Integration > Manage Integrations > New. Choose a name, uncheck TBA: Authorization Flow and Authorization Code Grant, and click Save. Copy the Client ID and Client Secret. You can’t view them again after leaving the page. Confirm the record is in the Enabled state.
- Create a token-based authentication token at Setup > Users/Roles > Access Token > New. Under Application Name, User, and Role, select the integration from step 5, the integration user from step 4, and the role from step 3. The Token Name auto-populates. Click Save, then copy the Token ID and Token Secret. NetSuite access tokens don’t expire, but they can be manually revoked.
- Open the NetSuite (Spend Management) integration card in Lumos and choose the w/ Contract Ingestion version.
- Subdomain: the subdomain from Phase 1, step 1. For a sandbox it may look like
1234567-sb1. Use a dash (-) as the separator, not an underscore. - Enter the Client ID, Client Secret, Token ID, and Token Secret, then click Connect. Lumos checks both the REST and SOAP credentials, so a role missing SOAP Web Services fails here.
API Endpoints Used
Troubleshooting
Authentication failures (“Invalid login credentials” / “Token authentication failed”): Verify Token-Based Authentication is enabled in NetSuite features. Confirm all four credentials are correct with no extra spaces. Check that the integration record is Enabled, the access token hasn’t been deleted or revoked, the token’s user account is still active, and the user’s role has the necessary permissions. “Invalid SOAP API credentials”: The REST check passed but the SOAP check didn’t. Confirm SOAP web services is enabled under Setup > Company > Enable Features and the role has Setup > SOAP Web Services: Full. Users not syncing: Verify the token’s role has the Employee Record and Employees permissions, users have email addresses, and users aren’t inactive. Roles not appearing: Verify read permissions for Role records and that roles are active and not restricted. A 400 “Record role was not found” error means the connecting role lacks the Bulk Manage Roles permission (or the wrong token is in use). No contracts imported: Ask your Lumos point of contact to confirm the folder ID and that daily contract imports are on. Also check that the folder holds files in a supported format created on or after January 1, 2020, and that the role has Lists > Documents and Files. Permissions not syncing: Lumos queries therolepermissions table, so a permission and level combination appears only when at least one role holds it. Verify the missing permission level is assigned to at least one role, then trigger a new sync.
Vendor bills (spend) stopped appearing: A spend-record sync failing with InvalidCredentials: Invalid login attempt usually means the connected NetSuite user’s credentials changed or the user was modified. Confirm the failed login in Setup > Users/Roles > User Management > View Login Audit Trail, then reconnect the integration with valid credentials.
Subdomain not accepted: Recheck the subdomain against your NetSuite URL. For sandboxes, verify you’re using the correct sandbox account ID with a dash (not underscore) separator.
API rate limit exceeded: Review other integrations consuming your API quota, or contact NetSuite to increase limits.