The connector
Category: ERP and accounting. Status: Available on all plans. How Spark connects: direct, with a certificate-based integration on a NetSuite integration record and a role scoped to what the Circuit needs.
What you can do with NetSuite in Spark
Read NetSuite records and SuiteQL queries on a schedule, combine them with HR, CRM and bank data, and load them into a planning tool, warehouse or BI tool. Write journal entries back to NetSuite unapproved, for a person to approve and post.
Spark reads 19 kinds of data from NetSuite:
- GL account
- Accounting period (month, quarter or year)
- Class (a segment)
- Consolidation rate between subsidiaries for a period
- Currency
- Exchange rate on a date
- Customer
- Department (a segment)
- Employee record
- Item (inventory, service, other charge)
- Location (a segment)
- Subsidiary (legal entity)
- Payment term
- Transaction header: invoices, bills, journals, payments and every other type
- Transaction line, with its segments
- Posting to a GL account, per accounting book (the general ledger)
- Vendor
- Any SuiteQL query you write: 1 row per result
- External ids of journal entries, so Spark writes each journal once
What Spark writes to NetSuite
Writes only happen when you tick the permission as you add the Spark. Leave them unticked for a read-only connection.
- Creates 1 journal entry per external id, 1 row per line, not approved: it waits on Approve Journal Entries and posts nothing until approved. Needs Require Approvals on Journal Entries turned on in NetSuite; without it NetSuite posts journals as they are created.
- Creates 1 journal entry per external id, 1 row per line, approved, so it posts at once.
- Creates or updates customers, vendors, departments, classes or locations by external id. Every other column is set as a field of the same name.
Common use cases for NetSuite data, and why each matters
Actuals into the plan
GL detail by period, account, department and subsidiary goes into Pigment, Anaplan and Workday Adaptive Planning each night during close, so the forecast starts from the ledger, not last week's export.
Open AP into cash planning
Unpaid bills with due dates feed the 13-week cash forecast, so treasury sees what is due before it is due.
AR aging into the board pack
Open invoices by customer and age go to the warehouse or BI tool, so collections risk shows up in the same view as bookings.
Allocations and accruals back to the ledger
Allocations calculated in the plan come back as unapproved journals, so the controller reviews and approves them in NetSuite instead of re-keying them.
Why it's hard without Spark
Most teams run a saved search, export a CSV, fix the department names in Excel and upload it to the planning tool every close. A new subsidiary or department breaks the mapping, and nobody notices until the variance review. NetSuite's concurrency limits and role permissions also make ad hoc scripts fragile, and an all-access integration role is a hard sell to the controller. Spark uses a scoped role, loads only new and changed records where it can, and ties totals back to the trial balance after every load.
How Spark handles NetSuite data
- Spark does not store the business data it moves: rows pass through memory during a run.
- Each customer has its own isolated tenant.
- Credentials are sealed in your company's own vault, never shown again or logged.
- Anything that writes to a system needs the permission ticked when the Spark is added.
More on the Spark trust center.
Teams that use it
Finance and FP&A, controllers and finance systems teams. See Spark for finance and the Pigment hub.
Questions
How does Spark connect to NetSuite?
A certificate-based integration. You need a NetSuite administrator and REST Web Services and OAuth 2.0 enabled (Setup, Company, Enable Features, SuiteCloud).
Can Spark write to NetSuite?
Yes, when you allow it. Spark can create journal entries (unapproved by default, or approved if you tick that permission) and create or update customers, vendors, departments, classes and locations by external id.
Which NetSuite edition does Spark support?
Any NetSuite account with REST Web Services and OAuth 2.0 enabled.
Where are the credentials kept?
Sealed in your company's own vault in your isolated tenant. Spark never shows them again or writes them to logs.
Connection essentials
- Method: A certificate-based integration.
- What you need: A NetSuite administrator; REST Web Services and OAuth 2.0 enabled (Setup, Company, Enable Features, SuiteCloud)
- What Spark asks for: Account ID; Client ID; Certificate ID; Private key (spark.key)
- Vendor documentation: docs.oracle.com
- Change detection: records changed since the last run, by last-modified date
- Limits to know: NetSuite caps concurrent web services requests per account by service tier, so Spark queues and retries rather than failing the run
Set it up in 5 steps
- In NetSuite, create an integration record (Setup, Integration, Manage Integrations, New) named Spark. Tick Client Credentials (machine to machine) and the REST Web Services scope, untick everything else, and save. Copy the client ID.
- Make a certificate: run "openssl req -x509 -newkey rsa:3072 -keyout spark.key -out spark.pem -days 730 -nodes -subj /CN=spark" on your computer.
- In NetSuite, open Setup, Integration, OAuth 2.0 Client Credentials (M2M) Setup. Create a mapping for a role with read-only access to the records you need (and, for the writes you tick in Spark, create access to journal entries or edit access to customers, vendors and segments), the Spark integration, and upload spark.pem. Copy the certificate ID.
- In Spark, add a NetSuite Spark. Enter your account ID as it appears in your NetSuite address (for example 1234567 or 1234567-sb1), then paste the client ID, the certificate ID and the contents of spark.key.
- Spark keeps them in your company's own vault and reads your subsidiaries to check they work. Delete spark.key from your computer afterwards.
Optional permissions
Ticked when you add the Spark, and off unless marked default.
- Create journal entries for approval: Entries wait for approval in NetSuite. The Spark role needs create access to journal entries.
- Post journal entries: Entries Spark writes are approved and post at once. Tick only if that is what you want.
- Create and update customers, vendors and segments: The Spark role needs edit access to them.
Everything Spark reads from NetSuite
- GL account
- Accounting period (month, quarter or year)
- Class (a segment)
- Consolidation rate between subsidiaries for a period
- Currency
- Exchange rate on a date
- Customer
- Department (a segment)
- Employee record
- Item (inventory, service, other charge)
- Location (a segment)
- Subsidiary (legal entity)
- Payment term
- Transaction header: invoices, bills, journals, payments and every other type
- Transaction line, with its segments
- Posting to a GL account, per accounting book (the general ledger)
- Vendor
- Any SuiteQL query you write: 1 row per result
- External ids of journal entries, so Spark writes each journal once
What Spark writes
- Creates 1 journal entry per external id, 1 row per line, not approved: it waits on Approve Journal Entries and posts nothing until approved. Needs Require Approvals on Journal Entries turned on in NetSuite; without it NetSuite posts journals as they are created.
- Creates 1 journal entry per external id, 1 row per line, approved, so it posts at once.
- Creates or updates customers, vendors, departments, classes or locations by external id. Every other column is set as a field of the same name.
Example Circuit: NetSuite actuals into Pigment
Each mapping is written in Excel syntax, so finance can read and change it.
- Period:
=TEXT([Posting Period End],"yyyy-mm"), the plan's month - Account:
=XLOOKUP([Account Number],AcctMap[NetSuite],AcctMap[Pigment]), the plan account - Subsidiary:
=XLOOKUP([Subsidiary],EntityMap[NetSuite],EntityMap[Pigment]), the plan entity - Amount:
=[Debit]-[Credit], a signed amount
Checks to set on this feed
- Row count and column totals tied out against the source after every load (trial balance by subsidiary and period)
- Fail the run if any account has no mapping, so nothing lands in Unassigned
- Freshness: alert if no new GL lines arrive during close