netsuite_create_journal_entry
Create a NetSuite journal entry with debit/credit lines and optional dimensions like department, location, and class. Specify subsidiary, transaction date, and line items.
Instructions
Create a new NetSuite journal entry with debit/credit lines. Required parameters: subsidiary (string), tranDate (string, YYYY-MM-DD). Optional: memo, externalId (for idempotence), line (array with account, debit, credit, department, location, class, memo, entity)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | Journal lines: [{ account, debit?, credit?, memo?, department?, location?, class?, entity? }] | |
| memo | No | ||
| dryRun | No | If true, return the NS request body without calling NS (debug mode) | |
| tranDate | Yes | Date YYYY-MM-DD | |
| externalId | No | ||
| subsidiary | Yes | Subsidiary internal ID |