Netsuite
Apps & AutomationnetsuiteNetsuite is an Agent Skill for apps & automation published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Query NetSuite ERP — records, saved searches, and SuiteQL via the REST API.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/integration/netsuite/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/netsuite, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
NetSuite
Query records and run SuiteQL queries via the NetSuite REST API.
Environment Variables
NETSUITE_ACCOUNT_ID- Account ID (e.g.1234567)NETSUITE_TOKEN_ID- Token-based auth token IDNETSUITE_TOKEN_SECRET- Token-based auth token secret
SuiteQL query
curl -s -X POST \
"https://$NETSUITE_ACCOUNT_ID.suitetalk.api.netsuite.com/services/rest/query/v1/suiteql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $NETSUITE_TOKEN_SECRET" \
-H "prefer: transient" \
-d '{"q":"SELECT id, companyname, email FROM customer WHERE rownum <= 10"}' | jq '.items[]'
List invoices
curl -s -X POST \
"https://$NETSUITE_ACCOUNT_ID.suitetalk.api.netsuite.com/services/rest/query/v1/suiteql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $NETSUITE_TOKEN_SECRET" \
-H "prefer: transient" \
-d '{"q":"SELECT id, tranid, entity, total, status FROM transaction WHERE type = '\''CustInvc'\'' AND rownum <= 10"}' | jq '.items[]'
Get record
curl -s \
"https://$NETSUITE_ACCOUNT_ID.suitetalk.api.netsuite.com/services/rest/record/v1/customer/CUSTOMER_ID" \
-H "Authorization: Bearer $NETSUITE_TOKEN_SECRET" | jq '{id, companyName, email, phone}'
Notes
- Token-based authentication used. OAuth 1.0 may be required for some setups.
- Always confirm before creating or modifying records.