NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Deposit → Insert or update record

AI-generated

Summary

Updates a NetSuite deposit record identified by id. If the record exists, specified fields are updated; otherwise, a new deposit record is created. The operation accepts deposit-specific fields such as amount, date, currency, memo, and related sublists.

Inputs

  • id (required) — External identifier.
  • isDebugMode — Whether to include full request and response info in the output
  • authMethod — Authentication Method
  • total — This field displays the total amount of payments, other deposits, and cash back selected or entered on the Deposits subtab.
  • tranDate — NetSuite inserts today's date for the posting date of this deposit. You can type or pick another date. What you enter here determines the date range in which this transaction appears on the Bank register. You can select or enter custom date ranges on registers.
  • memo — This is the memo that will appear as a description for this deposit transaction on reports. If you want, enter a memo.
  • externalId — External identifier.
  • currencyPrecision — The currency's exchange rate is shown in this field. If the bank account's currency is the same as the subsidiary's base currency, the exchange rate is a read-only field.
  • customForm — Custom Form
  • postingPeriod — Posting Period
  • 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.
  • subsidiary — Subsidiary
  • X-NetSuite-Idempotency-Key — A user-defined unique idempotency key that is applied to every asynchronous requests to ensure that the request is executed only once. Only one request can be executed with every unique idempotency key. Use UUID in string format as defined by RFC 4122.
  • X-NetSuite-PropertyNameValidation — Sets the strictness of property name validation.
  • X-NetSuite-PropertyValueValidation — Sets the strictness of property value validation.
  • customFields — List of Custom Fields

Output shape

The NetSuite API response for the deposit insert or update operation. If isDebugMode is enabled, the full request and response details are included in the output; otherwise, the deposit record with populated fields is returned.

Side effects include creating or updating a deposit record in NetSuite, which may trigger associated accounting entries and update the bank register based on the provided fields and subsidiary configuration.

Examples

Example 1: Update an existing deposit's total amount and memo.

Set id to the deposit's external identifier, total to the new amount, and memo to the description text.

Links

Discussion