NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Job → Transform to invoice

AI-generated

Summary

Transform a Job record into an Invoice in NetSuite by specifying the Job's internal identifier and optional invoice details.

Inputs

  • Id (required) — The internal identifier of the Job record to transform into an invoice.
  • Additional Fields — Optional fields to specify detailed invoice information such as accounts, billing and shipping addresses, items, currency, dates, discounts, and other invoice-specific settings.
  • Debug Mode — Enable to include detailed request and response information in the output for debugging purposes.

Output shape

The operation returns the result of the invoice transformation, including any response data from NetSuite. If Debug Mode is enabled, full request and response details are included.

The operation requires the Job record's internal ID. Optional invoice fields may be provided via Additional Fields to customize the resulting invoice. Responses may include asynchronous execution headers if the 'Prefer' header is used. Output conforms to NetSuite's REST API response format.

Examples

Example 1: Transform a Job with ID 12345 into an invoice with default settings.

Set 'Id' to 12345, leave Additional Fields empty, and keep Debug Mode disabled.

Example 2: Transform a Job into an invoice while specifying billing address and line items.

Set 'Id' to the Job's internal ID, fill in relevant Additional Fields such as 'billingAddress' and 'item' to define invoice details, optionally enable Debug Mode to capture detailed request/response.

Discussion