NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Billing Revenue Event → Insert or update record

AI-generated

Summary

Inserts or updates a NetSuite Billing Revenue Event record identified by the required 'Id' parameter using a PUT request to /billingRevenueEvent/{id}. The operation allows setting standard fields (amount, date, event purpose/type, quantity, etc.), custom fields, and optional controls for replace behavior, idempotency, asynchronous execution, and property validation. When debug mode is enabled, the full request and response details are included in the output.

Inputs

  • Id (required) — External identifier of the billing revenue event to insert or update. Used as the {id} path parameter.
  • Amount (Transaction Currency) — Total revenue amount included in this revenue recognition plan.
  • Cumulative Percent Complete — Enter a value when the Amount Source for the associated revenue recognition rule is Event‑Percent Complete.
  • Custom Form — Select a custom form for the record.
  • Date — Date for the revenue recognition event.
  • Event Purpose — Purpose of the event (e.g., FORECAST, ACTUAL).
  • Event Type — Type of the event.
  • External ID — External identifier for the record.
  • Internal ID — Internal NetSuite identifier for the record.
  • Quantity — Quantity when the Amount Source is Event‑Percent based on quantity.
  • Transaction Line — Select a transaction line as the sales contract source.
  • Replace — Comma‑delimited list of sublists whose lines should be replaced.
  • Replace Selected Fields — If true, all fields to be deleted in the update must be included in the 'replace' query parameter.
  • Prefer — Set to 'respond-async' to execute the request asynchronously.
  • X-NetSuite-Idempotency-Key — User‑defined unique idempotency key for asynchronous requests (UUID format).
  • X-NetSuite-PropertyNameValidation — Strictness of property name validation.
  • X-NetSuite-PropertyValueValidation — Strictness of property value validation.
  • Custom Fields — Collection of custom fields to set on the record. Each field requires a Field Name (selected via loadOptions), Field Type, and a Value matching the type.

Output shape

object

Returns the NetSuite API response body for the inserted/updated billing revenue event. If debug mode is true, the output also includes the full request and response details.

Examples

Example 1: Update an existing billing revenue event

Set Id to the external ID of the event, provide Amount, Date, Event Purpose, and any custom fields, then execute.

Links

Discussion