Oracle NetSuite integration · key: netsuite
Oracle NetSuite SuiteTalk REST and SuiteQL integration
AccountingKit integrates directly with Oracle NetSuite via SuiteTalk REST Web Services v1 and SuiteQL using mandatory S256 OAuth 2.0 PKCE, supporting subsidiaries, customers, vendors, accounts, invoices, customer payments, purchase orders, credit memos, and estimates on every self-serve plan without an enterprise quote.
Capability summary
| Authentication | NetSuite OAuth 2.0 Authorization Code Grant with mandatory S256 PKCE, rest_webservices scope, and validated account-specific URLs. |
|---|---|
| Webhooks | NetSuite REST has no native webhook engine; AccountingKit reconciles via scheduled and on-demand incremental SuiteQL sync. |
| Attachments | Not exposed in v1. Attachment endpoints return 400 with details.reason provider_unsupported. |
| Financial reports | Profit and Loss is not exposed as a native NetSuite REST endpoint (provider_unsupported). |
| Provider actions | Standard CRUD and idempotent writes; PDFs, online URLs, and deep links are not exposed in v1. |
| Synchronization | Incremental SuiteQL pagination on lastmodifieddate with Prefer: transient, including inactive records. |
Key capabilities
Included on every self-serve tier
Unlike unified APIs that gate NetSuite behind custom enterprise contracts, AccountingKit includes Oracle NetSuite on Free, Indie, Starter, Growth, and Scale.
Mandatory S256 PKCE and OneWorld subsidiary picker
Sends S256 code_challenge/code_verifier as required by NetSuite 2026.2+, validates account-specific hostnames strictly, and lets OneWorld users pick a subsidiary.
Native external-ID idempotency and explicit dimensions
Creates use SuiteTalk REST PUT eid:<external_reference> for native idempotency and accept subsidiary_id, location_id, department_id, class_id, item_id, and expense_account_id.
Concurrency-limit aware retries
Translates NetSuite 429 CONCURRENCY_LIMIT_EXCEEDED responses into structured 429 RATE_LIMITED errors and backs off durable worker retries automatically.
Supported resources and operations
| Normalized resource | Oracle NetSuite object | Read | Write | Notes |
|---|---|---|---|---|
| Organizations | subsidiary | Yes | Read-only | Automatic on single-subsidiary accounts; hosted picker on OneWorld. |
| Contacts | customer, vendor | Yes | Yes | Namespaced Customer:<id> and Vendor:<id>. |
| Accounts | account | Yes | Read-only | Includes inactive accounts (isinactive). |
| Invoices | invoice | Yes | Yes | Idempotent PUT eid:<externalId> and PATCH ?replace=item. |
| Payments | customerPayment | Yes | Yes | Applies payment to target invoice via apply sublist. |
| Purchase orders | purchaseOrder | Yes | Yes | Supports item_id or expense_account_id plus dimensions. |
| Credit notes | creditMemo | Yes | Read-only | Read-only normalized creditMemo records. |
| Quotes | estimate | Yes | Yes | Maps cleanly to NetSuite Estimate. |
Example API request
Every write requires an Idempotency-Key header and returns a normalized response shape shared across all six providers. Read the full Oracle NetSuite technical guide for setup steps and field mappings, or validate payloads with our remote MCP server.
curl --request POST "https://api.accountingkit.dev/v1/connections/$CONNECTION_ID/invoices" \
--header "Authorization: Bearer $ACCOUNTINGKIT_API_KEY" \
--header "Idempotency-Key: invoice-order-10042" \
--header "Content-Type: application/json" \
--data '{
"external_reference": "order_10042",
"contact_id": "Customer:42",
"due_date": "2026-12-31",
"line_items": [{"description": "Implementation", "quantity": 1, "unit_amount": 1200}],
"provider_options": {
"netsuite": {"subsidiary_id": "1", "item_id": "86", "location_id": "2", "department_id": "3"}
}
}'Operational details and known limits
Operational behavior
- Sandbox account IDs with underscores (such as 1234567_SB1) normalize automatically to valid NetSuite hostnames (1234567-sb1).
- NetSuite Authorization Code Grant refresh tokens expire after 7 days by default (up to 30 days depending on account settings); expired tokens move the connection to action_required without losing mappings.
- SuiteQL pagination uses deterministic ORDER BY id ASC with Prefer: transient and tracks inactive records via isinactive.
Not supported in this release
- Overpayments, prepayments, tax rates, branding themes, and native Profit and Loss reports return provider_unsupported.
- Native REST invoice voiding via /cancel is unsupported because SuiteTalk REST v1 exposes no /void action.
- Document PDF downloads, online payment URLs, and raw provider_data writes are not part of v1.
Common questions
Does AccountingKit require an enterprise plan for Oracle NetSuite?
No. Oracle NetSuite is generally available on every AccountingKit plan, including the free test environment and the non-expiring Free tier.
Does AccountingKit support NetSuite OneWorld subsidiaries and dimensions?
Yes. OneWorld accounts present a hosted subsidiary picker during connect, and write payloads accept typed subsidiary_id, location_id, department_id, class_id, item_id, and expense_account_id under provider_options.netsuite.
Why does NetSuite use incremental SuiteQL sync instead of webhooks?
NetSuite SuiteTalk REST Web Services v1 does not provide a native REST webhook subscription engine, so AccountingKit reconciles changes via scheduled and on-demand incremental SuiteQL queries on lastmodifieddate.