NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Credit Memo → Insert record

AI-generated

Summary

Insert a new Credit Memo record into NetSuite via POST /creditMemo.

Inputs

  • isDebugMode — Whether to include full request and response info in the output. Defaults to false.
  • authMethod — Authentication method for the NetSuite API request. Options: OAuth1 (default), OAuth2.
  • tranDate — Date of the credit memo. NetSuite inserts today's date by default.
  • entity — Customer or entity associated with the credit memo. Requires internal identifier or external identifier.
  • currency — Currency for the credit memo. Requires internal identifier or external identifier.
  • tranId — Credit memo number. NetSuite auto-increments the largest existing number by one; can be overridden.
  • memo — Optional memo or description for the credit memo.
  • externalId — External identifier for the credit memo, used for integration and deduplication.
  • customForm — Optional custom form assigned to the credit memo.
  • department — Optional department associated with the credit memo.
  • class — Optional class assigned to the credit memo.
  • subsidiary — Optional subsidiary associated with the credit memo.
  • message — Optional customer message that appears on the credit memo form.
  • toBeEmailed — If true, the credit memo will be emailed. Requires an email address entry.
  • toBePrinted — If true, the credit memo is added to the print queue.
  • toBeFaxed — If true, the credit memo is faxed. Requires fax service setup at Setup > Company > Printing, Fax and Email Preferences.
  • exchangeRate — Currency exchange rate for the transaction.
  • discountAmount — Discount amount applied to the credit memo.
  • discountTotal — Total discount amount entered by NetSuite.
  • total — Total computed by NetSuite (items + tax). Populated by NetSuite; read-only output.
  • apply — Optional collection for applying payments to outstanding transactions. Items include due date, amount, currency, date, and document references.
  • billAddress — Billing address. Includes address lines, city, state, zip, country, addressee, attention, and phone.
  • shipAddress — Shipping address. Structure similar to billAddress.
  • item — Line item for the credit memo. Supports multiple items via typeOptions.multipleValues.
  • customFields — Custom field values to populate on the credit memo. Each entry has a field name (selectable from NetSuite lists) and a value.

Output shape

The newly created Credit Memo record with its internal NetSuite ID and all populated field values. When isDebugMode is true, full request and response details are included in the workflow item's output.

The operation consumes the provided parameters and sends them as the request body to the NetSuite REST API endpoint POST /creditMemo. Authentication is handled per the selected authMethod.

Links

Discussion