NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Invoice → Insert or update record

AI-generated

Summary

Upserts a NetSuite Invoice record using the external identifier. If an invoice with the given external ID exists, it is updated; otherwise a new invoice is created.

Inputs

  • main — The node does not require input data; it uses its parameter values to build the request.

Output shape

main

Returns the NetSuite API response for the created or updated invoice. When Debug Mode is enabled, the response includes the full request and response details.

Examples

Example 1: Create a new invoice

Set Id to the desired external identifier (e.g., 'EXT-123'), fill in fields like tranDate, entity, item lines, etc., and leave Debug Mode off.

Example 2: Update an existing invoice

Provide the existing invoice's external identifier in Id, change any fields you wish to update, and run the node.

Discussion