Customer Payment

When a customer makes a payment, record the payment and apply it to the appropriate invoice or cash sale. Applying a payment decreases the amount due and tracks income.

For help working with this record in the UI, see Customer Payments.

The internal ID for this record is customerpayment.

See the SuiteScript Records Browser for all internal IDs associated with this record.

Note:

For information about using the SuiteScript Records Browser, see Working with the SuiteScript Records Browser in the NetSuite Help Center.

Important:

When the apply sublist appears on the customer payment record, the Apply subtab is visible, however, all apply sublist data appears on a subtab called Invoice. Also, note that the UI label for the Amt. Due (due) field can also appear as Amount Remaining.

For information about scripting with this record in SuiteScript, see the following help topics:

Supported Script Types

The customer payment record is scriptable in server SuiteScript only.

Supported Functions

The customer payment record is partially scriptable — it can be updated, deleted, and searched using SuiteScript. It cannot be created or copied.

Usage Notes

The following table provides usage notes for specific fields on this record.

Field Internal ID

Field UI Label

Note

Body Fields

ccnumber

Credit Card #

To prevent users from accessing sensitive information such as password and credit card data, this field cannot be read in beforeSubmit user event scripts for external role users (for example, shoppers, online form users (anonymous users), customer center).

isrecurringpayment

Recurring Payment

A value for this field is stored only if the value for paymentmethod is a credit card.

The Deposits sublist is a list sublist.

Related Topics

General Notices