KosmoKrator

other

Netsuite CLI for Headless Automation

Use the Netsuite CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 6 read 1 write Manual OAuth token auth

Netsuite CLI for Headless Automation

Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.

Use headless automation when another tool needs a stable local command surface. The Netsuite CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Netsuite CLI for Headless Automation
kosmokrator integrations:configure netsuite --set access_token="$NETSUITE_ACCESS_TOKEN" --set url="$NETSUITE_URL" --enable --read allow --write ask --json
kosmo integrations:call netsuite.netsuite_list_customers '{"limit":1,"offset":1}' --json

Discovery Before Execution

Agents and scripts can inspect Netsuite docs and schemas before choosing a function.

kosmo integrations:docs netsuite --json
kosmo integrations:docs netsuite.netsuite_list_customers --json
kosmo integrations:schema netsuite.netsuite_list_customers --json
kosmo integrations:search "Netsuite" --json
kosmo integrations:list --json

Useful Netsuite CLI Functions

FunctionTypeParametersDescription
netsuite.netsuite_list_customers Read limit, offset List customers from NetSuite ERP. Returns customer records with names, IDs, and basic details. Use limit and offset for pagination.
netsuite.netsuite_get_customer Read id Get detailed information for a single NetSuite customer by internal ID. Returns full customer record including contact details, addresses, and financial information.
netsuite.netsuite_create_customer Write companyname, firstname, lastname, email, phone, subsidiary, entitystatus, currency, terms, addressbook Create a new customer in NetSuite ERP. Provide at minimum the company name or first/last name. Additional fields like email, phone, subsidiary, and address can be included.
netsuite.netsuite_list_invoices Read limit, offset List invoices from NetSuite ERP. Returns invoice records with amounts, statuses, customer references, and dates. Use limit and offset for pagination.
netsuite.netsuite_list_sales_orders Read limit, offset List sales orders from NetSuite ERP. Returns sales order records with order details, line items, customer references, and statuses. Use limit and offset for pagination.
netsuite.netsuite_list_items Read limit, offset List items (products and services) from NetSuite ERP. Returns item records with names, IDs, types, and pricing. Use limit and offset for pagination.
netsuite.netsuite_get_current_user Read none Get the profile of the currently authenticated NetSuite user. Returns user details like name, email, role, and subsidiary.

Automation Notes

Related Netsuite CLI Pages