NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Journal Entry → Insert or update record

AI-generated

Summary

Insert or update a Journal Entry record in NetSuite by specifying its internal ID and additional fields. Configure detailed journal entry data including lines, subsidiaries, currency, approval status, custom fields, and more.

Inputs

  • id (required) — Internal identifier of the journal entry to update.
  • additionalFields — Flexible collection of journal entry properties such as accounting book, approved status, class, created from, currency, custom form, dates, department, lines, location, memo, posting period, reversal options, subsidiary details, void status, and other relevant journal entry details.
  • customFields — List of custom fields with specified names, types, and values to set on the journal entry.
  • isDebugMode — Enable to include full request and response details in the output for debugging.
  • authMethod — Authentication method to use when making the API request (OAuth1 or OAuth2).

Output shape

a JSON object representing the inserted or updated journal entry record response from NetSuite, optionally including debug information if enabled.

The operation replaces or inserts the record at the specified internal ID. The 'additionalFields' collection allows setting complex nested structures reflecting NetSuite's journal entry format. Debug mode adds full HTTP request/response info to the output. Custom fields must specify correct types and values. Errors or validation issues will be returned by NetSuite's REST API accordingly.

Links

Discussion