NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Invoice → Transform to creditMemo

AI-generated

Summary

Transforms a NetSuite Invoice into a Credit Memo by calling the NetSuite REST endpoint POST /invoice/{id}/!transform/creditMemo, optionally setting additional fields on the resulting credit memo.

Inputs

  • main — Incoming workflow data. The node does not read specific fields from this data; the Invoice ID is taken from the node's 'Id' parameter (which can reference incoming data via expressions).

Output shape

main

Returns the created Credit Memo record from NetSuite. If Debug Mode is enabled, the output also includes the request and response details under 'request' and 'response' properties.

Examples

Example 1: Create a Credit Memo from an Invoice

Set the 'Id' parameter to the Invoice's internal ID (e.g., {{$json[“id”]}}). Optionally fill in fields such as 'tranId' (Credit #), 'entity' (customer), 'tranDate', 'amount', etc., via the Additional Fields section.

Discussion