NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Credit Card Charge → Insert record

AI-generated

Summary

Insert a new Credit Card Charge record into NetSuite

Inputs

  • isDebugMode — Whether to include full request and response info in the output
  • authMethod — Authentication method; default is OAuth1
  • userTotal — Dollar amount of the transaction; credits appear as positive numbers for Credit
  • total —
  • tranDate — Posting date; NetSuite inserts today's date by default; determines date range on Credit Card Register
  • memo — Memo that will appear as a description for this credit card transaction on reports
  • tranId — Transaction number from your credit card transaction; maximum 45 characters
  • currency — Internal or external identifier of the currency
  • subsidiary — Internal or external identifier of the subsidiary
  • externalId — External identifier for the record
  • id — Internal identifier
  • class — Internal or external identifier of the class
  • department — Internal or external identifier of the department
  • entity — Internal or external identifier of the entity
  • exchangeRate — NetSuite displays the currency's exchange rate in this field; can be edited for this transaction
  • customFields — List of custom fields with field name, type, and value
  • Prefer — Use 'respond-async' to execute the request asynchronously
  • X-NetSuite-Idempotency-Key — A user-defined unique idempotency key per RFC 4122; ensures request executes only once
  • X-NetSuite-PropertyNameValidation — Sets strictness of property name validation
  • X-NetSuite-PropertyValueValidation — Sets strictness of property value validation
  • replace — Names of sublists on this record; all sublist lines will be replaced with lines specified in the request

Output shape

The created Credit Card Charge record object from NetSuite, including internal ID, external ID, and assigned field values

All parameters are optional per their declared defaults; core fields (tranId, tranDate, userTotal, currency, subsidiary) typically define the transaction record.

Links

Discussion