NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Deposit → Insert record

AI-generated

Summary

Create a deposit transaction in NetSuite via POST /deposit.

Inputs

  • isDebugMode — Whether to include full request and response info in the output
  • authMethod — Authentication method for NetSuite API; defaults to OAuth1
  • total — Total amount of the deposit
  • tranDate — Posting date for the deposit; NetSuite inserts today's date by default
  • memo — Memo that will appear as a description for this deposit transaction on reports
  • externalId — External identifier for the deposit
  • subsidiary — Subsidiary internal or external identifier
  • class — Class internal or external identifier
  • department — Department internal or external identifier
  • currency — Currency internal or external identifier
  • X-NetSuite-Idempotency-Key — Unique idempotency key for asynchronous requests; UUID per RFC 4122
  • customFields — List of custom fields to set on the deposit record

Output shape

The created deposit record with system-assigned fields such as tranId (deposit number), id (internal ID), and posting period details.

Returned data reflects NetSuite's response; idempotency key ensures single execution for asynchronous requests.

Examples

Example 1: Insert a deposit with total amount, posting date, and memo

Set total to the deposit amount, tranDate to the desired posting date, and memo to the transaction description. Authentication defaults to OAuth1.

Links

Discussion