NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Adv Intercompany Journal Entry → Insert or update record

AI-generated

Summary

Upserts an Adv Intercompany Journal Entry in NetSuite via PUT /advIntercompanyJournalEntry/{id}. The record's external or internal identifier must be provided in the 'id' parameter. Optional parameters populate corresponding NetSuite fields, including subsidiary, department, currency, custom form, memo, reversal and posting settings, line items, and approval status. Authentication is determined by the 'authMethod' parameter (OAuth1 or OAuth2).

Inputs

  • id (required) — External identifier. Maps to the URL path parameter.
  • isDebugMode — Whether to include full request and response info in the output
  • authMethod — Authentication method for the API request
  • replace — The names of sublists on this record. All sublist lines will be replaced with lines specified in the request.
  • replaceSelectedFields — If set to 'true', all fields that should be deleted in the update request, including body fields, must be included in the 'replace' query parameter.
  • isReversal — Check this box to indicate that this journal entry is approved. If checked, this journal entry will post immediately.
  • reversalDate — If this journal entry is intended to be reversed, enter the date for the reversing entry to be posted. Mandatory if Defer Entry is checked.
  • tranDate — NetSuite inserts today's date as the date of this journal entry. Another date can be entered or selected.
  • tranId — Entry No. NetSuite increases the largest journal entry number by one. Another number can be typed; the next entry number will revert to the standard pattern. Maximum 45 characters.
  • memo — A memo to describe this journal entry. It will appear on this transaction detail as well as reports such as a 2-line account register.
  • subsidiary — Subsidiary internal or external identifier.
  • department — Department internal or external identifier.
  • currency — Currency internal or external identifier.
  • customForm — Custom Form internal identifier. Predefined values include 214, 170, 171.
  • approved — Check this box to indicate that this journal entry is approved. If checked, this journal entry will post immediately.
  • line — Line items for the journal entry. Sublist lines are replaced based on the 'replace' parameter.

Output shape

NetSuite API response confirming the created or updated Adv Intercompany Journal Entry record.

The response includes the record's internal ID, external ID (if set), and other populated fields as returned by NetSuite.

Examples

Example 1: Update an existing Adv Intercompany Journal Entry by external ID

Set 'id' to the external identifier, optionally set 'subsidiary', 'department', 'currency', 'memo', 'approved', and 'line' items. Leave other parameters at defaults.

Links

Discussion