NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Charge → Insert or update record

AI-generated

Summary

Updates or inserts a NetSuite charge record identified by its external ID.

Inputs

  • id (required) — External identifier of the charge record.
  • isDebugMode — Whether to include full request and response info in the output. Default: false.
  • authMethod — Authentication method. Default: OAuth1. Options: OAuth1, OAuth2.
  • additionalFields — Group of charge properties: amount, billDate, billTo, billingMode, billingSchedule, chargeEmployee, runId, chargeType, class, creditMemo, creditMemoLine, currency, customForm, chargeDate, createdDate, department, description, discountAmount, externalId, groupOrder, invoice, invoiceLine, lastModifiedDate, location, memo, Prefer, projectTask, quantity, rate, replace, replaceSelectedFields, rule, salesOrder, salesOrderLine, serviceEndDate, serviceStartDate, stage, subsidiary, timeRecord, transaction, transactionLine, units, use.

Output shape

The updated NetSuite charge record.

Authentication is required via OAuth1 or OAuth2. The id parameter is required as the external identifier for the PUT request to /charge/{id}. Custom fields can be set via the customFields fixed collection if needed.

Examples

Example 1: Insert or update a charge record with amount and bill date.

Set id to the charge's external ID, additionalFields.amount to the charge amount, and additionalFields.billDate to the bill date. Auth method defaults to OAuth1.

Links

Discussion