NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Adv Intercompany Journal Entry → Update record

AI-generated

Summary

Patch an existing advanced intercompany journal entry in NetSuite by internal identifier. Only fields provided in the request body are updated.

Inputs

  • id (required) — Internal identifier of the journal entry to update. Required for the PATCH request to /advIntercompanyJournalEntry/{id}.
  • authMethod — Authentication method for the API request. Defaults to OAuth1. Options: OAuth1, OAuth2.
  • isDebugMode — Whether to include full request and response information in the output. Default: false.
  • approved — Check to post the journal entry immediately. If unchecked, the entry must be approved before posting.
  • reversalDefer — Check to make the reversal a memorized transaction that automatically occurs on the entered reversal date. If cleared, the reversal is entered immediately.
  • reversalDate — Date for the reversing entry to be posted. Mandatory if reversal is intended and Defer Entry is checked.
  • X-NetSuite-Idempotency-Key — A user-defined unique idempotency key (RFC 4122 UUID format) ensuring the request executes only once. Ignored for synchronous requests.
  • replace — Comma-delimited names of sublists on the record. All lines on the named sublists will be replaced with those specified in the request.
  • replaceSelectedFields — If true, all fields to be deleted during the update must be included in the 'replace' query parameter.
  • customFields — Fixed collection of custom field name-value pairs to set on the record. Each entry specifies a field name (required, with load options) and a value matching the selected field type (boolean, dateTime, number, string, or multi-select).

Output shape

NetSuite record response containing the updated Adv Intercompany Journal Entry fields. Includes standard NetSuite fields and any custom fields set in the request.

The response reflects the state of the record after the PATCH operation. Debug mode includes full request/response details when enabled.

Examples

Example 1: Update the approval status and post the journal entry immediately.

Set 'id' to the target entry's internal identifier and set 'approved' to true.

Example 2: Create a reversal of a posted journal entry with a specific posting date.

Set 'id' to the original entry, check 'reversalDefer', and provide a 'reversalDate' value.

Links

Discussion