Bodega

Skills › Contabilidad

NetSuite Automation

NetSuite Automation: manage customers, sales orders, invoices, inventory, and records via Oracle NetSuite ERP with SuiteQL queries

Su licencia no permite redistribuirla aquí.Ver en GitHub
Departamento
Contabilidad
Fuente
Comunidad · ComposioHQ/awesome-claude-skills
Autor
Composio
Licencia
Sin licencia declarada
Idioma
Inglés
Nivel
Intermedio. Requiere conectar Rube (Composio) y autorizar la aplicación que automatiza.

Cómo usarla

Pídale a Claude, por ejemplo:

Seguridad

Riesgo Bajo.

Cómo instalarla en Claude

  1. Descargue el .zip de la skill y no lo descomprima.
  2. En Claude: Configuración › Capacidades › active «Crear y editar archivos» (solo la primera vez).
  3. Personalizar › Skills › + › Crear skill › Subir una skill › elija el .zip.
  4. Verifique que el interruptor de la skill quede encendido y pruébela en un chat nuevo.

Instrucciones completas (SKILL.md)

NetSuite Automation

Automate Oracle NetSuite ERP operations including creating customers and sales orders, running SuiteQL queries, upserting records by external ID, and inspecting record metadata for comprehensive business management.

Toolkit docs: [composio.dev/toolkits/netsuite](https://composio.dev/toolkits/netsuite)

---

Setup

This skill requires the Rube MCP server connected at https://rube.app/mcp.

Before executing any tools, ensure an active connection exists for the netsuite toolkit. If no connection is active, initiate one via RUBE_MANAGE_CONNECTIONS.

---

Core Workflows

1. Create Sales Orders

Create customer orders with line items including item references, quantities, and pricing.

Tool: NETSUITE_CREATE_SALES_ORDER

Key Parameters:

Example:

Tool: NETSUITE_CREATE_SALES_ORDER
Arguments:
  entity: {"id": "1234"}
  item: {
    "items": [
      {"item": {"id": "56"}, "quantity": 10, "rate": 25.00},
      {"item": {"id": "78"}, "quantity": 5, "rate": 50.00}
    ]
  }
  tranDate: "2026-02-11"
  memo: "Q1 bulk order"
  orderStatus: "B"

---

2. Run SuiteQL Queries

Execute ad-hoc SQL queries against NetSuite data with server-side paging.

Tool: NETSUITE_RUN_SUITEQL_QUERY

Key Parameters:

Examples:

Tool: NETSUITE_RUN_SUITEQL_QUERY
Arguments:
  q: "SELECT id, companyname, email FROM customer WHERE isinactive = 'F' ORDER BY companyname"
  limit: 100
  offset: 0
Tool: NETSUITE_RUN_SUITEQL_QUERY
Arguments:
  q: "SELECT id, entitystatus, total FROM transaction WHERE type = 'SalesOrd' AND trandate >= '2026-01-01'"
  limit: 50

---

3. Create and Manage Customers

Create new customer records with subsidiary assignment and contact details.

Tools:

Key Parameters for NETSUITE_CREATE_CUSTOMER:

Example:

Tool: NETSUITE_CREATE_CUSTOMER
Arguments:
  body: {
    "companyName": "Acme Corp",
    "subsidiary": {"id": "1"},
    "email": "info@acme.com",
    "phone": "555-0100"
  }

---

4. Upsert Records by External ID

Create or update records idempotently using an external identifier. Essential for sync workflows.

Tool: NETSUITE_UPSERT_RECORD_BY_EXTERNAL_ID

Key Parameters:

Example:

Tool: NETSUITE_UPSERT_RECORD_BY_EXTERNAL_ID
Arguments:
  record_type: "customer"
  external_id: "CRM-CUST-42"
  body: {
    "companyName": "Acme Corp",
    "subsidiary": {"id": "1"},
    "email": "updated@acme.com"
  }

> Warning: Idempotency depends on consistent external ID usage. Mismatches silently create additional records instead of updating.

---

5. Inspect Record Metadata

Discover available fields, data types, constraints, and requirements before creating or updating records.

Tool: NETSUITE_GET_RECORD_METADATA

Key Parameters:

Example:

Tool: NETSUITE_GET_RECORD_METADATA
Arguments:
  record_type: "salesorder"

---

6. List and Filter Records

Retrieve multiple records with optional filtering and pagination.

Tool: NETSUITE_LIST_RECORDS

Key Parameters:

Supporting Tools:

---

Recommended Execution Plan

---

Known Pitfalls

| Pitfall | Detail | |---------|--------| | Invalid item IDs | NETSUITE_CREATE_SALES_ORDER throws USER_ERROR when item internal ID is invalid. Pre-validate via NETSUITE_LIST_RECORDS or NETSUITE_RUN_SUITEQL_QUERY. | | Missing required fields | NETSUITE_CREATE_CUSTOMER returns 400 when required fields (e.g., subsidiary) are missing. Always inspect with NETSUITE_GET_RECORD_METADATA first. | | SuiteQL field names | Query differences by account can cause empty results. Confirm field names via NETSUITE_GET_RECORD_METADATA when results look wrong. | | Filter expression limits | NETSUITE_FILTER_RECORD_COLLECTION may fail if filter syntax is unsupported. Treat as secondary to SuiteQL. | | External ID idempotency | NETSUITE_UPSERT_RECORD_BY_EXTERNAL_ID depends on consistent external IDs. Mismatches silently create duplicates instead of updating. | | SuiteTax line items | Accounts with SuiteTax enabled require taxcode on every line item. Omitting it causes creation failures. |

---

Quick Reference

| Tool Slug | Description | |-----------|-------------| | NETSUITE_CREATE_SALES_ORDER | Create a new sales order with line items | | NETSUITE_RUN_SUITEQL_QUERY | Execute ad-hoc SuiteQL queries with paging | | NETSUITE_CREATE_CUSTOMER | Create a new customer record | | NETSUITE_GET_CUSTOMER | Retrieve a customer by internal ID | | NETSUITE_UPDATE_CUSTOMER | Update an existing customer (PATCH) | | NETSUITE_UPSERT_RECORD_BY_EXTERNAL_ID | Create or update a record by external ID | | NETSUITE_GET_RECORD_METADATA | Inspect record schema and field definitions | | NETSUITE_LIST_RECORDS | List records with filtering and pagination | | NETSUITE_FILTER_RECORD_COLLECTION | Alternative record filtering | | NETSUITE_GET_RECORD_SELECTED_FIELDS | Retrieve specific fields from a record |

---

*Powered by [Composio](https://composio.dev)*