NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Purchase Order → Transform to itemReceipt

AI-generated

Summary

Transform an existing Purchase Order to an Item Receipt in NetSuite by specifying the Purchase Order's internal identifier and optional additional details for the resulting Item Receipt.

Inputs

  • Id (required) — The internal identifier of the Purchase Order to be transformed.
  • Additional Fields — Optional fields to customize the Item Receipt, such as date, memo, location, entity, subsidiary, currency, and detailed item lines with quantities and other attributes.
  • Debug Mode — Whether to include full request and response information in the output for debugging purposes.

Output shape

a single record representing the created Item Receipt or detailed request/response objects if debug mode is enabled

The output includes either the standard Item Receipt data returned by NetSuite after transformation or full HTTP request and response details if Debug Mode is enabled. The operation requires the Purchase Order ID and allows specifying many optional fields to override or supplement the receipt data.

Examples

Example 1: Basic Purchase Order transformation

Provide the Purchase Order internal ID. Optionally set the transaction date and memo in Additional Fields. Leave Debug Mode disabled for standard output.

Example 2: Detailed Item Receipt with debug info

Supply Purchase Order ID with multiple detailed item lines and accounting book details. Enable Debug Mode to view HTTP request and response details for troubleshooting.

Discussion